linint2

From: gibies george <gibies_at_nyahnyahspammersnyahnyah>
Date: Sun Dec 05 2010 - 01:13:00 MST

Dear NCL users,

I have used the NCL builtin function

-------------------------------------
--------------------------------------
-------------------------------------

regrid =True
regrid@lat =vector&lat
regrid@lon =vector&lon
regrid@season =vector&season
regrid@ssnmonths =vector@ssnmonths
vector(:,:,:,:,pos) = read_multiseasonal_data
(y1,yn,component(pos),region,regrid)
---------------------------------------
-----------------------------------------
----------------------------------------
_______________________________________________________________________________________

                                 * Script inside
function read_multiseasonal_data() is as follows. *
-----------------------------------------
---------------------------------------
------------------------------------------

if (rgrid) then
ssn_regrid= linint2 (ssn&lon, ssn&lat, ssn, False, rgrid@lon, rgrid@lat, 0)
ssn_regrid!0 = "time"
   ssn_regrid!1 = "lat"
   ssn_regrid!2 = "lon"
ssn_regrid!3 = "season"
ssn_regrid&time = time
ssn_regrid&lat = rgrid@lat
ssn_regrid&lon = rgrid@lon
----------------------------------------
--------------------------------------
---------------------------------------
________________________________________________________________________________________

My script gives an error from linint().

The error is given below in red font.

Can anybody help me to rectify this problem?

 The output from my program is as follows.

Variable: rgrid (parameter)
Type: logical
Total Size: 4 bytes
            1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
Number Of Attributes: 4
  ssnmonths : ( 6, 9, 10, 12 )
  season : ( JJAS, OND )
  lon : <ARRAY of 144 elements>
  lat : <ARRAY of 73 elements>
(0) True
(0) Calculating the Seasonal Mean v JJAS ( 6 - 9 )
(0) Calculating the Seasonal Mean v OND ( 10 - 12 )

fatal:linint2: *The rightmost dimensions of fi must be nyi x nxi*, where nyi
and nxi are the lengths of yi and xi respectively
fatal:Execute: Error occurred at or near line 777 in file eof4d.ncl

fatal:Execute: Error occurred at or near line 898 in file eof4d.ncl

fatal:Execute: Error occurred at or near line 1026 in file eof4d.ncl

-- 
*Gibies George,   CSIR-RF,
Climate and Global Modelling Division,
Indian Institute of Tropical Meteorology,
Dr. Homi Bhabha Road,
NCL (P. O.), Pashan,
Pune 411008, India.*
*http://sites.google.com/site/gibiesge/*
Think about the environment. Save paper; Save Trees. Please don't print this
e-mail unless it is necessary.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Dec 5 01:13:07 2010

This archive was generated by hypermail 2.1.8 : Mon Dec 06 2010 - 09:18:09 MST