Skip to content
Discussion options

You must be logged in to vote

Answering to my question :

one_netcdf_file = xarray.open_dataset('SISin200001010000004231000101MA_Italia_48_64_64_zlib_0.nc')

sets by default mask_and_scale=True which casts the data from int16 to float32. Setting mask_and_scale=False prohibits the data type cast that happens "automatically" and thus reports bigger size of data.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@NikosAlexandris
Comment options

Answer selected by NikosAlexandris
@martindurant
Comment options

@NikosAlexandris
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants