Changes between Version 12 and Version 13 of udg/ecoms/dataserver/interfaces/python


Ignore:
Timestamp:
Apr 25, 2013 10:53:26 AM (9 years ago)
Author:
maru
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/dataserver/interfaces/python

    v12 v13  
    6161>>> cities_latlon=np.array([[(37.41),(-5.9)],[(40.40),(-3.68)],[(43.43),(-3.82)],[(41.67),(-0.82)]])
    6262>>> temporal_mean=ud.data.mean(axis=0)
    63 >>> plot_map(temporal_mean,ud,season,var,cities_latlon,cities_name)
     63>>> plot_map(temporal_mean,ud,season,var,cities_latlon,cities_name,method="pixels")
    6464}}}
    6565
    66 [[Image(Map_tas_J.png,center)]]
     66[[Image(Map_pixels_tas_J.png,center)]]
    6767
    6868Another common task is the representation of time series for selected point locations/grid cells. In this example, we will display time series of the requested dataset at the four grid points coincident with the cities represented in the map. To this aim, we will create a function that search the data of the nearest grid points to the specified locations.