Skip to content

Regridding GEBCO bathymetry to curvilinear grid #404

@axelschweiger

Description

@axelschweiger

I'm trying to regrid the GEBCO bathymetry to a regional model grid for the northern hemisphere. I'm trying to do this like this:

/envs/pangeo310/bin/ESMF_RegridWeightGen -s 2024/GEBCO_2024.nc --dst_regional -d output.nc -w testWei
gthsScripts.nc -m bilinear

I'm getting lots of errors like this that fill my disk up very quickly:
20241121 134756.230 ERROR PET0 ESMCI_DistGrid.C:5101 ESMCI::DistGrid::getSequenceInde Invalid argument - SeqIndex type mismatch detected

The output .nc files looks like this. It is a curvelinear grid over the Arctic. The input file is a lat lon grid (pretty big 86400 by 43200)
dimensions:
x = 864 ;
y = 640 ;
variables:
float lat(y, x) ;
lat:_FillValue = 1.e+20f ;
lat:units = "degrees_north" ;
float lon(y, x) ;
lon:_FillValue = 1.e+20f ;
lon:units = "degrees_east" ;

Any advice?

I'm also wondering for tips on how to possibly speed this up running this as a regular python script using the xESMF tools. I can't quite figure out how to best take advantage of the multiple processors? Do I have to run this in a DASK cluster?

Thanks
Axel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions