Re: ESMF_regrid errors with new ESMF_regridding.ncl in V6.1.0-beta

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 30 2012 - 16:47:20 MDT

Hi David,

It simply looks like you have an older "contributed.ncl" script that doesn't have the "copy_VarAtts_except" procedure in it.

Is this line:

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"

pointing to the new (6.1.0-beta) version of NCL? That is, did you update NCARG_ROOT to point to the parent directory of the NCL 6.1.0-beta installation?

--Mary

On Aug 30, 2012, at 12:44 PM, David Gochis wrote:

> Hi,
>
> I have been attempting to use the ESMF_regrid function to regrid data from
> one (larger) WRF geogrid file to a smaller WRF geogrid file. (The smaller
> domain is completely inside the larger domain.) I have attempted this
> with several different ncl template scripts, only changing source and
> destination filenames and variable names. I am using ncl V6.1.0-beta and
> have downloaded the most recent ESMF_regridding.ncl file and am calling if
> from a local directory. No matter what template script I use (e.g.
> 'ESMF_regrid_template.ncl' or 'ESMF_WRF_to_curv.ncl'-both attached) I receive the same
> errors that appear to be related to the 'ESMF_regridding.ncl' script or
> possibly the data it is trying to obtain from the WRF geogrid files.
>
> The command line execution and subsequent errors I receive are given below
> and as you can see, it seems all errors are related to ESMF_regridding.ncl.
>
> The system info is:
> Linux chiltapin 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64
> GNU/Linux
>
> The ncl version info is:
> 6.1.0-beta
>
> The ESMF_regrid_template.ncl or ESMF_WRF_to_curv.ncl and the
> ESMF_regridding.ncl scripts are attached. Are there any known issues
> with running ESMF_regridders on WRF geogrid files or any other guidance
> you can provide? (I can make the geogrid files available if need be...)
>
>
> Thanks, Dave
>
>
>
>
>
>>>>> Begin command line and error output>>>>
> [280] /scratch/gochis/NDHMS_sub_domain_forcing_regridder % ncl
> ESMF_WRF_to_curv.ncl
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0-beta
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> fatal:syntax error: line 415 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
> before or near \n
> copy_VarAtts_except(inVar,outVar,"_FillValue")
> --------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 417 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
>
> fatal:syntax error: line 2001 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
> before or near \n
> copy_VarAtts_except(sd,sd_regrid,new_atts_to_skip)
> --------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 2003 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
> before or near \n
> copy_VarAtts_except(sd,sd_regrid,atts_to_skip)
> ----------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 2016 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
>
> fatal:syntax error: line 2533 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
> before or near \n
> ESMF_copy_varmeta(srcData,dstData,wgtFile,opt)
> ------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 2543 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
>
> fatal:syntax error: line 2976 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
> before or near \n
> ESMF_copy_varmeta(srcData,srcData_regrid,wgt_file_name,opt2)
> --------------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 3001 in file
> /scratch/gochis/NDHMS_sub_domain_forcing_regridder/ESMF_regridding.ncl
>
> fatal:Undefined identifier: (ESMF_regrid) is undefined, can't continue
> fatal:["Execute.c":7556]:Execute: Error occurred at or near line 76 in
> file ESMF_WRF_to_curv.ncl
>
> [281] /scratch/gochis/NDHMS_sub_domain_forcing_regridder %
> <ESMF_regrid_template_gochis.ncl><ESMF_regridding.ncl><ESMF_WRF_to_curv.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 30 16:47:30 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT