Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECC-1954: GRIB1 to GRIB2 conversion does not preserve ensemble product template for some statistically processed fields #261

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
ECC-1954: GRIB1 to GRIB2 conversion does not preserve ensemble produc…
…t template
  • Loading branch information
shahramn committed Oct 29, 2024
commit df2b452ff14791c75e1d036964ad38b54b94a7cf
7 changes: 7 additions & 0 deletions definitions/grib1/section.1.def
Original file line number Diff line number Diff line change
@@ -334,3 +334,10 @@ meta md5Product md5(offsetSection1,section1Length,gridDefinition,section1Flags,d

# ECC-1806
concept_nofail paramIdForConversion(zero, "paramIdForConversion.def", conceptsDir2, conceptsDir1) : long_type,read_only;

if (productDefinitionTemplateNumber == 0 && defined(perturbationNumber) && numberOfForecastsInEnsemble > 0) {
alias productDefinitionTemplateNumber = one; # ensemble instant
}
if (productDefinitionTemplateNumber == 8 && defined(perturbationNumber) && numberOfForecastsInEnsemble > 0) {
alias productDefinitionTemplateNumber = eleven; # ensemble interval
}