Dimension mismatch in DO LOOP

From: Cannavina, Dominique <d.cannavina11_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 08 2012 - 12:44:33 MDT

Hi

I am having a problem trying to match the dimensions in a DO LOOP that I am using to extract data from a DEMETER (ECMWF) file

Initially I had the term;

t2_uk = wrf_user_getvar(a,"ukmo",itime) ; T2 in Kelvin

but got the following error,

fatal:Number of subscripts on rhs do not match number of dimensions of aggregated join type variable, (4) Subscripts used, (5) Subscripts expected

fatal:Execute: Error occurred at or near line 1678 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl

 

fatal:Execute: Error occurred at or near line 73 in file WRF/ECMWF_DEMETER/plt_min2m_allmodels_allensembles_all_days.ncl

so I changed the statement to

t2_uk = wrf_user_getvar(a[:],"ukmo",itime) ; T2 in Kelvin

to try and match the dimensions but receievd the following error

fatal:_NclBuildArray: Arrays of files are not yet supported

fatal:Execute: Error occurred at or near line 73 in file /WRF/ECMWF_DEMETER/plt_min2m_allmodels_allensembles_all_days.ncl

Attached is the script that I ran and also the error file including some of the datavaraibles printed from the data file.

Any help would be much appreciated

Kind regards

Dominique

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Fri Jun 8 12:45:31 2012

This archive was generated by hypermail 2.1.8 : Tue Jun 12 2012 - 13:58:38 MDT