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

feat(accumulations): update for od/enfo #158

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading