-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline loaded variables into kerchunk references (#73)
* 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>
- Loading branch information
1 parent
ca99d5a
commit 2d61d1a
Showing
9 changed files
with
171 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.