Skip to content

Commit

Permalink
small package upgrade/fill_NA trials(18th)
Browse files Browse the repository at this point in the history
  • Loading branch information
cywhale committed Jan 8, 2024
1 parent 6059384 commit 9caa761
Show file tree
Hide file tree
Showing 6 changed files with 1,041 additions and 163 deletions.
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ basemap = "==1.3.8"
basemap-data = "==1.3.2"
basemap-data-hires = "==1.3.2"
dask = "==2023.12.1"
fastapi = "==0.105.0"
matplotlib = "==3.7.3"
fastapi = "==0.108.0"
matplotlib = "==3.7.4"
netcdf4 = "==1.6.5"
numcodecs = "==0.12.1"
numpy = "==1.25.2"
numpy = "==1.26.2"
pandas = "==2.1.4"
polars = "==0.20.2"
polars = "==0.20.3"
pydantic = "==2.5.2"
pytmd = "==2.0.9"
requests = "==2.31.0"
Expand Down
2 changes: 1 addition & 1 deletion change_log.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
-- add FastAPI pydantic response_model
-- fix bounding box convert to (0,360) bug
-- fill 2x2 neighbor NA. Note that trouble to mix tpxo9.zarr/_fillna.zarr should be avoided
-- small package upgrade/fill_NA trials(15th)
-- small package upgrade/fill_NA trials(15th --> 18th)
1,119 changes: 985 additions & 134 deletions dev/extract_constants.ipynb

Large diffs are not rendered by default.

61 changes: 44 additions & 17 deletions dev/zarr_fillna.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/zarr_fillna_savefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def resave_fillna_dataset(method1, method2):


if __name__ == "__main__":
method1_file = "../data/tpxo9_bak14.zarr" #"tpxo9_method1.zarr" #All_NA_CONDITION set False
method1_file = "../data/tpxo9_bak17.zarr" #"tpxo9_method1.zarr" #All_NA_CONDITION set False
method2_file = "../data/tpxo9_new.zarr" #"tpxo9_method2.zarr"
zarr.convenience.consolidate_metadata(method2_file)
resave_fillna_dataset(method1_file, method2_file)
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
basemap==1.3.8
basemap==1.3.9
basemap_data==1.3.2
basemap_data_hires==1.3.2
dask==2023.12.1
fastapi==0.105.0
fastapi==0.108.0
gunicorn==21.2.0
matplotlib==3.7.3
matplotlib==3.7.4
netCDF4==1.6.5
numcodecs==0.12.1
numpy==1.25.2
numpy==1.26.3
pandas==2.1.4
polars==0.20.2
polars==0.20.3
pydantic==2.5.2
pyTMD==2.0.9
Requests==2.31.0
scipy==1.11.4
setuptools==69.0.2
setuptools==69.0.3
uvicorn==0.25.0
xarray==2023.12.0
zarr==2.16.1

0 comments on commit 9caa761

Please sign in to comment.