TATHU Package
Subpackages
- tathu.geometry package
- Submodules
- tathu.geometry.constants module
- tathu.geometry.envelope module
EnvelopeEnvelope.getArea()Envelope.getCenter()Envelope.getGraphicalRepresentation()Envelope.getHeight()Envelope.getLowerLeft()Envelope.getLowerLeftX()Envelope.getLowerLeftY()Envelope.getUpperRight()Envelope.getUpperRightX()Envelope.getUpperRightY()Envelope.getWidth()Envelope.initFromList()Envelope.intersection()Envelope.intersects()Envelope.isValid()Envelope.makeInvalid()Envelope.show()Envelope.union()
- tathu.geometry.transform module
- tathu.geometry.utils module
- Module contents
- tathu.io package
- tathu.radar package
- tathu.satellite package
- tathu.tracking package
- Submodules
- tathu.tracking.descriptors module
- tathu.tracking.detectors module
- tathu.tracking.forecasters module
- tathu.tracking.system module
ConvectiveSystemConvectiveSystem.addAtributes()ConvectiveSystem.fitEllipse()ConvectiveSystem.getAttrNames()ConvectiveSystem.getCentroid()ConvectiveSystem.getConvexHull()ConvectiveSystem.getGeomWKT()ConvectiveSystem.getMBR()ConvectiveSystem.getRelationshipNames()ConvectiveSystem.getRelationshipNamesAsString()ConvectiveSystem.hasGeom()
ConvectiveSystemFamilyConvectiveSystemFamily.addSystem()ConvectiveSystemFamily.getAttribute()ConvectiveSystemFamily.getCentroids()ConvectiveSystemFamily.getConvexHulls()ConvectiveSystemFamily.getEllipses()ConvectiveSystemFamily.getEvents()ConvectiveSystemFamily.getExtent()ConvectiveSystemFamily.getPolygons()ConvectiveSystemFamily.getRasters()ConvectiveSystemFamily.getTimestamps()ConvectiveSystemFamily.hasSplitOrMerge()
ConvectiveSystemManagerLifeCycleEvent
- tathu.tracking.trackers module
- tathu.tracking.utils module
- Module contents
Submodules
tathu.binary module
- tathu.binary.binary2raster(path, extent, nlines, ncols, dtype, ctype=None, scale=1.0, offset=0.0)
- tathu.binary.read(path, nlines, ncols, dtype=<class 'numpy.int16'>)
tathu.constants module
tathu.progress module
tathu.utils module
- class tathu.utils.Timer
Bases:
object
- tathu.utils.array2raster(array, extent, srs=<osgeo.osr.SpatialReference; proxy of <Swig Object of type 'OSRSpatialReferenceShadow *'> >, nodata=None, output='', driver='MEM')
- tathu.utils.extractPeriods(files, timeout, regex='\\d{12}', format='%Y%m%d%H%M')
- tathu.utils.file2timestamp(path, regex='\\d{12}', format='%Y%m%d%H%M')
This function extracts timestamp based on the given full-path file.
- tathu.utils.fill(data, invalid=None)
From: https://stackoverflow.com/questions/3662361/fill-in-missing-values-with-nearest-neighbour-in-python-numpy-masked-arrays Replace the value of invalid ‘data’ cells (indicated by ‘invalid’) by the value of the nearest valid data cell Input:
data: numpy array of any dimension invalid: a binary array of same shape as ‘data’. True cells set where data
value should be replaced. If None (default), use: invalid = np.isnan(data)
- Output:
Return a filled array.
- tathu.utils.generateListOfDays(start, end)
This function returns all-days between given two dates.
- tathu.utils.geo2grid(x, y, geoT)
This function returns the grid point associated to a spatial location. param x The spatial x-coordiante. param y The spatial y-coordiante. param geoTransform A list of 6 coefficients describing an affine transformation to georeference a grid.
eturn The grid point line and column.
- tathu.utils.getExtent(gt, shape)
This function returns the extent based on the given GDAL geo-transform parameters and dimensions.
- tathu.utils.getGeoInfoFromCTL(path)
This function try extract grid geospatial information from a CTL file. Geospatial info = number of lines, columns and geo-extent.
- tathu.utils.getGeoT(extent, nlines, ncols)
This function computes the resolution based on data dimensions.
- tathu.utils.grid2geo(lin, col, geoT)
This function returns the spatial location of a grid point. param geoTransform A list of 6 coefficients describing an affine transformation to georeference a grid. param col The grid point column. param row The grid point row.
eturn The spatial location.
- tathu.utils.readFLO(path)
This function reads Optical Flow Middlebury files (.flo).
- tathu.utils.writeFLO(flow, filename)
Write optical flow in Middlebury .flo format.
tathu.version module
Version information for TATHU - Tracking and Analysis of Thunderstorms.
tathu.visualizer module
- class tathu.visualizer.AnimationMap(family, attributes)
Bases:
TimedAnimation- new_frame_seq()
Return a new sequence of frame information.
- show()
- class tathu.visualizer.AnimationMapDatabase(db, extent, images, timestamps, cmap='Greys')
Bases:
TimedAnimation- new_frame_seq()
Return a new sequence of frame information.
- show()
- class tathu.visualizer.MapView(extent, references=[], clabel='', timestamp=None)
Bases:
object- plotArray(array, cmap=None, vmin=None, vmax=None, colorbar=False)
- plotImage(image, cmap=None, vmin=None, vmax=None, colorbar=False)
- plotPolygons(polygons, facecolor='red', edgecolor='k', alpha=1.0, lw=1.0, centroids=False)
- plotRaster(raster, cmap=None, vmin=None, vmax=None, colorbar=False)
- plotReferences()
- plotSystems(systems, facecolor='red', alpha=1.0, edgecolor='k', lw=1.0, centroids=False)
- show()
Module contents
TATHU - Tracking and Analysis of Thunderstorms.