Opened 16 years ago

Closed 16 years ago

#148 closed defect (invalid)

problem with loading .pts file in Sri lanka

Reported by: nick Owned by: duncan
Priority: normal Milestone:
Component: Functionality and features Version: 1.0
Severity: normal Keywords:


run on cyclone on one cpu G2 = Geospatial_data(file_name = project.hikka_name + '.pts')

error below

it seems that the verison of Anuga Samam is running doesn't have this assertion and therefore passes

self.false_northing 0.0 DEFAULT_FALSE_NORTHING 10000000 Traceback (most recent call last):

File "", line 70, in ?

G2 = Geospatial_data(file_name = project.hikka_name + '.pts')

File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/", line 162, in init

self.import_points_file(file_name, delimiter, verbose)

File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/", line 532, in import_points_file

data_points, attributes, geo_reference =\

File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/", line 895, in _read_pts_file

geo_reference = Geo_reference(NetCDFObject=fid)

File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/coordinate_transforms/", line 65, in init


File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/coordinate_transforms/", line 123, in read_NetCDF

assert (self.false_northing == DEFAULT_FALSE_NORTHING)


it is late in the day, i can more info if needed

Change History (1)

comment:1 Changed 16 years ago by duncan

  • Resolution set to invalid
  • Status changed from new to closed

I've changed the assert to a warning. Note anuga does not check the false northings. So if two data sets have different false northings they will not be using the same co-ordinates and ANGUGA will not know.

Note: See TracTickets for help on using tickets.