Changeset 1812 for inundation/pyvolution
- Timestamp:
- Sep 8, 2005, 5:49:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/ermapper_grids.py
r1804 r1812 93 93 94 94 def create_default_header(header): 95 pass96 95 # fill any blanks in a header dictionary with default values 97 96 # input parameters: 98 97 # header: a dictionary containing fields that are not meant 99 98 # to be filled with default values 99 100 ## projection = 'GEOGRAPHIC', 101 ## coordinate_type = 'LL', rotation = '0:0:0.0', 102 ## cell_type = 'IEEE4ByteReal', null_value = '-99999', 103 ## x_dim = '100', x_ll = '0:0:0', y_dim = '100', y_ll = '0:0:0', 104 ## num_lines = '3', num_cells = '4', num_bands = '1', 105 ## band_id = 'band1') 106 if not header.has_key('datum'): 107 header['datum'] = 'GDA94' 108 if not header.has_key('projection'): 109 header['datum'] = 'GEOGRAPHIC' 110 111 return header 112 113 114 100 115 101 116
Note: See TracChangeset
for help on using the changeset viewer.