[ncl-talk] Error: ESMF to map 10min to 30 sec

Dennis Shea shea at ucar.edu
Sun Sep 23 22:31:48 MDT 2018


Hi Sarah

*The Bad:*
I think there is an issue with the ESMF regridding. I do not understand it.
I may have to open a JIRA ticket.

*The Good:*
I used* linint2_Wrap
<http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_Wrap.shtml>
*to create the high resolution netCDF4_Classic file. For a 21600 x 43200
grid, linint2_Wrap is VERY slow. However, The values are likely the same or
very close to ESMF bilinear regridding.

*/glade/work/shea/TEST/SARAH/LININT2/LININT2_HTOPO.USGS-huy3-S1D_21_30sec.nc
<http://LININT2_HTOPO.USGS-huy3-S1D_21_30sec.nc>*

More later
D

On Thu, Sep 20, 2018 at 8:37 AM Sarah Bradley - CITG <
S.L.Bradley-1 at tudelft.nl> wrote:

> Hello
>
> I am trying to map a 10min global file to a 30 sec grid using the ESMF
> mapping software
>
> I have attached my ncl script
>
> The error message I receive is:
>
> Copyright (C) 1995-2017 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.4.0
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> (0) =====> CPU Elapsed Time: rectilinear_to_SCRIP: 1.408 seconds <=====
> ncendef: ncid 196608: NetCDF: One or more variable sizes violate format
> constraints
> fatal:NetCDF: Operation not allowed in define mode: error attempting to
> write variable (grid_dims) to file (destination_grid_file.nc)
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1711 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1847 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 3910 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 4051 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 90 in
> file remap_10min-30sec_ESMF.ncl
>
> I found that as the 30sec file was large, I needed to specify this in the
> script.
>
> I hope you can help,
>
> Sarah Bradley
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180923/09b038d8/attachment.html>


More information about the ncl-talk mailing list