-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
47 additions
and
109 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
# geodataset | ||
|
||
Extension of netCDF4.Dataset for geospatial data. | ||
|
||
# Installation | ||
|
||
Install requirements with conda: | ||
|
||
`conda env create -f environment.yml` | ||
|
||
Activate the environment: | ||
|
||
`conda activate geodataset` | ||
|
||
Install geodataset using pip: | ||
|
||
`pip install geodataset` | ||
|
||
# Usage | ||
|
||
Open netCDF file for input and access geo- metadata | ||
|
||
```python | ||
from geodataset.tools import open_netcdf | ||
|
||
n = open_netcdf('netcdf_file.nc') | ||
|
||
print(n.projection) | ||
|
||
print(n.get_bbox()) | ||
|
||
print(n.get_lonlat_arrays()) | ||
``` |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import os | ||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="geodataset", | ||
version="0.0.1", | ||
author="Anton Korosov", | ||
version="0.1.0", | ||
author=["Anton Korosov", "Timothy Williams"], | ||
author_email="[email protected]", | ||
description="regridding tool for Geospatial data", | ||
description="Extension of netDCF4.Dataset for geospatial data", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/nansencenter/geodataset", | ||
|
@@ -19,15 +18,13 @@ | |
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Operating System :: POSIX :: Linux", | ||
], | ||
install_requires=["numpy", | ||
"scipy", | ||
"matplotlib", | ||
"notebook", | ||
"pyproj", | ||
"cython", | ||
"shapely", | ||
"netcdftime", | ||
"cartopy", | ||
"satpy"], | ||
python_requires='>=3.7' | ||
install_requires=[ | ||
"cartopy", | ||
"netCDF4", | ||
"netcdftime", | ||
"numpy", | ||
"pyproj", | ||
"pyresample", | ||
"xarray"], | ||
python_requires='>=3.8' | ||
) |