Created on Mar 19, 2014
@author: Christoph Paulik christoph.paulik@geo.tuwien.ac.at
Bases: object
Dateset base class that implements basic functions and also abstract methods that have to be implemented by child classes.
| Parameters: | path : string
grid : pytesmo.grid.grids.BasicGrid of CellGrid instance, optional
img_offsets : numpy array of timedeltas, optional
|
|---|
Methods
Yield all images for a day.
| Parameters: | day : datetime.date or datetime.datetime
|
|---|---|
| Returns: | data : dict
metadata : dict
timestamp : datetime.datetime
lon : numpy.array or None
lat : numpy.array or None
time_var : string or None
|
Return an image if a specific datetime is given.
| Parameters: | timestamp : datetime.datetime
|
|---|---|
| Returns: | data : dict
metadata : dict
timestamp : datetime.datetime
lon : numpy.array or None
lat : numpy.array or None
time_var : string or None
|
Bases: object
Dateset base class that implements basic functions and also abstract methods that have to be implemented by child classes.
| Parameters: | path : string
grid : pytesmo.grid.grids.BasicGrid of CellGrid instance
|
|---|
Methods
Yield all time series for a grid or for grid points in a given lon/lat bound box (ll_bbox).
| Parameters: | ll_bbox : tuple of floats (latmin, latmax, lonmin, lonmax)
|
|---|---|
| Returns: | data : pandas.DataFrame
|