Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Backend BOS Sarcat scraper (stand-alone CLI tool)

Front end GUI

$ ssh aria-puccini #use LDAP creds
$ ssh ariaops@localhost
$ vim /usr/local/ariaops/anaconda2/ops/tosca-sar_avail/tosca/templates/facetview-saravail.html
$ supervisorctl restart tosca-sar_avail

For the acquisitions to show up on the GUI, we need to add aliases to GRQ.

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

PGE: bos_ingest

job-spec

  • {
      "required_queues": ["factotum-job_worker-small"],
      "container": "container-aria-jpl_bos_sarcat_scraper:master",
      "command": "/home/ops/verdi/ops/bos_sarcat_scraper/create_acquisitions.sh",
      "imported_worker_files": {
        "/home/ops/verdi/etc/datasets.json": "/home/ops/verdi/etc/datasets.json"
      },
      "disk_usage": "1GB",
      "params": [
        {
          "name": "bos_ingest_time",
          "destination": "context"
        },
        {
          "name": "from_time",
          "destination": "context"
        },
        {
          "name": "end_time",
          "destination": "context"
        }
      ]
    }

hysds_io

  • {
      "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"
        }
     ]
    }

PGE: scrub_outdated_bos_acqs

Cron scripts

Crontab settings: https://github.com/aria-jpl/bos_sarcat_scraper/blob/master/crons/crontab-setting.txt

Python scripts:

Flask App Services

  • ICS

  • KML

  • CSV

Other

  • Location

  • Log files

  • Debugging process

  • Deployment

  • Watchdogs to check on hourly scraper already in. current checks on bos_ingest_:master

  • ES on b-cluster

    • Alias for sar-availability: acquisition

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.