Skip to content

Commit

Permalink
Add more month-avg reshapr configs for make_averaged_dataset
Browse files Browse the repository at this point in the history
These YAML configuration files resample daily biological growth rate and
grazing/mortality fields to monthly averages for the SalishSeaCast v202111
model. They specify the variables to extract, the resampling method, and the
destination for the output files.
  • Loading branch information
douglatornell committed Sep 24, 2024
1 parent 274fc7a commit ed78ba0
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
32 changes: 32 additions & 0 deletions config/reshapr/month-average_202111_bio_growth_rates.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# `reshapr extract` config to resample v202111 day-average grzing & mortality fields
# to month-average

dataset:
model profile: SalishSeaCast-202111-salish.yaml
time base: day
variables group: biology growth rates

dask cluster: tcp://142.103.36.12:4386

# Placeholder state/end dates that are overridden by worker's run-date arg
start date: 2007-01-01
end date: 2007-01-31

extract variables:
- PPDIAT
- PPPHY
- PPDIATNO3
- PPPHYNO3
- TQ10

resample:
time interval: 1M
aggregation: mean

extracted dataset:
name: SalishSeaCast_1m_prod_T
description: Month-averaged biology growth rate variables resampled from
v202111 SalishSea_1d_*_prod_T.nc
deflate: True
format: NETCDF4
dest dir: /results2/SalishSea/month-avg.202111/
38 changes: 38 additions & 0 deletions config/reshapr/month-average_202111_grazing_mortality.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# `reshapr extract` config to resample v202111 day-average grzing & mortality fields
# to month-average

dataset:
model profile: SalishSeaCast-202111-salish.yaml
time base: day
variables group: grazing

dask cluster: tcp://142.103.36.12:4386

# Placeholder state/end dates that are overridden by worker's run-date arg
start date: 2007-01-01
end date: 2007-01-31

extract variables:
- MORTPHY
- MORTDIAT
- MORTMICZ
- GRMESZDIAT
- GRMESZPHY
- GRMESZPON
- GRMESZMICZ
- GRMICZDIAT
- GRMICZPHY
- GRMICZPON
- GRMICZMICZ

resample:
time interval: 1M
aggregation: mean

extracted dataset:
name: SalishSeaCast_1m_graz_T
description: Month-averaged grazing and mortality variables resampled from
v202111 SalishSea_1d_*_graz_T.nc
deflate: True
format: NETCDF4
dest dir: /results2/SalishSea/month-avg.202111/

0 comments on commit ed78ba0

Please sign in to comment.