Utils#

category.categorize(variable[, bins, ...])

Calculate a generic category from a variable and a set of thresholds

category.get_sshs_cat(wind[, convention, ...])

Function to determine the Saffir-Simpson Hurricane Scale (SSHS) category.

geography.get_hemisphere(lat)

Function to detect which hemisphere each point corresponds to

geography.get_basin(lon, lat[, convention, crs])

Function to determine the basin of each point, according to the selected convention.

geography.get_land_or_ocean(lon, lat[, ...])

Detect whether each point is over land or ocean

geography.get_country(lon, lat[, ...])

Detect the country each point is over

geography.get_continent(lon, lat[, ...])

Detect the continent each point is over

time.get_time(year, month, day, hour)

Get np.datetime64 array corresponding to year, month, day and hour arrays

time.get_season(track_id, lat, time[, ...])

param track_id: