Re: ESMF Regrid

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 05 2013 - 09:54:33 MST

Yes, you need to upgrade because you need to have the "sparse_matrix_mult"
routine that's built into the 6.1.x "ncl" executable, and the ESMF_RegridWeightGen
executable that comes with NCL V6.1.x.

--Mary

On Feb 5, 2013, at 8:46 AM, gibies george wrote:

> Dear friends,
>
> I tried to use ESMF Regrid function in NCL v6.0.0 by manualy placing ESMF_regridding.ncl script on my working directory. It shows the following bunch of errors. Does it reveal that the upgradation of NCL to version 6.1.0 is necessary for using this function.
>
>
> bash-3.2$ ncl regrid_test.ncl
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> fatal:syntax error: line 226 in file ESMF_regridding.ncl before or near )
> return(get_cpu_time()
> ------------------------^
>
> fatal:error in statement
> fatal:Syntax Error in block, block not executed
> fatal:error at line 228 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 243 in file ESMF_regridding.ncl before or near )
> diff_time = get_cpu_time()
> -----------------------------^
>
> fatal:Syntax Error in block, block not executed
> fatal:error at line 246 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 430 in file 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 432 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 884 in file ESMF_regridding.ncl before or near )
> start_time = get_start_time()
> ----------------------------------^
>
> fatal:syntax error: line 1048 in file ESMF_regridding.ncl before or near \n
> print_elapsed_time(start_time,"unstructured_to_ESMF")
> -----------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 1050 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 1078 in file ESMF_regridding.ncl before or near )
> start_time = get_start_time()
> ----------------------------------^
>
> fatal:syntax error: line 1236 in file ESMF_regridding.ncl before or near \n
> print_elapsed_time(start_time,"curvilinear_to_SCRIP")
> -----------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 1238 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 1255 in file ESMF_regridding.ncl before or near )
> start_time = get_start_time()
> ----------------------------------^
>
> fatal:syntax error: line 1277 in file ESMF_regridding.ncl before or near \n
> curvilinear_to_SCRIP(FName,grid_center_lat,grid_center_lon,Opt2)
> --------------------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 1280 in file ESMF_regridding.ncl before or near \n
> print_elapsed_time(start_time,"rectilinear_to_SCRIP")
> -----------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 1282 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 1512 in file ESMF_regridding.ncl before or near \n
> curvilinear_to_SCRIP(SCRIPFName,grid_center_lat,grid_center_lon,Opt)
> ------------------------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 1513 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 1546 in file ESMF_regridding.ncl before or near )
> start_time = get_start_time()
> --------------------------------^
>
> fatal:syntax error: line 1667 in file ESMF_regridding.ncl before or near \n
> curvilinear_to_SCRIP(FName,grid_center_lat,grid_center_lon,Opt)
> -----------------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 1674 in file ESMF_regridding.ncl before or near \n
> print_elapsed_time(start_time,"latlon_to_SCRIP")
> ----------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 1676 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 2045 in file 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 2047 in file 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 2060 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 2141 in file ESMF_regridding.ncl before or near )
> start_time = get_start_time()
> --------------------------------^
>
> fatal:syntax error: line 2317 in file ESMF_regridding.ncl before or near \n
> print_elapsed_time(start_time,"ESMF_regrid_gen_weights")
> ------------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 2320 in file ESMF_regridding.ncl
>
> fatal:syntax error: line 2356 in file ESMF_regridding.ncl before or near )
> start_time = get_start_time()
> --------------------------------^
>
> fatal:syntax error: line 19 in file regrid_test.ncl before or near )
> Opt@DstURCorner = (/ 90.d, 359.d)
> ----------------------------------------^
>
> fatal:syntax error: line -1 before or near
>
> ^
>
> fatal:error in statement
> warning:_NclRetrieveRec: Stack underflow
>
> warning:_NclRetrieveRec: Stack underflow
>
> warning:_NclRetrieveRec: Stack underflow
>
> warning:_NclRetrieveRec: Stack underflow
>
> warning:_NclRetrieveRec: Stack underflow
>
> warning:_NclRetrieveRec: Stack underflow
>
>
> --
> Gibies George,
> CSIR-Senior Research Fellow,
> Program for Model development and seasonal prediction,
> Climate and Global Modelling Division,
> Indian Institute of Tropical Meteorology,
> Dr. Homi Bhabha Road,
> NCL (P. O.), Pashan,
> Pune 411008, India.
> Tel. Off. +912025904423
> Mobile : +919028523910
> +919881707796
>
> http://sites.google.com/site/gibiesge/
>
>
> <earth_day_graphics_11.gif>Every 3000 pages cost a tree; please do not print this e-mail unless you really need.
>
> SAVE TREES, SAVE MOTHER EARTH
>
>
> _______________________________________________
> 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 Tue Feb 5 09:54:41 2013

This archive was generated by hypermail 2.1.8 : Wed Feb 06 2013 - 16:37:00 MST