-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add Ctests for obsForge #4
base: main
Are you sure you want to change the base?
Changes from 2 commits
44fd45b
cf52140
84f6a97
e2654c1
4640b1b
2e728fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[pycodestyle] | ||
count = False | ||
ignore = E226,E401,E402,W503 | ||
max-line-length = 160 | ||
statistics = True | ||
exclude = Experimental |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
|
||
observations: | ||
- obs space: | ||
name: "satwind_goes-16" | ||
simulated variables: [windDirection, windSpeed] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping file: "./testinput//bufr_satwnd_amv_goes_mapping.yaml" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. extra slash :) |
||
category: ["goes-16"] | ||
cache categories: # optional | ||
- ["goes-16"] | ||
- ["goes-17"] | ||
- ["goes-18"] | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.satwnd.abi_goes-16.tm00.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-17" | ||
simulated variables: [windDirection, windSpeed] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping file: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: ["goes-17"] | ||
cache categories: # optional | ||
- ["goes-16"] | ||
- ["goes-17"] | ||
- ["goes-18"] | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.satwnd.abi_goes-17.tm00.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-18" | ||
simulated variables: [windDirection, windSpeed] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping file: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: ["goes-18"] | ||
cache categories: # optional | ||
- ["goes-16"] | ||
- ["goes-17"] | ||
- ["goes-18"] | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.satwnd.abi_goes-18.tm00.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For my own reference, why are the satellite yamls such large time windows? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is purposely done since we want to test several other cycles as well. So, we gave a big range. |
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Additionally, I think you should add " bound to include: begin" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Since the end is inclusive already (default), we should add |
||
observations: | ||
- obs space: | ||
name: "satwind_goes-16" | ||
simulated variables: [windDirection, windSpeed] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping file: "./testinput//bufr_satwnd_amv_goes_mapping.yaml" | ||
category: ["goes-16"] | ||
cache categories: # optional | ||
- ["goes-16"] | ||
- ["goes-17"] | ||
- ["goes-18"] | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.satwnd.abi_goes-16.tm00_mpi4.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-17" | ||
simulated variables: [windDirection, windSpeed] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping file: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: ["goes-17"] | ||
cache categories: # optional | ||
- ["goes-16"] | ||
- ["goes-17"] | ||
- ["goes-18"] | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.satwnd.abi_goes-17.tm00_mpi4.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-18" | ||
simulated variables: [windDirection, windSpeed] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping file: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: ["goes-18"] | ||
cache categories: # optional | ||
- ["goes-16"] | ||
- ["goes-17"] | ||
- ["goes-18"] | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.satwnd.abi_goes-18.tm00_mpi4.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll suggest adding: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will do |
||
|
||
observations: | ||
- obs space: | ||
name: "sfcsno_snow" | ||
distribution: | ||
name: Halo | ||
halo size: 250e3 | ||
simulated variables: [totalSnowDepth] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.sfcsno.tm00.bufr_d" | ||
mapping file: "./testinput/bufr_sfcsno_mapping.yaml" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.sfcsno.tm00.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
observations: | ||
- obs space: | ||
name: "sfcsno_snow" | ||
distribution: | ||
name: Halo | ||
halo size: 250e3 | ||
simulated variables: [totalSnowDepth] | ||
obsdatain: | ||
engine: | ||
type: bufr | ||
obsfile: "./testdata/gdas.t00z.sfcsno.tm00.bufr_d" | ||
mapping file: "./testinput/bufr_sfcsno_mapping.yaml" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/bufr_backend/gdas.t00z.sfcsno.tm00_mpi2.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
observations: | ||
- obs space: | ||
name: "satwind_goes-16" | ||
observed variables: [windSpeed, windDirection] | ||
derived variables: [windEastward, windNorthward] | ||
simulated variables: [windEastward, windNorthward] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_satwnd_amv_goes.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping_path: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: "goes-16" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.satwnd.abi_goes-16.tm00.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-17" | ||
observed variables: [windSpeed, windDirection] | ||
derived variables: [windEastward, windNorthward] | ||
simulated variables: [windEastward, windNorthward] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_satwnd_amv_goes.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping_path: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: "goes-17" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.satwnd.abi_goes-17.tm00.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-18" | ||
observed variables: [windSpeed, windDirection] | ||
derived variables: [windEastward, windNorthward] | ||
simulated variables: [windEastward, windNorthward] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_satwnd_amv_goes.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping_path: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: "goes-18" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.satwnd.abi_goes-18.tm00.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
observations: | ||
- obs space: | ||
name: "satwind_goes-16" | ||
observed variables: [windSpeed, windDirection] | ||
derived variables: [windEastward, windNorthward] | ||
simulated variables: [windEastward, windNorthward] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_satwnd_amv_goes.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping_path: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: "goes-16" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.satwnd.abi_goes-16.tm00_mpi4.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-17" | ||
observed variables: [windSpeed, windDirection] | ||
derived variables: [windEastward, windNorthward] | ||
simulated variables: [windEastward, windNorthward] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_satwnd_amv_goes.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping_path: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: "goes-17" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.satwnd.abi_goes-17.tm00_mpi4.nc" | ||
|
||
- obs space: | ||
name: "satwind_goes-18" | ||
observed variables: [windSpeed, windDirection] | ||
derived variables: [windEastward, windNorthward] | ||
simulated variables: [windEastward, windNorthward] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_satwnd_amv_goes.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.satwnd.tm00.bufr_d" | ||
mapping_path: "./testinput/bufr_satwnd_amv_goes_mapping.yaml" | ||
category: "goes-18" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.satwnd.abi_goes-18.tm00_mpi4.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
observations: | ||
- obs space: | ||
name: "sfcsno_snow" | ||
distribution: | ||
name: Halo | ||
halo size: 250e3 | ||
simulated variables: [totalSnowDepth] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_sfcsno.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.sfcsno.tm00.bufr_d" | ||
mapping_path: "./testinput//bufr_sfcsno_mapping.yaml" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.sfcsno.tm00.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
time window: | ||
begin: "2018-04-14T21:00:00Z" | ||
end: "2023-12-15T03:00:00Z" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
observations: | ||
- obs space: | ||
name: "sfcsno_snow" | ||
distribution: | ||
name: Halo | ||
halo size: 250e3 | ||
simulated variables: [totalSnowDepth] | ||
obsdatain: | ||
engine: | ||
type: script | ||
script file: "./testinput/bufr_sfcsno.py" | ||
args: | ||
input_path: "./testdata/gdas.t00z.sfcsno.tm00.bufr_d" | ||
mapping_path: "./testinput//bufr_sfcsno_mapping.yaml" | ||
obsdataout: | ||
engine: | ||
type: H5File | ||
obsfile: "./testrun/script_backend/gdas.t00z.sfcsno.tm00_mpi2.nc" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
add_subdirectory( build_scripts ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bound to include: begin