Reproj#
- class hgrs.utils.Reproj[source]#
Bases:
object- static regridding(input_dataset, output_grid_size=(1200, 1200), d_input_crs=4326, parallel=True)[source]#
Take a PRISMA L1C product in sensor geometry (x,y) as input and return it in a georeferenced geometry (lon,lat).
WARNING : Due to the use of the xESMF package, relying on Fortran, some user warnings like : “UserWarning: Input array is not F_CONTIGUOUS. Will affect performance.” may be raised. It is not an issue in our case (see JiaweiZhuang/xESMF#25).
- Parameters:
input_dataset – the product to regrid
output_grid_size – (tuple) output grid size in (lon, lat) format
d_input_crs – (int) code EPSG of the related geolocalisation frame
- Return output_dataset:
the regularised product