Skip to content
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

Alpine-3D: Write grids to variable specific NetCDF file #17

Open
EricKeenan opened this issue Feb 15, 2021 · 2 comments
Open

Alpine-3D: Write grids to variable specific NetCDF file #17

EricKeenan opened this issue Feb 15, 2021 · 2 comments

Comments

@EricKeenan
Copy link
Collaborator

Currently, all specified grids are written to a single NetCDF file. For my purposes, these files are becoming too large. For me, it would be preferred to write individual files for each individual year. We could also consider adding an experiment id with information about forcing, spinup, etc.

e.g.

WAIS_MERRA2_100m_spinup_T2M_1980_hourly.nc 
WAIS_MERRA2_100m_spinup_SWE_1980_hourly.nc
....
....
WAIS_MERRA2_100m_spinup_T2M_2020_hourly.nc 
WAIS_MERRA2_100m_spinup_SWE_2020_hourly.nc
@nwever
Copy link
Collaborator

nwever commented Feb 16, 2021

Commit a0d010d adds the option to split output NetCDF files by using the keys:
NETCDF_SPLIT_BY_YEAR = TRUE
NETCDF_SPLIT_BY_VAR = TRUE

Labelling the output file can be steered for now by the key GRID2DFILE.

@EricKeenan
Copy link
Collaborator Author

Thanks! The NETCDF_SPLIT_BY_YEAR = TRUE feature appears to work great. I have not yet tested NETCDF_SPLIT_BY_VAR = TRUE, but when I do I will report here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants