argopy.ArgoIndex.query.lon

argopy.ArgoIndex.query.lon#

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

Search index for a meridional 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: [lon_min, lon_max]

    • Single value: interpreted as lower bound (ge)

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

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

Return type:

ArgoIndex

Warning

Only longitude 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.lon([-60, -55, 40., 45., '2007-08-01', '2007-09-01'])
idx.query.lon([-60, -55])
idx.query.lon(ge=-60)
idx.query.lon(le=-55)
idx.query.lon(-60)