Re: ESMF_RegridWeightGen not found

From: Olaf Gellert <gellert_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 05 2014 - 03:53:30 MDT

Hi there,

I downloaded and installed

ncl_ncarg-6.2.0.Linux_RHEL5.10_x86_64_gcc412.tar.gz.

Unfortunately it seems that

ESMF_RegridWeightGen

is missing (again). Any ideas where to get it?
;-)

Cheers, Olaf

Sean Davis - NOAA Affiliate wrote on 2013-12-27:
> Hi,
>
> I'm having a problem with ESMF_regrid which seems to be that the unix
> command ESMF_RegridWeightGen is not found. To make the problem easy to
> illustrate, I adapted Example 1 from the ESMF_regrid() documentation,
> and used the file air.mon.ltm.nc from the NCEP/NCAR reanalysis. I
> uploaded the .nc file to the CGD ftp site given on the webpage.
>
> Here is the example script....
>
> Fri Dec 27 12:33:25 sif scripts> more ex1.ncl
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl"
>
> begin
> infile =
> "/Users/sdavis/sd-data/ncep/ncep.reanalysis.derived/pressure/air.mon.ltm.nc"
>
> sfile = addfile(infile,"r")
> temp = sfile->air(0,0,:,:)
>
> Opt = True
>
> Opt@SrcFileName = "src_SCRIP.nc"
> Opt@DstFileName = "dst_SCRIP.nc"
> Opt@WgtFileName = "NCEP_2_Rect.nc"
> Opt@ForceOverwrite = True
>
> Opt@SrcMask2D = where(.not.ismissing(temp),1,0)
>
> Opt@DstGridType = "5x5"
> Opt@DstLLCorner = (/ -60.d, 0.d/)
> Opt@DstURCorner = (/ 60.d, 355.d/)
>
> temp_regrid = ESMF_regrid(temp,Opt)
> printVarSummary(temp_regrid)
> end
>
> And here's what happens when I try to run it...
>
> Fri Dec 27 12:31:57 sif scripts> ncl ex1.ncl
> Copyright (C) 1995-2013 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.2
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> sh: ESMF_RegridWeightGen: command not found
> 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 $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 3166 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 23 in
> file ex1.ncl
>
> I'm running NCL on Mac OSX 10.6.8.
>
> Any ideas on what could be causing this problem?
>
> Thanks!!
>
> Sean
>
>

-- 
Dipl. Inform. Olaf Gellert            email  gellert@dkrz.de
Deutsches Klimarechenzentrum GmbH     phone  +49 (0)40 460094 214
Bundesstrasse 45a                     fax    +49 (0)40 460094 270
D-20146 Hamburg, Germany              www    http://www.dkrz.de
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Prof. Dr. Thomas Ludwig
Registergericht: Amtsgericht Hamburg, HRB 39784
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 05 03:53:46 2014

This archive was generated by hypermail 2.1.8 : Sat Jun 07 2014 - 11:03:12 MDT