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

can't parse single-value data with no dimensions #30

Open
aportagain opened this issue Jun 10, 2022 · 1 comment
Open

can't parse single-value data with no dimensions #30

aportagain opened this issue Jun 10, 2022 · 1 comment
Labels

Comments

@aportagain
Copy link
Member

In [24]: import xarray
In [25]: dset = xarray.Dataset()
In [26]: dset.cfjson.from_json(json.load(open("/tmp/single_values_no_dimensions.cfjson.txt", "r")))

using single_values_no_dimensions.cfjson.txt results in

ValueError: day is out of range for month

and

ParserError: day is out of range for month: 0
@aportagain aportagain added the bug label Jun 10, 2022
@aportagain
Copy link
Member Author

Will probably also have to fix the xarray variables without-dimensions bit further along the processing?

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

No branches or pull requests

1 participant