tams.idealized.Field

tams.idealized.Field#

class tams.idealized.Field(blobs=None, lat=(-10, 10, 41), lon=(-20, 20, 81), ctt_background=270)#

A field of blobs.

Parameters:
  • blobs (Blob | list[Blob] | None) – One or more Blob instances defining the field. If None (default), an empty field is created.

  • lat – One-dimensional grid coordinate definitions (degrees).

  • lon – One-dimensional grid coordinate definitions (degrees).

  • ctt_background (float) – Background/environmental/clear-sky infrared brightness temperature.

__init__(blobs=None, lat=(-10, 10, 41), lon=(-20, 20, 81), ctt_background=270)#
Parameters:
Return type:

None

Methods

copy()

Return a copy of the field.

evolve(hours, /)

Evolve the field in place by the given number of hours.

to_geopandas(*[, crs])

Convert the field to a GeoPandas GeoDataFrame.

to_xarray(*[, ctt_threshold, additive])

Convert the field to an xarray DataArray.