LON_LAT_TIME_STRING(longitude, latitude, time, time_axis, string) Generate names based on longitude,latitude,time,and a string. For instance, profile data at a set of longitude, latitude stations with data at particular times may need labels for each station.
Arguments: |
longitude |
longitude value(s). They will be translated to the range (0,360) |
latitude |
latitude values(s). Positive values will be labeled N, negative ones S |
|
time |
Numeric time coordinates |
|
tim_eaxis |
A variable on the time axis to use in translating time coordinates to time strings |
|
string |
A label to start the strings |
|
Result Axes: |
X |
Inherited from longitude, latitude and time arguments |
Y |
Inherited from longitude, latitude and time arguments |
|
Z |
Inherited from longitude, latitude and time arguments |
|
T |
Inherited from longitude, latitude and time arguments |
|
E |
Inherited from longitude, latitude and time arguments |
|
F |
Inherited from longitude, latitude and time arguments |
Example:
yes? ! Longitudes are translated to 0:360 range yes? let lon = {-172.44, 210.01, -19.5} yes? ! latitudes are labeled N or S yes? let lat = {3.12, 4.9, -15.03} yes? ! Time steps are interpreted in terms of a time axis yes? let time = {1,2,3} yes? define axis/t=1-jan-2001:31-jan-2001:1/units=days/t0=1-jan-2001 taxis yes? let tt = t[gt=taxis] yes? list lon_lat_time_string(lon, lat, time, tt, "station") VARIABLE : LON_LAT_TIME_STRING(LON, LAT, TIME, TT, "station") SUBSET : 3 points (X) 1 / 1:"station_187.6E_3.12N_02-JAN-2001" 2 / 2:"station_210E_4.9N_03-JAN-2001" 3 / 3:"station_340.5E_15.03S_04-JAN-2001"