Ticket #871 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

[M] getDomain gives attributeerror

Reported by: lawrence Owned by: domlowe
Priority: required Milestone: PROD Final
Component: CSML Version:
Keywords: Cc:


generated as follows

print f.getAxisLabels()
['time', 'latitude', 'longitude']
>>> print f.getDomain()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bnl/lib/python2.5/site-packages/csml-2.0b_r2837-py2.5.egg/csml/API/ops_GridSeriesFeature.py", line 33, in getDomain
    self.domain[name], fill, axisorder, units=gridOrd.coordAxisValues.insertedExtract.getData()
  File "/home/bnl/lib/python2.5/site-packages/csml-2.0b_r2837-py2.5.egg/csml/API/ops_FileExtract.py", line 67, in getData
  File "/home/bnl/lib/python2.5/site-packages/csml-2.0b_r2837-py2.5.egg/csml/csmllibs/csmldataiface.py", line 404, in setAxis
AttributeError: 'cdunifInterface' object has no attribute 'file'

This is running on my sandbox, where the file doesn't exist, but it should give a meaningful error if that's the problem ...

Change History

comment:1 Changed 14 years ago by lawrence

Ok, I know that it's the file not being present that is the problem ... but we still need a meaningful error ...

comment:2 Changed 14 years ago by domlowe

  • Status changed from new to assigned

comment:3 Changed 13 years ago by domlowe

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in 3043

Note: See TracTickets for help on using tickets.