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

Compression level for netCDF output #107

Open
YifanCheng opened this issue Oct 24, 2017 · 1 comment
Open

Compression level for netCDF output #107

YifanCheng opened this issue Oct 24, 2017 · 1 comment
Milestone

Comments

@YifanCheng
Copy link

If we run Metsim for a large area and at subdaily timestep, the output can be very large. It would be useful if we could choose the compression level of the output netCDF file.

@jhamman
Copy link
Member

jhamman commented Oct 24, 2017

@YifanCheng - should be easy to add. Just mimic the 'out_precision' option and make sure it gets here:

MetSim/metsim/metsim.py

Lines 322 to 323 in b1dd17c

encoding={'dtype': self.params['out_precision'],
'_FillValue': cnst.FILL_VALUES['f8']})

@arbennett arbennett added this to the someday milestone Feb 6, 2019
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

3 participants