argopy.ArgoIndex.query.lat

argopy.ArgoIndex.query.lat#

ArgoIndex.query.lat(BOX=None, nrows=None, composed=False, **kwargs)#

Search index for a zonal band

Parameters:
  • BOX (list, tuple, int, float, optional) –

    An index box to search Argo records for. Can be:

    • Full 6-element list: [lon_min, lon_max, lat_min, lat_max, date_min, date_max]

    • 2-element list: [lat_min, lat_max]

    • Single value: interpreted as lower bound (ge)

  • ge (int or float, optional) – Greater or equal bound for latitude filtering (lower limit). Default: -90

  • le (int or float, optional) – Less or equal bound for latitude filtering (upper limit). Default: 90

Return type:

ArgoIndex

Warning

Only latitude bounds are used from the index box.

Notes

Either BOX or ge/le keywords must be provided.

Examples

from argopy import ArgoIndex
idx = ArgoIndex(index_file='core')

idx.query.lat([-60, -55, 40., 45., '2007-08-01', '2007-09-01'])
idx.query.lat([40, 45])
idx.query.lat(ge=40)
idx.query.lat(le=45)
idx.query.lat(40)