Versions Compared

Key

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

Backend BOS Sarcat scraper (stand-alone CLI tool)

...

Instructions: https://github.com/aria-jpl/bos_sarcat_scraper/tree/master/dataset

PGE: bos_ingest

...

  • Code Block
    languagejson
    {
      "submission_type": "individual",
      "component": "tosca",
      "label": "Ingest acquisitions from Bos SARCAT",
      "allowed_accounts": [ "ops" ],
      "params" : [
        {
          "name": "bos_ingest_time",
          "from": "submitter",
          "type": "text",
          "optional": true,
          "placeholder":"start of bos_ingest_timestamp in format yyyy-mm-ddThh:mm:ss.sssZ"
        },
        {
          "name": "from_time",
          "from": "submitter",
          "type": "text",
          "optional": true,
          "placeholder":"start of acquisition time in format yyyy-mm-ddThh:mm:ss.sssZ"
        },
        {
          "name": "end_time",
          "from": "submitter",
          "type": "text",
          "optional": true,
          "placeholder":"end of acquisition time in format yyyy-mm-ddThh:mm:ss.sssZ"
        }
     ]
    }

datasets.json

Code Block
languagejson
  {
    "ipath": "ariamh::data/acquisition-SARCAT",
    "match_pattern": "/(?P<id>acquisition-(?P<spacecraft>.+?)_(?P<year>\\d{4})(?P<month>\\d{2})(?P<day>\\d{2})T(?P<timestamp>.+?)Z_(?P<track>\\d?.+)_(?P<mode>.+?)-bos_sarcat)$",
    "alt_match_pattern": null,
    "extractor": null,
    "level": "l1",
    "type": "bos-acquisition",
    "version": "2.0"
  },
  {
    "ipath": "ariamh::data/acquisition-SARCAT",
    "match_pattern": "/(?P<id>acquisition-(?P<spacecraft>.+?)_(?P<year>\\d{4})(?P<month>\\d{2})(?P<day>\\d{2})T(?P<timestamp>.+?)Z_(?P<track>\\d?.+)_(?P<mode>.+?)-bos_sarcat-planned)$",
    "alt_match_pattern": null,
    "extractor": null,
    "level": "l1",
    "type": "bos-acquisition",
    "version": "2.0"
  },
  {
    "ipath": "ariamh::data/acquisition-SARCAT",
    "match_pattern": "/(?P<id>acquisition-(?P<spacecraft>.+?)_(?P<year>\\d{4})(?P<month>\\d{2})(?P<day>\\d{2})T(?P<timestamp>.+?)Z_(?P<track>\\d?.+)_(?P<mode>.+?)-bos_sarcat-predicted)$",
    "alt_match_pattern": null,
    "extractor": null,
    "level": "l1",
    "type": "bos-acquisition",
    "version": "2.0"
  },

PGE: scrub_outdated_bos_acqs

...

On-demand ops scripts to catch up

https://github.com/aria-jpl/bos_sarcat_scraper/blob/develop/mass_catchup_script.py

Script to temporal segment scrape jobs.

Flask App Services

  • ICS

  • KML

  • CSV

...