Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • This queries BOS and outputs the result set in JSON format

  • Inputs

    • Temporal Extent:

      • start / end time

      • OR

      • Since last ingest time on BOS

    • Spatial Extent

    • Sorting - Sort By and Sorting order

  • Usage:

    Code Block
    languagebash
    bos_sarcat_scraper -h
    usage: bos_sarcat_scrapper [-h] [-from FROMTIME]
                               [--fromBosIngestTime FROMBOSINGESTTIME]
                               [-to TOTIME] [--spatialExtent SPATIALEXTENT]
                               [--sortBy SORTBY] [--sort SORT]
    
    Query BOS SarCat for acquisitions.
    
    optional arguments:
      -h, --help            show this help message and exit
      -from FROMTIME, --fromTime FROMTIME
                            specify the temporal start point in format , to get
                            acquisitions starting after the given timestamp in the
                            format yyyy-mm-ddThh:mm:ss.sss
      --fromBosIngestTime FROMBOSINGESTTIME
                            provide date and time in format , to get acquisitions
                            acquired by BOS after the given timestamp in the
                            format yyyy-mm-ddThh:mm:ss.sss
      -to TOTIME, --toTime TOTIME
                            specify the temporal end point in format , to get
                            acquisitions ending before the given timestamp in the
                            format yyyy-mm-ddThh:mm:ss.sss
      --spatialExtent SPATIALEXTENT
                            specify the area of interest in GeoJSON format
      --sortBy SORTBY       type "start_time" , "stop_time" or "bos_ingest" to
                            sort results by field
      --sort SORT           type "asc" or "des" to get results in ascending or
                            descending order of time respectively. If sortBy is
                            specified but sort is not, then defaults to ascending

...