Versions Compared

Key

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

...

I used input and output files from this job. I also created a _job.json file with these contents in the ~/data/work/ directory:

Code Block
{
"retry_count": 1
}


Download the ariamh repository from github; I put it in /Users/YOURPATH/ARIA/repos/ariamh. It doesn’t matter where you put the ariamh directory on your machine as long as you change that part of the full docker run command below to reflect that change. The full docker run command much further down this page will bind that directory to ~/ariamh/ inside the docker container when you run it. This will replace the ~/ariamh/ directory in the docker container with the ariamh directory you downloaded. As a result, you’ll only have the make the following changes once rather than having to repeat them every time you run the docker container.

...


If you’re offsite, you’ll need to use Pulse Secure to set up a JPL full tunnel. Even still, the docker container will time out while requesting some files. So you’ll have to make some changes, starting in ~/ariamh/interferogram/sentinel/create_standard_product_s1.py . In the function get_dataset_by_hash(), change this line:

Code Block
r = requests.post(search_url, data=json.dumps(query))

...

Code Block
r = requests.post(search_url, data=json.dumps(query), verify=False)

In the function check_ifg_status_by_hash(), comment the second line shown here:

Code Block
logger.info("Duplicate dataset found: %s" %found_id)
# sys.exit(0)

Then open the file ~/ariamh/utils/queryBuilder.py .

Here’s my full docker run command. You’ll have to replace “YOURPATH” with your path:

...