Changeset 2781 in lmdz_wrf for trunk/tools
- Timestamp:
- Jan 14, 2020, 2:11:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r2778 r2781 17373 17373 """ Function to provide information from a given station from one of its values 17374 17374 from ASCII file 'OBStations.csv' 17375 variables_values([values])17375 stations_values([stcrit],[stval],[Nexpctst],[Notfound]) 17376 17376 [stcrit]: name of the criteria from OBStations.csv 17377 17377 one of: 'station_name', 'WMOid', 'longitude', 'lon_deg', 'lon_min', … … 17395 17395 [add2]: additional value 2 17396 17396 [stval]: value of [stcrit] to be matched 17397 [Nexpctst]: expected quantity of stations to retrieve 17397 [Nexpctst]: expected quantity of stations to retrieve ('all', default) 17398 17398 'all': all matching entries. It will return a dictionary 17399 17399 'one': only one entry. It will return a list 17400 17400 [Notfound]: should call quit if no station is found? Otherwise returns None 17401 (True, default) 17401 17402 return: [station_name], [WMOid], [longitude], [lon_deg], [lon_min], [lon_sec], 17402 17403 [latitude], [lat_deg], [lat_min], [lat_sec], [height], [prov], [country],
Note: See TracChangeset
for help on using the changeset viewer.