Changeset 2781 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 14, 2020, 2:11:27 PM (5 years ago)
Author:
lfita
Message:

Improving explanation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r2778 r2781  
    1737317373    """ Function to provide information from a given station from one of its values
    1737417374      from ASCII file 'OBStations.csv'
    17375     variables_values([values])
     17375    stations_values([stcrit],[stval],[Nexpctst],[Notfound])
    1737617376        [stcrit]: name of the criteria from OBStations.csv
    1737717377          one of: 'station_name', 'WMOid', 'longitude', 'lon_deg', 'lon_min',
     
    1739517395          [add2]: additional value 2
    1739617396        [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)
    1739817398          'all': all matching entries. It will return a dictionary
    1739917399          'one': only one entry. It will return a list
    1740017400        [Notfound]: should call quit if no station is found? Otherwise returns None
     17401          (True, default)
    1740117402        return: [station_name], [WMOid], [longitude], [lon_deg], [lon_min], [lon_sec],
    1740217403          [latitude], [lat_deg], [lat_min], [lat_sec], [height], [prov], [country],
Note: See TracChangeset for help on using the changeset viewer.