ai2cm / fv3net

explore the FV3 data for parameterization
MIT License
16 stars 3 forks source link

Adding a section to `open_dataset` for the 15 minute data #5

Closed nbren12 closed 5 years ago

nbren12 commented 5 years ago

cc @frodre @spencerkclark

Let's add a section to open_dataset which opens the 15 minute data and renames everything to the names we were using before. Something like this could work:

ds = open_catalog()['2019-09-10-GFDL-SHiELD-15-minute-2-days'].to_dask()
return ds.rename({'ucomp': 'u', 'vcomp': 'v', 'sphum': 'qv', 'HGTsfc': 'zs', 'delz': 'dz', 'delp': 'dp'}) 

Then, we should be able to make the regridding script take in any tag that works with open_dataset.

frodre commented 5 years ago

@brianhenn Made a tag and section for the 15-minute data. I'll continue along with that and add in the variable renaming.