From: Carl Schreck <Carl.Schreck_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 10 2011 - 12:21:51 MST

I just noticed a slight quirk with asciiread. I don't think this is new to
v6, but I just noticed because of the new _FillValues.

If you specify the dimensions that you're reading, e.g.:

  z1 = asciiread("data.asc",(/5,3/),"float")
  z2 = asciiread("data.asc",(/4,2/),"float")

then it attaches the _FillValue automatically. But if you don't specify the

  z3 = asciiread("data.asc",-1,"float")

then it doesn't attach a _FillValue. Very minor inconvenience to manually
attach it, but maybe it'd be easy to fix--or at least to document.


Carl J. Schreck III, PhD
Postdoctoral Research Associate
Cooperative Institute for Climate and Satellites (CICS-NC)
NOAA's National Climatic Data Center
151 Patton Avenue
Asheville, NC 28801
Tel: 828-257-3140

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Mar 10 12:22:55 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 10 2011 - 21:44:37 MST