An open API service indexing awesome lists of open source software.

https://github.com/nansencenter/geodataset


https://github.com/nansencenter/geodataset

netcdf netcdf-api netcdf-files netcdf4 resampler resampling resampling-methods

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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())
```