Ignore:
Timestamp:
Nov 16, 2006, 10:47:58 AM (18 years ago)
Author:
sexton
Message:

update GIS documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/extras/thinbathy.py

    r3677 r4000  
    1515
    1616    fid = NetCDFFile(input_file, 'r')
     17    print fid.variables
    1718
     19    # for first event
    1820    latitudes = fid.variables['LAT'][::lat_thin]
    1921    longitudes = fid.variables['LON'][::lon_thin]
     
    2123
    2224    outfile = NetCDFFile(output_file, 'w')
    23     outfile.createDimension('LON', fid.dimensions['LON']/lon_thin) # + 1)
    24     outfile.createDimension('LAT', fid.dimensions['LAT']/lat_thin) # + 1)
     25    outfile.createDimension('LON', fid.dimensions['LON']/lon_thin)
     26    outfile.createDimension('LAT', fid.dimensions['LAT']/lat_thin)
     27   
     28##    # for second event
     29##    latitudes = fid.variables['LAT601_690'][::lat_thin]
     30##    longitudes = fid.variables['LON645_705'][::lon_thin]
     31##    elevations = fid.variables['ELEVATION'][::lat_thin,::lon_thin]
     32##
     33##    outfile = NetCDFFile(output_file, 'w')
     34##    outfile.createDimension('LON', fid.dimensions['LON645_705']/lon_thin + 1)
     35##    outfile.createDimension('LAT', fid.dimensions['LAT601_690']/lat_thin + 1)
    2536
    2637    import Numeric
Note: See TracChangeset for help on using the changeset viewer.