dimension size parameter error

From: Erik Noble <enoble_at_nyahnyahspammersnyahnyah>
Date: Wed, 6 Feb 2008 15:38:36 -0500

Hi.
I am getting an error that says:
"fatal:New: the dimension size parameter is the wrong type an integer
value was expected"

when i have this syntax in my code
nvtimes = floor((ntimes-1)/8) ; ntimes = 487, nvtimes
should equal "60"
print(nvtimes)
V925 = new((/nvtimes, 109, 139/),"float")

But when I just state an integer, I don't get an error.
nvtimes = 60
print(nvtimes)
V925 = new((/nvtimes, 109, 139/),"float")

Variable: nvtimes
Type: integer
Total Size: 4 bytes
            1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) 60

How can I correct calling in the named dimension size parameter?
-Erik
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 06 2008 - 13:38:36 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 07 2008 - 08:58:57 MST