Using the ESMF regridding tools: Difference between revisions

Bmauer (talk | contribs)
Bmauer (talk | contribs)
Line 2: Line 2:
The NCO software package has a function ncremap that can be linked to ESMF_RegridWeightGen, a binary distributed with the ESMF library. This utility can generate interpolation weights. The ncremap function determines the grid type from the input, makes the appropriate call to ESMF_RegridWeightGen, and performs the regridding with the computed weights.
The NCO software package has a function ncremap that can be linked to ESMF_RegridWeightGen, a binary distributed with the ESMF library. This utility can generate interpolation weights. The ncremap function determines the grid type from the input, makes the appropriate call to ESMF_RegridWeightGen, and performs the regridding with the computed weights.
Currently to support the cubed-sphere (cs) used by GEOS-5 the cs-grid must be described by SCRIP file descriptor. The tools to compute these files can be obtained from the SI team. Another repercussion of this is that data on the cs-grid must have the horizontal dimensions collapsed to one dimension. The SI team can provide scripts do perform this collapse.
Currently to support the cubed-sphere (cs) used by GEOS-5 the cs-grid must be described by SCRIP file descriptor. The tools to compute these files can be obtained from the SI team. Another repercussion of this is that data on the cs-grid must have the horizontal dimensions collapsed to one dimension. The SI team can provide scripts do perform this collapse.
<pre>
dimensions:
        ncol = 13824 ;
        lev = 72 ;
        time = 1 ;
variables:
        float ncol(ncol) ;
        float lev(lev) ;
                lev:long_name = "vertical level" ;
                lev:units = "layer" ;
                lev:positive = "down" ;
                lev:coordinate = "eta" ;
                lev:standard_name = "model_layers" ;
        float time(time) ;
                time:long_name = "time" ;
                time:units = "minutes since 2000-04-15 00:00:00" ;
                time:time_increment = 30000 ;
                time:begin_date = 20000415 ;
                time:begin_time = 0 ;
</pre>


The command to regrid from a cs input file to a Lat-Lon ouput file is below:
The command to regrid from a cs input file to a Lat-Lon ouput file is below: