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

Netcdf4 fix #116

Merged
merged 1 commit into from
May 15, 2024
Merged

Netcdf4 fix #116

merged 1 commit into from
May 15, 2024

Conversation

norlandrhagen
Copy link
Collaborator

@norlandrhagen norlandrhagen commented May 15, 2024

@TomNicholas TomNicholas changed the base branch from main to inline_chunkdata May 15, 2024 21:05
@TomNicholas TomNicholas merged commit 8c24af6 into inline_chunkdata May 15, 2024
4 of 5 checks passed
@TomNicholas TomNicholas deleted the netcdf4_fix branch May 15, 2024 21:06
TomNicholas added a commit that referenced this pull request May 16, 2024
* add test vs kerchunk inlining

* encode inlined data correctly (at least for standard numpy arrays)

* don't test time variable for now

* store fill_value as np.NaN, and always coerce it

* test passing for lat and lon variables

* formatting

* encode numpy types

* tidy internal import

* parametrize test to test inlining different variables

* raise when encoding encountered during serialization of numpy arrays

* see if closing the netcdf files in the fixtures fixes the kerchunk error

* update docs

* ensure inline_threshold is an int

* formatting

* specified NetCDF4 for netcdf4_file fixture & added netcdf4 to pyproject.toml [test] (#116)

* organize tests

* dont unnecessarily slice dataset

---------

Co-authored-by: Raphael Hagen <norlandrhagen@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants