Changeset 5900 for nappy


Ignore:
Timestamp:
29/10/09 11:55:38 (10 years ago)
Author:
astephen
Message:

Fixed command line tests.

Location:
nappy/trunk/tests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/tests/run_cmd_line_tests.py

    r5150 r5900  
    3535    if limited_tests and count not in limited_tests: 
    3636        continue 
     37 
     38    test = "python " + test 
     39    print "\n\n\n================================================================================" 
     40    print "         Test number: %s  " % count 
     41    print "===================================================================================" 
    3742    print "Running: ", test 
    3843    os.system(test)  
  • nappy/trunk/tests/tests-na2nc.py.txt

    r5348 r5900  
    1 na2nc.py 
    2 na2nc.py -i ../../data_files/1001.na -o ../../test_outputs/1001.nc -n -t "days since 2008-01-01 00:00:00" 
    3 na2nc.py -i ../../data_files/1001.na -o ../../test_outputs/1001-renamed.nc -n -t "days since 2008-01-01 00:00:00" -r pressure,measurep 
    4 na2nc.py -i ../../data_files/1001.na -o ../../test_outputs/1001-global-atts.nc -n -t "days since 2008-01-01 00:00:00" -g "useful_info","happy days" 
    5 na2nc.py -i ../../data_files/1010.na -o ../../test_outputs/1010.nc -n -t "days since 2008-01-01 00:00:00" 
    6 na2nc.py -i ../../data_files/1010.na -o ../../test_outputs/1010-v0-only.nc -n -t "days since 2008-01-01 00:00:00" -v 0 
    7 na2nc.py -i ../../data_files/2010.na -o ../../test_outputs/2010.nc -n -t "days since 2008-01-01 00:00:00" 
    8 na2nc.py -i ../../data_files/3010.na -o ../../test_outputs/3010.nc -n -t "days since 2008-01-01 00:00:00" 
    9 na2nc.py -i ../../data_files/4010.na -o ../../test_outputs/4010.nc -n -t "days since 2008-01-01 00:00:00" 
    10 na2nc.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 
     1../nappy/script/na2nc.py 
     2../nappy/script/na2nc.py -i ../data_files/1001.na -o ../test_outputs/1001.nc -n -t "days since 2008-01-01 00:00:00" 
     3../nappy/script/na2nc.py -i ../data_files/1001.na -o ../test_outputs/1001-renamed.nc -n -t "days since 2008-01-01 00:00:00" -r pressure,measurep 
     4../nappy/script/na2nc.py -i ../data_files/1001.na -o ../test_outputs/1001-global-atts.nc -n -t "days since 2008-01-01 00:00:00" -g "useful_info","happy days" 
     5../nappy/script/na2nc.py -i ../data_files/1010.na -o ../test_outputs/1010.nc -n -t "days since 2008-01-01 00:00:00" 
     6../nappy/script/na2nc.py -i ../data_files/1010.na -o ../test_outputs/1010-v0-only.nc -n -t "days since 2008-01-01 00:00:00" -v 0 
     7../nappy/script/na2nc.py -i ../data_files/2010.na -o ../test_outputs/2010.nc -n -t "days since 2008-01-01 00:00:00" 
     8../nappy/script/na2nc.py -i ../data_files/3010.na -o ../test_outputs/3010.nc -n -t "days since 2008-01-01 00:00:00" 
     9../nappy/script/na2nc.py -i ../data_files/4010.na -o ../test_outputs/4010.nc -n -t "days since 2008-01-01 00:00:00" 
     10../nappy/script/na2nc.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 
  • nappy/trunk/tests/tests-na_badc_files.txt

    r5348 r5900  
    1 na2nc.py -i ../../../nappy_test_files/na_files/bas-2b-o3_halley_20040301.na -o ../../test_outputs/bas-2b-o3_halley_20040301.na.nc 
    2 na2nc.py -i ../../../nappy_test_files/na_files/bas-aerolaser-hcho_halley_20050105_v2.na -o ../../test_outputs/bas-aerolaser-hcho_halley_20050105_v2.na.nc 
    3 na2nc.py -i ../../../nappy_test_files/na_files/cv-met-tower_capeverde_20080201.na -o ../../test_outputs/cv-met-tower_capeverde_20080201.na.nc 
    4 na2nc.py -i ../../../nappy_test_files/na_files/cv-noxy_capeverde_20080301.na -o ../../test_outputs/cv-noxy_capeverde_20080301.na.nc 
    5 na2nc.py -i ../../../nappy_test_files/na_files/leeds-dph_halley_20050110.na -o ../../test_outputs/leeds-dph_halley_20050110.na.nc 
    6 na2nc.py -i ../../../nappy_test_files/na_files/leeds-fage-io_roscoff_20060927.na -o ../../test_outputs/leeds-fage-io_roscoff_20060927.na.nc 
    7 na2nc.py -i ../../../nappy_test_files/na_files/man-ams_faam_20070726_r0_b312.na -o ../../test_outputs/man-ams_faam_20070726_r0_b312.na.nc 
    8 na2nc.py -i ../../../nappy_test_files/na_files/met-sensors_capel-dewi_20080701.na -o ../../test_outputs/met-sensors_capel-dewi_20080701.na.nc 
    9 na2nc.py -i ../../../nappy_test_files/na_files/rdg-pims_weybourne_20040504_pims-geigers.na -o ../../test_outputs/rdg-pims_weybourne_20040504_pims-geigers.na.nc 
    10 na2nc.py -i ../../../nappy_test_files/na_files/synop20000515.na -o ../../test_outputs/synop20000515.na.nc 
    11 na2nc.py -i ../../../nappy_test_files/na_files/uea-gc-ms_halley_20050112_rono2-br-cl-summer05-v1.na -o ../../test_outputs/uea-gc-ms_halley_20050112_rono2-br-cl-summer05-v1.na.nc 
    12 na2nc.py -i ../../../nappy_test_files/na_files/uea-pan_halley_20040706_pan-all-v1.na -o ../../test_outputs/uea-pan_halley_20040706_pan-all-v1.na.nc 
    13 na2nc.py -i ../../../nappy_test_files/na_files/uea-wao-chem_weybourne_20050201_chemistry.na -o ../../test_outputs/uea-wao-chem_weybourne_20050201_chemistry.na.nc 
    14 na2nc.py -i ../../../nappy_test_files/na_files/york-ats-gc-tof_djougou_20060602_r1.na -o ../../test_outputs/york-ats-gc-tof_djougou_20060602_r1.na.nc 
     1../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/bas-2b-o3_halley_20040301.na -o ../test_outputs/bas-2b-o3_halley_20040301.na.nc 
     2../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/bas-aerolaser-hcho_halley_20050105_v2.na -o ../test_outputs/bas-aerolaser-hcho_halley_20050105_v2.na.nc 
     3../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/cv-met-tower_capeverde_20080201.na -o ../test_outputs/cv-met-tower_capeverde_20080201.na.nc 
     4../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/cv-noxy_capeverde_20080301.na -o ../test_outputs/cv-noxy_capeverde_20080301.na.nc 
     5../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/leeds-dph_halley_20050110.na -o ../test_outputs/leeds-dph_halley_20050110.na.nc 
     6../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/leeds-fage-io_roscoff_20060927.na -o ../test_outputs/leeds-fage-io_roscoff_20060927.na.nc 
     7../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/man-ams_faam_20070726_r0_b312.na -o ../test_outputs/man-ams_faam_20070726_r0_b312.na.nc 
     8../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/met-sensors_capel-dewi_20080701.na -o ../test_outputs/met-sensors_capel-dewi_20080701.na.nc 
     9../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/rdg-pims_weybourne_20040504_pims-geigers.na -o ../test_outputs/rdg-pims_weybourne_20040504_pims-geigers.na.nc 
     10../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/synop20000515.na -o ../test_outputs/synop20000515.na.nc 
     11../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/uea-gc-ms_halley_20050112_rono2-br-cl-summer05-v1.na -o ../test_outputs/uea-gc-ms_halley_20050112_rono2-br-cl-summer05-v1.na.nc 
     12../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/uea-pan_halley_20040706_pan-all-v1.na -o ../test_outputs/uea-pan_halley_20040706_pan-all-v1.na.nc 
     13../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/uea-wao-chem_weybourne_20050201_chemistry.na -o ../test_outputs/uea-wao-chem_weybourne_20050201_chemistry.na.nc 
     14../nappy/script/na2nc.py -i ../../nappy_test_files/na_files/york-ats-gc-tof_djougou_20060602_r1.na -o ../test_outputs/york-ats-gc-tof_djougou_20060602_r1.na.nc 
  • nappy/trunk/tests/tests-nc2csv.py.txt

    r5545 r5900  
    1 nc2csv.py ../../test_outputs/ 
    2 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc.csv 
    3 nc2csv.py -i ../../test_outputs/1010.nc -o ../../test_outputs/1010-from-nc.csv 
    4 nc2csv.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc.csv 
    5 nc2csv.py -i ../../test_outputs/3010.nc -o ../../test_outputs/3010-from-nc.csv 
    6 nc2csv.py -i ../../test_outputs/4010.nc -o ../../test_outputs/4010-from-nc.csv 
    7 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-excludes.csv -e "Ascent Rate" 
    8 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-overwrite.csv --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
    9 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-as-padded-ints.csv -f "%03d" 
    10 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-csv.csv -d , 
    11 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-no-header.csv --no-header 
    12 nc2csv.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-annotated.csv --annotated 
    13 nc2csv.py -i ../../test_outputs/1001.nc --names-only 
    14 -c "print 'NOTE: If all tests failed try running the na2nc tests first, because they are needed to generate the nc files!'" 
     1../nappy/script/nc2csv.py ../test_outputs/ 
     2../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc.csv 
     3../nappy/script/nc2csv.py -i ../test_outputs/1010.nc -o ../test_outputs/1010-from-nc.csv 
     4../nappy/script/nc2csv.py -i ../test_outputs/2010.nc -o ../test_outputs/2010-from-nc.csv 
     5../nappy/script/nc2csv.py -i ../test_outputs/3010.nc -o ../test_outputs/3010-from-nc.csv 
     6../nappy/script/nc2csv.py -i ../test_outputs/4010.nc -o ../test_outputs/4010-from-nc.csv 
     7../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-excludes.csv -e "Ascent Rate" 
     8../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-overwrite.csv --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
     9../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-as-padded-ints.csv -f "%03d" 
     10../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-csv.csv -d , 
     11../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-no-header.csv --no-header 
     12../nappy/script/nc2csv.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-annotated.csv --annotated 
     13../nappy/script/nc2csv.py -i ../test_outputs/1001.nc --names-only 
     14-c "print 'NOTE: If all tests failed try running the ../nappy/script/na2nc tests first, because they are needed to generate the nc files!'" 
  • nappy/trunk/tests/tests-nc2na.py.txt

    r5545 r5900  
    1 nc2na.py ../../test_outputs/ 
    2 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc.na 
    3 nc2na.py -i ../../test_outputs/1010.nc -o ../../test_outputs/1010-from-nc.na 
    4 nc2na.py -i ../../test_outputs/2010.nc -o ../../test_outputs/2010-from-nc.na 
    5 nc2na.py -i ../../test_outputs/3010.nc -o ../../test_outputs/3010-from-nc.na 
    6 nc2na.py -i ../../test_outputs/4010.nc -o ../../test_outputs/4010-from-nc.na 
    7 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-excludes.na -e "Ascent Rate" 
    8 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-overwrite.na --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
    9 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-as-padded-ints.na -f "%03d" 
    10 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-csv.na -d , 
    11 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-no-header.na --no-header 
    12 nc2na.py -i ../../test_outputs/1001.nc -o ../../test_outputs/1001-from-nc-annotated.na --annotated 
    13 nc2na.py -i ../../test_outputs/1001.nc --names-only 
    14 -c "print 'NOTE: If all tests failed try running the na2nc tests first, because they are needed to generate the nc files!'" 
     1../nappy/script/nc2na.py ../test_outputs/ 
     2../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc.na 
     3../nappy/script/nc2na.py -i ../test_outputs/1010.nc -o ../test_outputs/1010-from-nc.na 
     4../nappy/script/nc2na.py -i ../test_outputs/2010.nc -o ../test_outputs/2010-from-nc.na 
     5../nappy/script/nc2na.py -i ../test_outputs/3010.nc -o ../test_outputs/3010-from-nc.na 
     6../nappy/script/nc2na.py -i ../test_outputs/4010.nc -o ../test_outputs/4010-from-nc.na 
     7../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-excludes.na -e "Ascent Rate" 
     8../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-overwrite.na --overwrite-metadata=ONAME,"See line 2 - my favourite org." 
     9../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-as-padded-ints.na -f "%03d" 
     10../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-csv.na -d , 
     11../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-no-header.na --no-header 
     12../nappy/script/nc2na.py -i ../test_outputs/1001.nc -o ../test_outputs/1001-from-nc-annotated.na --annotated 
     13../nappy/script/nc2na.py -i ../test_outputs/1001.nc --names-only 
     14-c "print 'NOTE: If all tests failed try running the ../nappy/script/na2nc tests first, because they are needed to generate the nc files!'" 
  • nappy/trunk/tests/tests-nc_badc_files.txt

    r5348 r5900  
    1 nc2na.py -i ../../../nappy_test_files/nc_files/active-package_arsf-dornier_20051119140000_sd05.nc -o ../../test_outputs/active-package_arsf-dornier_20051119140000_sd05.nc.na 
    2 nc2na.py -i ../../../nappy_test_files/nc_files/ceh-aws_pobe_20050220.nc -o ../../test_outputs/ceh-aws_pobe_20050220.nc.na 
    3 nc2na.py -i ../../../nappy_test_files/nc_files/ceh-flux_wankama_20051117.nc -o ../../test_outputs/ceh-flux_wankama_20051117.nc.na 
    4 nc2na.py -i ../../../nappy_test_files/nc_files/cfarr-lidar-uv_chilbolton_20080520_water-vapour.nc -o ../../test_outputs/cfarr-lidar-uv_chilbolton_20080520_water-vapour.nc.na 
    5 nc2na.py -i ../../../nappy_test_files/nc_files/cfarr-met-sensors_chilbolton_20080531.nc -o ../../test_outputs/cfarr-met-sensors_chilbolton_20080531.nc.na 
    6 nc2na.py -i ../../../nappy_test_files/nc_files/cfarr-radar-acrobat_chilbolton_20070206123544_rhi.nc -o ../../test_outputs/cfarr-radar-acrobat_chilbolton_20070206123544_rhi.nc.na 
    7 nc2na.py -i ../../../nappy_test_files/nc_files/core_faam_20070726_v001_r0_b312_1hz.nc -o ../../test_outputs/core_faam_20070726_v001_r0_b312_1hz.nc.na 
    8 nc2na.py -i ../../../nappy_test_files/nc_files/gome_ers2_200303190160_o3p.nc -o ../../test_outputs/gome_ers2_200303190160_o3p.nc.na 
    9 nc2na.py -i ../../../nappy_test_files/nc_files/imk-sodar1_dudou_20060712_backscatter.nc -o ../../test_outputs/imk-sodar1_dudou_20060712_backscatter.nc.na 
    10 nc2na.py -i ../../../nappy_test_files/nc_files/leeds-sodar1_chilbolton_20050712_backscatter.nc -o ../../test_outputs/leeds-sodar1_chilbolton_20050712_backscatter.nc.na 
    11 nc2na.py -i ../../../nappy_test_files/nc_files/man-radar-1290mhz_achern_20070613_trt0-15min-1.nc -o ../../test_outputs/man-radar-1290mhz_achern_20070613_trt0-15min-1.nc.na 
    12 nc2na.py -i ../../../nappy_test_files/nc_files/qinetiq-lidar-dop-1_northolt_20030709122354_rhi.nc -o ../../test_outputs/qinetiq-lidar-dop-1_northolt_20030709122354_rhi.nc.na 
    13 nc2na.py -i ../../../nappy_test_files/nc_files/radar-mst_capel-dewi_20070303_st300_radial_v3.nc -o ../../test_outputs/radar-mst_capel-dewi_20070303_st300_radial_v3.nc.na 
    14 nc2na.py -i ../../../nappy_test_files/nc_files/radar-mst_capel-dewi_20080504_st300_cartesian_v3.nc -o ../../test_outputs/radar-mst_capel-dewi_20080504_st300_cartesian_v3.nc.na 
    15 nc2na.py -i ../../../nappy_test_files/nc_files/salford-aws-1_faccombe_20050826_10min.nc -o ../../test_outputs/salford-aws-1_faccombe_20050826_10min.nc.na 
    16 nc2na.py -i ../../../nappy_test_files/nc_files/salford-sonic-2_faccombe_20050825_1hz.nc -o ../../test_outputs/salford-sonic-2_faccombe_20050825_1hz.nc.na 
     1../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/active-package_arsf-dornier_20051119140000_sd05.nc -o ../test_outputs/active-package_arsf-dornier_20051119140000_sd05.nc.na 
     2../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/ceh-aws_pobe_20050220.nc -o ../test_outputs/ceh-aws_pobe_20050220.nc.na 
     3../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/ceh-flux_wankama_20051117.nc -o ../test_outputs/ceh-flux_wankama_20051117.nc.na 
     4../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/cfarr-lidar-uv_chilbolton_20080520_water-vapour.nc -o ../test_outputs/cfarr-lidar-uv_chilbolton_20080520_water-vapour.nc.na 
     5../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/cfarr-met-sensors_chilbolton_20080531.nc -o ../test_outputs/cfarr-met-sensors_chilbolton_20080531.nc.na 
     6../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/cfarr-radar-acrobat_chilbolton_20070206123544_rhi.nc -o ../test_outputs/cfarr-radar-acrobat_chilbolton_20070206123544_rhi.nc.na 
     7../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/core_faam_20070726_v001_r0_b312_1hz.nc -o ../test_outputs/core_faam_20070726_v001_r0_b312_1hz.nc.na 
     8../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/gome_ers2_200303190160_o3p.nc -o ../test_outputs/gome_ers2_200303190160_o3p.nc.na 
     9../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/imk-sodar1_dudou_20060712_backscatter.nc -o ../test_outputs/imk-sodar1_dudou_20060712_backscatter.nc.na 
     10../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/leeds-sodar1_chilbolton_20050712_backscatter.nc -o ../test_outputs/leeds-sodar1_chilbolton_20050712_backscatter.nc.na 
     11../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/man-radar-1290mhz_achern_20070613_trt0-15min-1.nc -o ../test_outputs/man-radar-1290mhz_achern_20070613_trt0-15min-1.nc.na 
     12../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/qinetiq-lidar-dop-1_northolt_20030709122354_rhi.nc -o ../test_outputs/qinetiq-lidar-dop-1_northolt_20030709122354_rhi.nc.na 
     13../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/radar-mst_capel-dewi_20070303_st300_radial_v3.nc -o ../test_outputs/radar-mst_capel-dewi_20070303_st300_radial_v3.nc.na 
     14../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/radar-mst_capel-dewi_20080504_st300_cartesian_v3.nc -o ../test_outputs/radar-mst_capel-dewi_20080504_st300_cartesian_v3.nc.na 
     15../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/salford-aws-1_faccombe_20050826_10min.nc -o ../test_outputs/salford-aws-1_faccombe_20050826_10min.nc.na 
     16../nappy/script/nc2na.py -i ../../nappy_test_files/nc_files/salford-sonic-2_faccombe_20050825_1hz.nc -o ../test_outputs/salford-sonic-2_faccombe_20050825_1hz.nc.na 
Note: See TracChangeset for help on using the changeset viewer.