Skip to content
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
38 changes: 20 additions & 18 deletions share/metkit/params-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
levtype: ml
stream: oper
type: an
- - 135
- - 131
- 132
- 135
- 152
- 210181
- 217009
Expand All @@ -67,30 +69,30 @@
- 155
- 210181
- 217009
- - class: od
levtype: sfc
stream: oper
type: fc
- - 3100
- - class: od
levtype: sfc
stream: enfo
type: pf
- - 3100
- - class: ai
levtype: sfc
stream: oper
type: fc
- - 228143
- 228144
- 228164
- 228228
- 231002
- 3073
- 3074
- 3075
- - 140229
- 228141
- 228143
- - class: ai
levtype: sfc
stream: enfo
type: [cf, pf]
- - 228143
- 228144
- 228164
- 228228
- 231002
- 3073
- 3074
- 3075
type: pf
- - 140229
- 228141
- 228143
- - class: od
levtype: ml
stream: oper
Expand Down
19 changes: 0 additions & 19 deletions tests/expand/MARSC-267 copy.expected

This file was deleted.

12 changes: 12 additions & 0 deletions tests/expand/PGEN-569.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
disseminate,
expver = 0080,
class = mc,
stream = oper,
time = 0000/1200,
type = an,
step = 0,
levtype = ml,
levelist = 1,
param = 131/132,
date = 20260420,
domain = g
11 changes: 11 additions & 0 deletions tests/expand/PGEN-569.req
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
disseminate,
expver = 80,
class = mc,
stream = oper,
time = 0/12,
type = an,
step = 0,
levtype = ml,
levelist = 1,
param = u/v,
date = 20260420
11 changes: 11 additions & 0 deletions tests/test_expand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,17 @@ CASE("test_metkit_expand_coeffindex") {
}
}

CASE("PGEN-566 class=ai") {
const char* text = "retrieve,date=20260506,class=ai,stream=oper,expver=0001,domain=g,type=fc,levtype=sfc,param=sd/swh,time=0000/0600/1200/1800,step=0";
const char* expected = "retrieve,date=20260506,class=ai,type=fc,stream=oper,levtype=sfc,time=0000/0600/1200/1800,step=0,expver=0001,domain=g,param=228141/140229";
expand(text, expected);
}
CASE("PGEN-566 od") {
const char* text = "retrieve,date=20260506,class=od,stream=oper,expver=0001,domain=g,type=fc,levtype=sfc,param=sd/swh,time=0000/0600/1200/1800,step=0";
const char* expected = "retrieve,date=20260506,class=od,type=fc,stream=oper,levtype=sfc,time=0000/0600/1200/1800,step=0,expver=0001,domain=g,param=141/3100";
expand(text, expected);
}

CASE("test_metkit_expand_A") {
const char* text =
"retrieve,accuracy=16,area=14.8/-19.6/-14.5/19.8,class=od,date=20230810,expver=1,grid=0.09/0.09,levelist=1/"
Expand Down
Loading