source: nappy/trunk/bin/cmd_line_tests.txt @ 5124

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/nappy/trunk/bin/cmd_line_tests.txt@5124
Revision 5124, 1.3 KB checked in by astephen, 11 years ago (diff)

Fixed some of na2nc.py and added list of cmd_line tests for now. Some don't work

Line 
1na2nc.py
2na2nc.py -i ../data_files/1001.na -o out.nc -n -t "days since 2008-01-01 00:00:00"
3ncdump out.nc
4na2nc.py -i ../data_files/1001.na -o out.nc -n -t "days since 2008-01-01 00:00:00" -v ascent_rate,pressure
5na2nc.py -i ../data_files/1001.na -o out.nc -n -t "days since 2008-01-01 00:00:00" -v pressure
6na2nc.py
7na2nc.py -i ../data_files/1001.na -o out.nc -n -t "days since 2008-01-01 00:00:00" -r pressure,measurep
8na2nc.py -i ../data_files/1001.na -o out.nc -n -t "days since 2008-01-01 00:00:00" -g "useful info","happy days"
9na2nc.py -i ../data_files/1010.na -o out.nc -n -t "days since 2008-01-01 00:00:00" -v 0
10na2nc.py -i ../data_files/1010.na -o out.nc -n -t "days since 2008-01-01 00:00:00"
11na2nc.py -i ../data_files/2010.na -o out.nc -n -t "days since 2008-01-01 00:00:00"
12na2nc.py -i ../data_files/3010.na -o out.nc -n -t "days since 2008-01-01 00:00:00"
13na2nc.py -i ../data_files/4010.na -o out.nc -n -t "days since 2008-01-01 00:00:00"
14
15na2nc.py -i ../data_files/4010.na -o out.nc -n -t "days since 2008-01-01 00:00:00" -r temperature,testvar1
16
17## NOTE: Only integers work at present for variable names - needs attention but is fiddly, might be better just to use index for aux_variables and variable and renaming variables as well!!!
18Or work out how to use best name in NC
Note: See TracBrowser for help on using the repository browser.