- Timestamp:
- Jun 12, 2016, 2:28:34 PM (8 years ago)
- Location:
- trunk/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic.py
r809 r818 126 126 print gen.datetimeStr_conversion(vals[0], vals[1], vals[2]) 127 127 128 'days_period' 129 128 130 elif oper == 'grid_combinations': 129 131 Nvals = 2 -
trunk/tools/generic_tools.py
r816 r818 6648 6648 else: 6649 6649 # Keep searching since there are grid-points not found! 6650 print ' ' + fname + ': Keep searching since there are grid-points not found!!'6650 # print ' ' + fname + ': Keep searching since there are grid-points not found!!' 6651 6651 # print ijfound 6652 6652 Nij = dictionary_key(ijfound, False) -
trunk/tools/nc_var.py
r815 r818 11 11 ## e.g. # nc_var.py -o selvar -f /home/lluis/PY/met_em.d01.1979-01-01_00:00:00.nc -S 'west_east@XLONG_M,south_north@XLAT_M,num_metgrid_levels@int,Time@Times' -v TT,UU,VV,SKINTEMP 12 12 ## e.g. # nc_var.py -o 'Partialmap_Entiremap' -f carteveg5km.nc -S 'longitude,latitude,std,5000.,Goode,Goode_5km.nc' -v vegetation_map 13 ## e.g. # nc_var.py -o subbasin -f routing.nc -S Caceres,-57.75,-16.25 13 14 14 15 from optparse import OptionParser -
trunk/tools/nc_var_tools.py
r817 r818 15038 15038 onewnc.setncattr('university', 'Pierre et Marie Curie') 15039 15039 onewnc.setncattr('country', 'France') 15040 newattr = set_attributek(onewnc, 'file', ncfile ,'S') 15041 15040 15042 for attrs in onc.ncattrs(): 15041 15043 attrv = onc.getncattr(attrs)
Note: See TracChangeset
for help on using the changeset viewer.