Ignore:
Timestamp:
Jun 7, 2010, 1:04:42 PM (13 years ago)
Author:
hudson
Message:

urs2sww has an extra urs_ungridded2sww function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file_conversion/urs2nc.py

    r7776 r7800  
    1 
    2 ##
    3 # @brief Convert 3 URS files back to 4 NC files.
    4 # @param basename_in Stem of the input filenames.
    5 # @param basename_outStem of the output filenames.
    6 # @note The name of the urs file names must be:
    7 #          [basename_in]-z-mux
    8 #          [basename_in]-e-mux
    9 #          [basename_in]-n-mux
     1import os
     2from struct import pack, unpack
     3import array as p_array
     4import numpy as num
     5
     6from anuga.utilities.numerical_tools import ensure_numeric   
     7from anuga.caching.caching import myhash
     8
     9from anuga.file.netcdf import Write_nc, write_elevation_nc
     10
     11
     12from mux import WAVEHEIGHT_MUX_LABEL, EAST_VELOCITY_LABEL, \
     13                            NORTH_VELOCITY_LABEL
     14
     15
    1016def urs2nc(basename_in='o', basename_out='urs'):
    1117    """Convert the 3 urs files to 4 nc files.
Note: See TracChangeset for help on using the changeset viewer.