ILAMB.Regions.Regions.addRegionLatLonBounds

Regions.addRegionLatLonBounds(label, name, lats, lons, source='user-provided latlon bounds')[source]

Add a region by lat/lon bounds.

Parameters
  • label (str) – the unique region identifier (lower case, no spaces or special characters)

  • name (str) – the name of the region (as will appear in the HTML pull down menu)

  • lats (array-like of size 2) – the minimum and maximum latitudes defining the region on the interval (-90,90)

  • lons (array-like of size 2) – the minimum and maximum longitudes defining the region on the interval (-180,180)

  • source (str, optional) – a string representing the source of the region, purely cosmetic