argopy.utilities.is_box#

is_box(box: list, errors='raise')[source]#

Check if this array matches a 3d or 4d data box definition

box = [lon_min, lon_max, lat_min, lat_max, pres_min, pres_max]

or:

box = [lon_min, lon_max, lat_min, lat_max, pres_min, pres_max, datim_min, datim_max]

Parameters
  • box (list) –

  • errors ('raise') –

Return type

bool