diff --git a/CITATION.cff b/CITATION.cff index f8e228c..7875f3a 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,7 +3,7 @@ message: "If you use this software, please cite it as below." title: "de:code" abstract: "DESHIMA code for data analysis" -version: 2.5.3 +version: 2.5.4 date-released: 2023-11-07 license: "MIT" doi: "10.5281/zenodo.3384216" diff --git a/README.md b/README.md index 4bc9933..545651d 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,5 @@ DESHIMA code for data analysis ## Installation ```shell -pip install decode==2.5.3 +pip install decode==2.5.4 ``` diff --git a/decode/__init__.py b/decode/__init__.py index 71bd62b..38eefdf 100644 --- a/decode/__init__.py +++ b/decode/__init__.py @@ -8,7 +8,7 @@ "plot", "select", ] -__version__ = "2.5.3" +__version__ = "2.5.4" # submodules diff --git a/decode/make.py b/decode/make.py index fa0f710..ce02f94 100644 --- a/decode/make.py +++ b/decode/make.py @@ -106,8 +106,8 @@ def cube( Cube DataArray. """ - dlon = Quantity(skycoord_grid).to(dems.lon.attrs["units"]).values - dlat = Quantity(skycoord_grid).to(dems.lat.attrs["units"]).values + dlon = Quantity(skycoord_grid).to(dems.lon.attrs["units"]).value + dlat = Quantity(skycoord_grid).to(dems.lat.attrs["units"]).value lon_min = np.floor(dems.lon.min() / dlon) * dlon lon_max = np.ceil(dems.lon.max() / dlon) * dlon lat_min = np.floor(dems.lat.min() / dlat) * dlat diff --git a/pyproject.toml b/pyproject.toml index 91e4137..0868294 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "decode" -version = "2.5.3" +version = "2.5.4" description = "DESHIMA code for data analysis" authors = ["Akio Taniguchi "] keywords = [