Ignore:
Timestamp:
Mar 27, 2013, 8:04:00 PM (12 years ago)
Author:
steve
Message:

Some changes to allow netcdf4 use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file/sts.py

    r8143 r8780  
    11import numpy as num
    22import anuga.utilities.log as log
    3 from Scientific.IO.NetCDF import NetCDFFile
     3from anuga.file.netcdf import NetCDFFile
    44
    55from anuga.config import max_float
     
    275275        raise IOError(msg)
    276276
    277     xllcorner = fid.xllcorner[0]
    278     yllcorner = fid.yllcorner[0]
     277    xllcorner = fid.xllcorner
     278    yllcorner = fid.yllcorner
    279279
    280280    #Points stored in sts file are normalised to [xllcorner,yllcorner] but
Note: See TracChangeset for help on using the changeset viewer.