[ncl-talk] Questions for ESMF_unstruct_to_1deg

Mary Haley haley at ucar.edu
Wed Nov 11 08:53:50 MST 2015


It does look like there's an issue with the missing value. Did you actually
look at the data to make sure the values look okay?  One way to tell
quickly if your original variable looks reasonable is to use
printVarSummary and printMinMax:

printVarSummary(var)
printMinMax(var,0)

Can you email me your test.nc file offline, if it's not too large? If it's
large, then use our ftp:

    ftp ftp.ucar.edu
    <log in as "anonymous">
    <Use email address as password>
    cd /pub/scd/haley
    get
    quit

Thanks,

--Mary

On Wed, Nov 11, 2015 at 3:24 AM, Sujeong Lim <sjlim1202 at gmail.com> wrote:

> Dear.
>
> I want to convert my unstructured file to 1x1 grid file. ( My model output
> is similar with the CAM-SE.)
>  Ex) T (time, lev, ncol) -> T (time,lev,lat,lon)
> Since I have a missing value in the vertical levels, I will do interpolate
> horizontal first, and vertical.
>
> As a test, I tried to run the 'ESMF_unstruct_to_0.25deg.ncl'
>
> In my thinking, I have to change the missing value.
> And it has a problem to generate the weighting.
> Could you help this problems?
>
> I attached my script and bottoms are my errros.
> ------
>
> (0)     write_grid_description: source lat dims = (86400)
> (0)     write_grid_description: source lon dims = (86400)
> (0)     write_grid_description: source grid type is 'unstructured'
> (0)     unstructured_to_ESMF: triangulating the data ... this can be slow
> (0)     min/max ElementVertices = 0/86399
> (0)     unstructured_to_ESMF: total number of elements created: 172796
>
> GCTAREA: The three input points must be distinct.
> GCTAREA: The three input points must be distinct.
> GCTAREA: The three input points must be distinct.
> ...
>
> (0) unstructured_to_ESMF: Element Area: min:-1.60316e-13 max:1e+30
> (0) write_grid_description: destination grid type is '1deg'
> (0) curvilinear_to_SCRIP: calculating grid corners...
> (0) curvilinear_to_SCRIP: no lat values are at the poles, so
> (0)        calculating grid corners using
> (0)        calc_SCRIP_corners_noboundaries...
> (0) calc_SCRIP_corners_noboundaries
> (0)      min/max original lat: -89/89
> (0)      min/max original lon: 0/359
> (0) calc_SCRIP_corners_noboundaries
> (0)      min/max Extlat2d: -90/90
> (0)      min/max Extlon2d: -1/360
> (0) calc_SCRIP_corners_noboundaries
> (0)      min/max ExtGridCenter_lat: -89.5/89.5
> (0)      min/max ExtGridCenter_lon: -0.5/359.5
> (0) ESMF_regrid_gen_weights: number of processors used: 1
> (0) --------------------------------------------------
> (0) ESMF_regrid_gen_weights: the following command is about to be executed
> on the system:
> (0) 'ESMF_RegridWeightGen --source source_grid_file.nc --destination
> destination_grid_file.nc --weight unstruct_to_rect.nc --method bilinear
> --src_type ESMF -i --64bit_offset'
> (0) --------------------------------------------------
> sh: ESMF_RegridWeightGen: command not found
> (0) ESMF_regrid_gen_weights: output from 'ESMF_RegridWeightGen':
> (0)      missing
> (0) --------------------------------------------------
> fatal:The result of the conditional expression yields a missing value. NCL
> can not determine branch, see ismissing function
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 2291 in
> file
> /app/compilers/gcc/4.7.1/applib1/NCARG/6.1.2/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 3166 in
> file
> /app/compilers/gcc/4.7.1/applib1/NCARG/6.1.2/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 76 in
> file ESMF_unstruct_to_0.25deg.ncl
>
>
>  Thanks,
>
>
>
> --
>
>
>
> --
>
>
>
> _______________________________________________
> 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/20151111/8a2600a6/attachment.html 


More information about the ncl-talk mailing list