Re: monthly to daily

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 23 Oct 2006 07:51:22 -0600 (MDT)

Hi Siji,

The "linint1_Wrap" function is part of "contributed.ncl", but I see
that in this file, it is actually being defined *after* the function
"clmMon2clmDay" is defined. In NCL, you must define functions before
you can call them from another function, even if they are in the same
script. I will see that you get a fix shortly.

--Mary

On Mon, 23 Oct 2006, Sijikumar S wrote:

> Hi,
> I am trying to create daily data from monthly data with function
> clmMon2clmDay, but get undefined error. Details are following
>
> NCAR Command Language Version 4.2.0.a034
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> ncl 1> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
> ncl 2> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
> ncl 3> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
> ncl 4>
> ncl 5>
> ncl 6> f1=addfile("sst_1980.nc","r")
> ncl 7> f2=addfile("msst_1980.nc","c")
> ncl 8> sst=f1->SST
> ncl 9> dsst= clmMon2clmDay(sst,0,0)
> fatal:Undefined identifier: (linint1_Wrap) is undefined, can't continue
> fatal:Execute: Error occurred at or near line 3244 in file
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
>
> fatal:Execute: Error occurred at or near line 9
>
> ncl 10> printVarSummary(sst)
>
>
> Variable: sst
> Type: integer
> Total Size: 768960 bytes
> 192240 values
> Number of Dimensions: 3
> Dimensions and sizes: [time | 12] x [lat | 89] x [lon | 180]
> Coordinates:
> time: [ 1.. 12]
> lat: [-88..88]
> lon: [ 0..358]
> Number Of Attributes: 0
> ncl 11>
>
> Thanks for any suggestions.
>
> siji
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 23 2006 - 07:51:22 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 23 2006 - 08:51:16 MDT