Changeset 272 in lmdz_wrf
- Timestamp:
- Feb 25, 2015, 11:28:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r271 r272 9759 9759 """ Function to compute tevolboxtraj: temporal evolution at a given point along 9760 9760 a box following a trajectory 9761 values= [trajfile]@[Tbeg],[lonname],[latname],[ timename],[timekind],[boxsize],[circler]9761 values= [trajfile]@[Tbeg],[lonname],[latname],[zname],[timename],[timekind],[boxsize],[circler] 9762 9762 [trajfile]: ASCII file with the trajectory ('#' not readed) 9763 9763 [time] [xpoint] [ypoint] … … 9782 9782 quit() 9783 9783 9784 arguments = '[trajfile]@[Tbeg],[lonname],[latname],[zname],[timename],' + \ 9785 '[timekind],[boxsize],[circler]]' 9786 check_arguments(fame,len(arguments.split(',')),arguments,',',8) 9787 9784 9788 ofile = 'tevolboxtraj_' + varn + '.nc' 9785 9789 … … 9790 9794 zn = values.split(',')[3] 9791 9795 timn = values.split(',')[4] 9792 timekind = values.split(',')[ 4]9793 boxs = int(values.split(',')[ 5])9794 circler = int(values.split(',')[ 6])9796 timekind = values.split(',')[5] 9797 boxs = int(values.split(',')[6]) 9798 circler = int(values.split(',')[7]) 9795 9799 9796 9800 if np.mod(boxs,2) != 1:
Note: See TracChangeset
for help on using the changeset viewer.