Conversation
|
Hi @larsbuntemeyer ! Thanks for the input. I am not a xarray-poweruser, so this is quite valuable for me 👍 But I am not sure, if this done in the best way: On the one hand opening files is done internally - so it's a bit hard to change this behaviour. But on the other hand the whole operation depends on the input very much. |
|
@Try2Code Thanks for considering this! Sorry for the late response, you are right, this could also go along with the |
|
I think this options is better put into an operator call than in the constructor. That way users can change the options for each data set they create |
|
I am in the middle of a re-design. Will keep this PR open to keep the feature in mind. |
This PR adds the
xarray_open_kwargskeyword that let's you control thexarray.open_datasetkeyword arguments in case ofreturnXDataset=True. This allows me, e.g., to control parallel reads and chunking.Use case
I have a non standard calendar and want to select a date into an xarray dataset:
This only works with
use_cftime=True.