Ignore:
Timestamp:
26/02/08 19:35:08 (12 years ago)
Author:
astephen
Message:

Fixed tests and some bugs in na_content_collector.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/nc_interface/test_1010_to_1020.py

    r3470 r3522  
     1import nappy.nc_interface.na_to_nc 
    12import cdms 
    23 
     4print "Converting NAFile to NC file 1010.na" 
     5ncfile = "../../test_outputs/1010.nc" 
     6nafile = "../../data_files/1010.na" 
     7 
     8n = nappy.nc_interface.na_to_nc.NAToNC(nafile) 
     9n.writeNCFile(ncfile) 
    310print "Writing a 1020 file from 1010 already converted to NetCDF..." 
    4 ncfile = "../../test_outputs/1010.nc" 
    511f=cdms.open(ncfile) 
    612p_new = f('pressure', altitude=(10,85)) 
Note: See TracChangeset for help on using the changeset viewer.