Dear NCL users,
I have a problem with the function filedimdef when I am trying to create a netcdf file. I looked through the materials in NCL website and forum but not have a clue about what is wrong. Here is my script. Thanks
file_out = addfile("QC_Day.nc","cw")
name_dim1=(/"south_north","west_east"/)
size_dim1=(/128,164/)
unlim_dim1=new(2,logical)
unlim_dim1=(/False,False/)
filedimdef=(file_out,name_dim1,size_dim1,unlim_dim1)
And I got error message:
fatal:syntax error: before or near =
filedimdef=
--------------^
fatal:error in statement
fatal:Syntax Error in block, block not executed
I have printed out the name_dim1 size_dim1 unlim_dim1 and they all look good
I really have no idea what is wrong
Thanks
Best
Peng Liu
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 29 13:59:06 2013
This archive was generated by hypermail 2.1.8 : Tue Jan 29 2013 - 22:44:26 MST