argopy.ArgoIndex.query#
- ArgoIndex.query()#
Extension providing search methods to query index entries
All search methods can be combined with the
ArgoIndex.query.compose()method, see examples.Examples
from argopy import ArgoIndex idx = ArgoIndex() idx.query.wmo idx.query.cyc idx.query.wmo_cyc idx.query.lon idx.query.lat idx.query.date idx.query.lat_lon idx.query.box idx.query.params idx.query.parameter_data_mode idx.query.profiler_type idx.query.profiler_label idx.query.institution_code idx.query.institution_name idx.query.dac
from argopy import ArgoIndex idx = ArgoIndex(index_file='bgc-s') idx.query.compose({'box': BOX, 'wmo': WMOs}) idx.query.compose({'box': BOX, 'params': 'DOXY'}) idx.query.compose({'box': BOX, 'params': 'DOXY'}) idx.query.compose({'box': BOX, 'params': (['DOXY', 'DOXY2'], {'logical': 'and'})}) idx.query.compose({'params': 'DOXY', 'profiler_label': 'ARVOR'})
Note that composing query with:
wmoandcycis slower than using thewmo_cycmethodlonandlatis slower than using thelon_latmethodlon,latanddateis slower than using theboxmethod