Skip to content

Commit

Permalink
feat(accumulations): update for od/enfo (ecmwf#158)
Browse files Browse the repository at this point in the history
* typo. added od/enfo

* qa
  • Loading branch information
floriankrb authored Dec 13, 2024
1 parent 602fe71 commit a33b5b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Keep it human-readable, your future self will thank you!
- Fix metadata serialization handling of numpy.integer (#140)
- Fix negative variance for constant variables (#148)
- Fix cutout slicing of grid dimension (#145)
- update acumulation (#158)

### Added

Expand Down
2 changes: 1 addition & 1 deletion docs/building/sources/yaml/accumulations1.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
input:
accumulations:
accumulations_period: 6
accumulation_period: 6
class: ea
param: [tp, cp, sf]
levtype: sfc
2 changes: 1 addition & 1 deletion docs/building/sources/yaml/accumulations2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
input:
accumulations:
accumulations_period: [6, 12]
accumulation_period: [6, 12]
class: od
param: [tp, cp, sf]
levtype: sfc
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def accumulations(context, dates, **request):
KWARGS = {
("od", "oper"): dict(patch=_scda),
("od", "elda"): dict(base_times=(6, 18)),
("od", "enfo"): dict(base_times=(0, 6, 12, 18)),
("ea", "oper"): dict(data_accumulation_period=1, base_times=(6, 18)),
("ea", "enda"): dict(data_accumulation_period=3, base_times=(6, 18)),
("rr", "oper"): dict(base_times=(0, 3, 6, 9, 12, 15, 18, 21)),
Expand Down

0 comments on commit a33b5b6

Please sign in to comment.