Changeset 5156 for nappy/trunk/tests


Ignore:
Timestamp:
31/03/09 20:35:58 (11 years ago)
Author:
astephen
Message:

More tests on command line scripts.

Location:
nappy/trunk/tests
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/tests/tests-nc2na.py.txt

    r5150 r5156  
    33nc2na.py -i ../../test_outputs/1010.nc -o ../../test_outputs/1010-from-nc.na 
    44nc2na.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc.na 
     5nc2na.py -i ../../test_outputs/2110.nc -o ../../test_outputs/2110-from-nc.na 
    56nc2na.py -i ../../test_outputs/3010.nc -o ../../test_outputs/3010-from-nc.na 
    67nc2na.py -i ../../test_outputs/4010.nc -o ../../test_outputs/4010-from-nc.na 
    78 
     9nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-includes.na -v "ascent_rate,pressure" 
    810nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-excludes.na -e "Ascent Rate" 
    911nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-overwrite.na --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
    1012nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-as-padded-ints.na -f "%03d" 
    11 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-csv.na -s , 
     13nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-csv.na -d , 
    1214nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-no-header.na --no-header 
    1315nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-annotated.na --annotated 
    1416nc2na.py -i ../../test_outputs/1001.nc --names-only 
    1517 
    16 #    nc2na.py [-v <var_list>] [--ffi=<ffi>] [-f <float_format>] 
    17 #             [-s <delimiter>] [-l <limit_ffi_1001_rows>] 
    18 #             [-e <exclude_vars>] [--overwrite-metadata=<key1>,<value1>[,<key2>,<value2>[...]]] 
    19 #             [--names-only] 
    20 #             -i <nc_file> [-o <na_file>] 
     18nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps.na -d "\t" -f "%.2f" 
     19nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps-annot.na -d "\t" -f "%.2f" --annotated 
     20nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps-annot-nohead.na -d "\t" -f "%.2f" --annotated --no-header 
     21nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps-annot-nohead-overwrite.na -d "\t" -f "%.2f" --annotated --no-header --overwrite-metadata=ONAME,i_was_oname,ORG,i_was_org 
     22nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps-annot-nohead-overwrite-exclude.na -d "\t" -f "%.2f" --annotated --no-header --overwrite-metadata=ONAME,i_was_oname,ORG,i_was_org -e "Ascent Rate" 
    2123 
     24nc2na.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2110-from-nc-2010.na --ffi=2110 
     25nc2na.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2310-from-nc-2010.na --ffi=2310 
     26nc2na.py -i ../../test_outputs/1010.nc -o ../../test_outputs/1020-from-nc-1010.na --ffi=1020 
     27 
     28echo "WHY DOES -e NOT WORK?? WHY DOES no-header not work, what about -v???" 
     29 
Note: See TracChangeset for help on using the changeset viewer.