array dimension change

From: Yang Yang <yang123yang_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 06 2010 - 17:39:01 MDT

Hello:

In a NCL script, I have the following block to change the dims of an array from 3 to 2:

sm = new((/365*24,55/),float)
do k = 0, 54
do i = 0, 364
do j = 0, 23
sm(i*24+j,k)= dble2flt( smm(i,j,k))
end do
end do
end do
printVarSummary(smm)

However, I got the many warning information:

warning:Dimension (0) has not been defined
warning:Dimension (0) has not been defined
warning:Dimension (0) has not been defined

Variable: smm
Type: double
Total Size: 3854400 bytes
            481800 values
Number of Dimensions: 3
Dimensions and sizes: [365] x [24] x [55]
Coordinates:

Can you please tell me why NCL had the warning for me? Anything wrong?

Thank you very much!

Cheers!
Ed

      
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 6 17:39:08 2010

This archive was generated by hypermail 2.1.8 : Thu Sep 09 2010 - 05:56:39 MDT