You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
We need to implement a remap function in goesgcp to enable regridding capabilities using the xesmf library. This will allow users to interpolate data onto different grids efficiently, similar to CDO's remapbil function.
Implementation Steps
Install Dependency: Ensure xesmf is added as an optional dependency in requirements.txt.
Define the Function: Implement a remap function inside goesgcp/main.py that:
Accepts an input NetCDF file.
Defines or loads a target grid.
Uses xesmf for bilinear interpolation.
Saves the output to a new NetCDF file.
Integrate with CLI: Add a new CLI command (--remap) to enable this feature.
Test Cases: Create test cases to validate the interpolation results.
Update Documentation: Add examples of how to use the new remap function in the README.
Description:
We need to implement a remap function in
goesgcp
to enable regridding capabilities using thexesmf
library. This will allow users to interpolate data onto different grids efficiently, similar to CDO'sremapbil
function.Implementation Steps
xesmf
is added as an optional dependency inrequirements.txt
.remap
function insidegoesgcp/main.py
that:xesmf
for bilinear interpolation.--remap
) to enable this feature.remap
function in the README.Example Code Outline
The text was updated successfully, but these errors were encountered: