Hello.
I am getting an error because I am trying to read a 4d variable into a
pre-assigned 3D array.
do ifil = 0, (numFILES-1)/4 ; BIG FILES LOOP ; NEW file loop
b = addfile(FILES(ifil*4+2)+".nc","r")
FNLv925(ifil,:,:) = b->VV(0,4,:,:)
In following the NCL basic tutorial, I see that reading-in a 4D
variable in such a way "should" reduce its dimensions, right?
What function will "squeeze" the 4D variable? Also, where is this
covered in the introduction to NCL, so that I can review it?
Sincerely,
Erik
Here is my error:
Erik_at_noble:/Volumes/Data_and_Models/ncl_scripts:ncl test_script2.ncl
Copyright (C) 1995-2007 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 5.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
Bad : modifier in $ ($).
fatal:Dimension size mismatch on subscript #1, left-hand and
right-hand side dimensions do not match
fatal:Execute: Error occurred at or near line 66 in file test_script2.ncl
Erik_at_noble:/Volumes/Data_and_Models/ncl_scripts:
My Code is attached.
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.2.0 : Tue Feb 05 2008 - 17:17:22 MST