Changeset 5348 for nappy


Ignore:
Timestamp:
28/05/09 16:22:57 (10 years ago)
Author:
astephen
Message:

Put command line test scripts in tests. They can be run from the run_cmd_line_tests.py script when in the scripts/ directory.

Location:
nappy/trunk/tests
Files:
2 added
3 edited

Legend:

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

    r5150 r5348  
    99na2nc.py -i ../../data_files/4010.na -o ../../test_outputs/4010.nc -n -t "days since 2008-01-01 00:00:00" 
    1010na2nc.py -i ../../data_files/4010.na -o ../../test_outputs/4010-renamed.nc -n -t "days since 2008-01-01 00:00:00" -r temperature,testvar1 
    11  
  • nappy/trunk/tests/tests-nc2csv.py.txt

    r5156 r5348  
    1 nc2csv.py  
     1nc2csv.py ../../test_outputs/ 
    22nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc.csv 
    33nc2csv.py -i ../../test_outputs/1010.nc -o ../../test_outputs/1010-from-nc.csv 
     
    55nc2csv.py -i ../../test_outputs/3010.nc -o ../../test_outputs/3010-from-nc.csv 
    66nc2csv.py -i ../../test_outputs/4010.nc -o ../../test_outputs/4010-from-nc.csv 
    7  
    8 nc2csv.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc-annot.csv --annotate 
    9 nc2csv.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc-float-format.csv -f "%.6f" 
    10 nc2csv.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc.csv 
    11 nc2csv.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc.csv 
    12 nc2csv.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc.csv 
     7nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-excludes.csv -e "Ascent Rate" 
     8nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-overwrite.csv --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
     9nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-as-padded-ints.csv -f "%03d" 
     10nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-csv.csv -d , 
     11nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-no-header.csv --no-header 
     12nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-annotated.csv --annotated 
     13nc2csv.py -i ../../test_outputs/1001.nc --names-only 
  • nappy/trunk/tests/tests-nc2na.py.txt

    r5156 r5348  
    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 
    5 nc2na.py -i ../../test_outputs/2110.nc -o ../../test_outputs/2110-from-nc.na 
    65nc2na.py -i ../../test_outputs/3010.nc -o ../../test_outputs/3010-from-nc.na 
    76nc2na.py -i ../../test_outputs/4010.nc -o ../../test_outputs/4010-from-nc.na 
    8  
    9 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-includes.na -v "ascent_rate,pressure" 
    107nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-excludes.na -e "Ascent Rate" 
    118nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-overwrite.na --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
     
    1512nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-annotated.na --annotated 
    1613nc2na.py -i ../../test_outputs/1001.nc --names-only 
    17  
    18 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps.na -d "\t" -f "%.2f" 
    19 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-tab-delim-2dps-annot.na -d "\t" -f "%.2f" --annotated 
    20 nc2na.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 
    21 nc2na.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 
    22 nc2na.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" 
    23  
    24 nc2na.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2110-from-nc-2010.na --ffi=2110 
    25 nc2na.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2310-from-nc-2010.na --ffi=2310 
    26 nc2na.py -i ../../test_outputs/1010.nc -o ../../test_outputs/1020-from-nc-1010.na --ffi=1020 
    27  
    28 echo "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.