Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Feb 14, 2024
1 parent 1a72983 commit c3b8a33
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 51 deletions.
37 changes: 18 additions & 19 deletions tests/create-concat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,38 @@ dates:

common:
mars_request: &mars_request
expver: '0001'
expver: "0001"
class: ea
grid: 20./20.
levtype: sfc
stream: oper
type: an
param: [2t]


input:
concat:
- dates:
start: 2020-12-30 00:00:00
end: 2021-01-01 12:00:00
frequency: 12h
mars:
<<: *mars_request
- dates:
start: 2021-01-02 00:00:00
end: 2021-01-03 12:00:00
frequency: 12h
mars:
<<: *mars_request
- dates:
start: 2020-12-30 00:00:00
end: 2021-01-01 12:00:00
frequency: 12h
mars:
<<: *mars_request
- dates:
start: 2021-01-02 00:00:00
end: 2021-01-03 12:00:00
frequency: 12h
mars:
<<: *mars_request

output:
chunking: {dates: 1, ensembles: 1}
chunking: { dates: 1, ensembles: 1 }
dtype: float32
flatten_grid: True
order_by:
- valid_datetime
- param_level
- number
- valid_datetime
- param_level
- number
statistics: param_level
statistics_end: 2021
remapping: &remapping
param_level: '{param}_{levelist}'
param_level: "{param}_{levelist}"
4 changes: 2 additions & 2 deletions tests/create-join.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ input:
<<: *mars_request
levtype: sfc
param: [cp, tp]
# accumulation_period: 6h
# accumulation_period: 6h

- constants:
<<: *mars_request
param:
- cos_latitude

output:
chunking: {dates: 1, ensembles: 1}
chunking: { dates: 1, ensembles: 1 }
dtype: float32
flatten_grid: True
order_by:
Expand Down
59 changes: 29 additions & 30 deletions tests/create-pipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ purpose: aifs
name: test-small
config_format_version: 2


common:
mars_request: &mars_request
expver: '0001'
expver: "0001"
class: ea
grid: 20./20.

Expand All @@ -19,42 +18,42 @@ dates: &dates_anchor

input:
join:
- mars:
<<: *mars_request
param: [2t]
levtype: sfc

- pipe:
- mars:
<<: *mars_request
param: [q, t]
levtype: pl
level: [50, 100]
stream: oper
type: an
- filter:
param: [q]
- filter:
level: [50]

- accumulations:
<<: *mars_request
param: [cp, tp]
param: [2t]
levtype: sfc

- pipe:
- mars:
<<: *mars_request
param: [q, t]
levtype: pl
level: [50, 100]
stream: oper
type: an
- filter:
param: [q]
- filter:
level: [50]

- accumulations:
<<: *mars_request
param: [cp, tp]

- constants:
<<: *mars_request
param:
- cos_latitude
- constants:
<<: *mars_request
param:
- cos_latitude

output:
chunking: {dates: 1, ensembles: 1}
chunking: { dates: 1, ensembles: 1 }
dtype: float32
flatten_grid: True
order_by:
- valid_datetime
- param_level
- number
- valid_datetime
- param_level
- number
statistics: param_level
statistics_end: 2021
remapping: &remapping
param_level: '{param}_{levelist}'
param_level: "{param}_{levelist}"

0 comments on commit c3b8a33

Please sign in to comment.