Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rdosinski committed Oct 11, 2024
1 parent 464ee10 commit d6a2d7d
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 1 deletion.
11 changes: 11 additions & 0 deletions definitions/grib2/local/ecmf/template.4.32768.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# (C) Copyright 2005- ECMWF.

# TEMPLATE 4.32768, Random pattern

include "grib2/templates/template.4.parameter.def"
include "grib2/templates/template.4.generating_process.def"
include "grib2/templates/template.4.forecast_time.def"
include "grib2/templates/template.4.point_in_time.def"
include "grib2/local/ecmf/template.4.randomPatterns.def"
include "grib2/templates/template.4.horizontal.def"
include "grib2/templates/template.4.eps.def"
8 changes: 8 additions & 0 deletions definitions/grib2/local/ecmf/template.4.randomPatterns.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Random patterns - SKEB / SPPT / SPP

unsigned[2] randomPatternNumber : dump;
unsigned[2] totalNumberOfRandomPattern : dump;
unsigned[4] scaledValueOfSpatialScale : dump;
unsigned[1] scaleFactorOfSpatialScale : dump;
unsigned[4] scaledValueOfTemporalScale : dump;
unsigned[1] scaleFactorOfTemporalScale : dump;
7 changes: 7 additions & 0 deletions definitions/grib2/localConcepts/ecmf/name.def
Original file line number Diff line number Diff line change
Expand Up @@ -14015,6 +14015,13 @@
parameterNumber = 212 ;
typeOfFirstFixedSurface = 254 ;
}
#Stochastic Parameter Perturbation (SPP)
'Stochastic Parameter Perturbation (SPP)' = {
localTablesVersion = 1 ;
discipline = 254 ;
parameterCategory = 254 ;
parameterNumber = 215 ;
}
#Surface roughness length for heat
'Surface roughness length for heat' = {
localTablesVersion = 1 ;
Expand Down
7 changes: 7 additions & 0 deletions definitions/grib2/localConcepts/ecmf/paramId.def
Original file line number Diff line number Diff line change
Expand Up @@ -14015,6 +14015,13 @@
parameterNumber = 212 ;
typeOfFirstFixedSurface = 254 ;
}
#Stochastic Parameter Perturbation (SPP)
'213000' = {
localTablesVersion = 1 ;
discipline = 254 ;
parameterCategory = 254 ;
parameterNumber = 215 ;
}
#Surface roughness length for heat
'260651' = {
localTablesVersion = 1 ;
Expand Down
7 changes: 7 additions & 0 deletions definitions/grib2/localConcepts/ecmf/shortName.def
Original file line number Diff line number Diff line change
Expand Up @@ -14015,6 +14015,13 @@
parameterNumber = 212 ;
typeOfFirstFixedSurface = 254 ;
}
#Stochastic Parameter Perturbation (SPP)
'spp' = {
localTablesVersion = 1 ;
discipline = 254 ;
parameterCategory = 254 ;
parameterNumber = 215 ;
}
#Surface roughness length for heat
'srlh' = {
localTablesVersion = 1 ;
Expand Down
7 changes: 7 additions & 0 deletions definitions/grib2/localConcepts/ecmf/units.def
Original file line number Diff line number Diff line change
Expand Up @@ -14015,6 +14015,13 @@
parameterNumber = 212 ;
typeOfFirstFixedSurface = 254 ;
}
#Stochastic Parameter Perturbation (SPP)
'dimensionless' = {
localTablesVersion = 1 ;
discipline = 254 ;
parameterCategory = 254 ;
parameterNumber = 215 ;
}
#Surface roughness length for heat
'm' = {
localTablesVersion = 1 ;
Expand Down
2 changes: 2 additions & 0 deletions definitions/grib2/marsLevtypeConcept.def
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@
'sol' = {typeOfFirstFixedSurface=187; typeOfSecondFixedSurface=255;}
'sol' = {typeOfFirstFixedSurface=187; typeOfSecondFixedSurface=187;}
'sfc' = {typeOfFirstFixedSurface=187; typeOfSecondFixedSurface=185;}
# Do we want this also for the covariances ? Probably !
'al' = {typeOfFirstFixedSurface=254;}
2 changes: 1 addition & 1 deletion definitions/grib2/section.4.def
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ codetable[2] productDefinitionTemplateNumber('4.0.table',masterDir,localDir) : d
if (section2Used == 1) {
when (new()) {
set_nofail productDefinitionTemplateNumber=productDefinitionTemplateNumberInternal;
}
}
}
transient genVertHeightCoords = 0;

Expand Down
3 changes: 3 additions & 0 deletions definitions/grib2/tables/local/ecmf/1/4.2.254.254.table
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
210 210 Covariance between 2-metre relative humidity and temperature of snow layer 2 [% K]
211 211 Covariance between 2-metre temperature and temperature of snow layer 3 [K K]
212 212 Covariance between 2-metre relative humidity and temperature of snow layer 3 [% K]
213 213 Stochastic kinetic energy backscatter (SKEB)
214 214 Stochastically Perturbed Parametrization Tendencies (SPPT)
215 215 Stochastic Parameter Perturbation (SPP)

0 comments on commit d6a2d7d

Please sign in to comment.