mirror of https://github.com/ecmwf/eccodes.git
ECC-1298: GRIB2: Open Data parameters (Part 2)
This commit is contained in:
parent
3ebc1a9963
commit
ce5d7482d1
|
@ -1044,12 +1044,13 @@
|
||||||
}
|
}
|
||||||
#Total precipitation
|
#Total precipitation
|
||||||
'tp' = {
|
'tp' = {
|
||||||
|
localTablesVersion = 1 ;
|
||||||
discipline = 0 ;
|
discipline = 0 ;
|
||||||
parameterCategory = 1 ;
|
parameterCategory = 1 ;
|
||||||
parameterNumber = 52 ;
|
parameterNumber = 193 ;
|
||||||
typeOfFirstFixedSurface = 1 ;
|
typeOfFirstFixedSurface = 1 ;
|
||||||
|
typeOfSecondFixedSurface = 255 ;
|
||||||
typeOfStatisticalProcessing = 1 ;
|
typeOfStatisticalProcessing = 1 ;
|
||||||
unitsFactor = 1000 ;
|
|
||||||
}
|
}
|
||||||
#Instantaneous eastward turbulent surface stress
|
#Instantaneous eastward turbulent surface stress
|
||||||
'iews' = {
|
'iews' = {
|
||||||
|
|
|
@ -1044,12 +1044,13 @@
|
||||||
}
|
}
|
||||||
#Total precipitation
|
#Total precipitation
|
||||||
'Total precipitation' = {
|
'Total precipitation' = {
|
||||||
|
localTablesVersion = 1 ;
|
||||||
discipline = 0 ;
|
discipline = 0 ;
|
||||||
parameterCategory = 1 ;
|
parameterCategory = 1 ;
|
||||||
parameterNumber = 52 ;
|
parameterNumber = 193 ;
|
||||||
typeOfFirstFixedSurface = 1 ;
|
typeOfFirstFixedSurface = 1 ;
|
||||||
|
typeOfSecondFixedSurface = 255 ;
|
||||||
typeOfStatisticalProcessing = 1 ;
|
typeOfStatisticalProcessing = 1 ;
|
||||||
unitsFactor = 1000 ;
|
|
||||||
}
|
}
|
||||||
#Instantaneous eastward turbulent surface stress
|
#Instantaneous eastward turbulent surface stress
|
||||||
'Instantaneous eastward turbulent surface stress' = {
|
'Instantaneous eastward turbulent surface stress' = {
|
||||||
|
|
|
@ -1044,12 +1044,13 @@
|
||||||
}
|
}
|
||||||
#Total precipitation
|
#Total precipitation
|
||||||
'228' = {
|
'228' = {
|
||||||
|
localTablesVersion = 1 ;
|
||||||
discipline = 0 ;
|
discipline = 0 ;
|
||||||
parameterCategory = 1 ;
|
parameterCategory = 1 ;
|
||||||
parameterNumber = 52 ;
|
parameterNumber = 193 ;
|
||||||
typeOfFirstFixedSurface = 1 ;
|
typeOfFirstFixedSurface = 1 ;
|
||||||
|
typeOfSecondFixedSurface = 255 ;
|
||||||
typeOfStatisticalProcessing = 1 ;
|
typeOfStatisticalProcessing = 1 ;
|
||||||
unitsFactor = 1000 ;
|
|
||||||
}
|
}
|
||||||
#Instantaneous eastward turbulent surface stress
|
#Instantaneous eastward turbulent surface stress
|
||||||
'229' = {
|
'229' = {
|
||||||
|
|
|
@ -1044,12 +1044,13 @@
|
||||||
}
|
}
|
||||||
#Total precipitation
|
#Total precipitation
|
||||||
'tp' = {
|
'tp' = {
|
||||||
|
localTablesVersion = 1 ;
|
||||||
discipline = 0 ;
|
discipline = 0 ;
|
||||||
parameterCategory = 1 ;
|
parameterCategory = 1 ;
|
||||||
parameterNumber = 52 ;
|
parameterNumber = 193 ;
|
||||||
typeOfFirstFixedSurface = 1 ;
|
typeOfFirstFixedSurface = 1 ;
|
||||||
|
typeOfSecondFixedSurface = 255 ;
|
||||||
typeOfStatisticalProcessing = 1 ;
|
typeOfStatisticalProcessing = 1 ;
|
||||||
unitsFactor = 1000 ;
|
|
||||||
}
|
}
|
||||||
#Instantaneous eastward turbulent surface stress
|
#Instantaneous eastward turbulent surface stress
|
||||||
'iews' = {
|
'iews' = {
|
||||||
|
|
|
@ -1044,12 +1044,13 @@
|
||||||
}
|
}
|
||||||
#Total precipitation
|
#Total precipitation
|
||||||
'm' = {
|
'm' = {
|
||||||
|
localTablesVersion = 1 ;
|
||||||
discipline = 0 ;
|
discipline = 0 ;
|
||||||
parameterCategory = 1 ;
|
parameterCategory = 1 ;
|
||||||
parameterNumber = 52 ;
|
parameterNumber = 193 ;
|
||||||
typeOfFirstFixedSurface = 1 ;
|
typeOfFirstFixedSurface = 1 ;
|
||||||
|
typeOfSecondFixedSurface = 255 ;
|
||||||
typeOfStatisticalProcessing = 1 ;
|
typeOfStatisticalProcessing = 1 ;
|
||||||
unitsFactor = 1000 ;
|
|
||||||
}
|
}
|
||||||
#Instantaneous eastward turbulent surface stress
|
#Instantaneous eastward turbulent surface stress
|
||||||
'N m**-2' = {
|
'N m**-2' = {
|
||||||
|
|
|
@ -50,13 +50,15 @@ do
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "ECC-457 ECMWF total precipitation..."
|
echo "ECC-457,ECC-1298 ECMWF total precipitation..."
|
||||||
# -----------------------------------------
|
# ---------------------------------------------------
|
||||||
input=${data_dir}/tp_ecmwf.grib
|
input=${data_dir}/tp_ecmwf.grib
|
||||||
output=temp.grib1to2.grib
|
output=temp.grib1to2.grib
|
||||||
${tools_dir}/grib_set -s edition=2 $input $output
|
${tools_dir}/grib_set -s edition=2 $input $output
|
||||||
res=`${tools_dir}/grib_get -w count=1 -p edition,paramId,units $output`
|
res=`${tools_dir}/grib_get -w count=1 -p edition,paramId,units $output`
|
||||||
[ "$res" = "2 228228 kg m**-2" ]
|
[ "$res" = "2 228 m" ]
|
||||||
|
res=`${tools_dir}/grib_get -w count=1 -p stepType $output`
|
||||||
|
[ "$res" = "accum" ]
|
||||||
rm -f $output
|
rm -f $output
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue