monet.util.interp_util
Interpolation functions
Functions
|
Creates a pyreample.geometry.SwathDefinition with a constant latitude along the longitude array. |
|
Creates a pyreample.geometry.SwathDefinition with a constant latitude along the longitude array. |
|
Creates a pyreample.geometry.SwathDefinition with a constant longitude along the latitude array. |
Create pyresample SwathDefinition from xarray object. |
|
|
Short summary. |
|
Creates an empty xarray.Dataset with the coordinate (longitude, latitude). |
|
Creates a pyreample.geometry.SwathDefinition for a single point. |
- monet.util.interp_util.constant_1d_xesmf(longitude=None, latitude=None)
Creates a pyreample.geometry.SwathDefinition with a constant latitude along the longitude array. Longitude can be a 1d or 2d np.array or xr.DataArray
- Parameters
longitude (numpy.array or xarray.DataArray) – Array of longitude values
latitude (float) – latitude for constant
- Return type
pyreample.geometry.SwathDefinition
- monet.util.interp_util.constant_lat_swathdefition(longitude=None, latitude=None)
Creates a pyreample.geometry.SwathDefinition with a constant latitude along the longitude array. Longitude can be a 1d or 2d np.array or xr.DataArray
- Parameters
longitude (numpy.array or xarray.DataArray) – Array of longitude values
latitude (float) – latitude for constant
- Return type
pyreample.geometry.SwathDefinition
- monet.util.interp_util.constant_lon_swathdefition(longitude=None, latitude=None)
Creates a pyreample.geometry.SwathDefinition with a constant longitude along the latitude array. latitude can be a 1d or 2d np.array or xr.DataArray
- Parameters
longitude – latitude for constant
latitude (numpy.array or xarray.DataArray) – Array of longitude values
- Return type
pyreample.geometry.SwathDefinition
- monet.util.interp_util.latlon_xarray_to_CoordinateDefinition(longitude=None, latitude=None)
Create pyresample SwathDefinition from xarray object.
- Parameters
longitude (2d xarray.DataArray) – Longitude -> must be from -180 -> 180 and monotonically increasing
latitude (2d xarray.DataArray) – Latitude -> must be from -90 -> 90 and monotonically increasing
- Return type
pyresample.CoordinateDefinition
- monet.util.interp_util.lonlat_to_swathdefinition(longitude=None, latitude=None)
Short summary.
- Parameters
longitude (type) – Description of parameter longitude.
latitude (type) – Description of parameter latitude.
- Returns
Description of returned object.
- Return type
- monet.util.interp_util.lonlat_to_xesmf(longitude=None, latitude=None)
Creates an empty xarray.Dataset with the coordinate (longitude, latitude).
- Parameters
longitude (type) – Description of parameter longitude.
latitude (type) – Description of parameter latitude.
- Returns
Description of returned object.
- Return type
- monet.util.interp_util.nearest_point_swathdefinition(longitude=None, latitude=None)
Creates a pyreample.geometry.SwathDefinition for a single point.
- Parameters
longitude (float) – longitude.
latitude (float) – latitude.
- Return type
pyreample.geometry.SwathDefinition