Hi,
I have a similar problem as Issue 117 but with a 0-length variable:
sta_name = nc.createVariable('station_name',str,())
sta_name.cf_role = "timeseries_id"
sta_name.long_name = "station name"
print sta_name[0] # <-- this fails
sta_name[0] = station['name'] # <-- this fails too
the print line gives:
AttributeError: 'str' object has no attribute 'shape'
the assignement lien gives:
IndexError: single element VLEN slices must be specified by integers only
I have the latest stable release
Original issue reported on code.google.com by ghislain...@yahoo.fr on 13 Sep 2012 at 1:37
Original issue reported on code.google.com by
ghislain...@yahoo.fr
on 13 Sep 2012 at 1:37