Provides classes to handle satellite datasets. Allows process, regrid and visualize satellite data.
- Easy to add new product routines
- Vectorized gridding routine
- TROPOMI WFMD CH4 v1.8
- TROPOMI L2 NO2
In your local directory just clone this repo
git clone [email protected]:SanParraguez/kintunwenu.git
If needed, you can also install the provided environment
conda env create --name ktw --file kintunwenu/bin/environment.yml
conda activate ktw
import numpy as np
import kintunwenu as ktw
from pyproj import CRS
# create grid
lons = np.linspace(-20, 15, 61)
lats = np.linspace(-50, -25, 61)
# create geodetic object for distance measurements
geod = CRS.from_string('+proj=eck4 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs').get_geod(),
# path to my product file
path_to_file = "my/path/to/netcdf/file.nc"
# initialize gridder
gridder = ktw.GridCrafter(
grid_lons=lons,
grid_lats=lats,
min_fill=0.5,
qa_filter=0.75,
geod=geod,
)
# grid
product = gridder(path_to_file)
I'm still not sure, so any suggestion will be welcomed!
- Write proper README
- Santiago Parraguez Cerda