Skip to main content

This a python package to run and download submitted files on RSHub

Project description

Remote Sensing hub toolbox (RShub)

This is Python based toolbox to run model, check status, and retrieve model results

Supported functions

Function 1: Run a model

from rstool import submit_jobs
data1 = {
    'scenario_flag': scenario_flag,
    'output_var': output_var,
    'fGHz': fGHz,
    'algorithm':algorithm,
    'scatters': scatters1,
    'project_name':project_name,
    'task_name':task_name1,
    'token': token,
    'level_required':1
}
result1=submit_jobs.run(data1)

Function 2: Check Job Status

from rstool import submit_jobs
result=submit_jobs.check_completion(token, project_name, task_name)
print(result)

Function 3: Retrieve error messages from failed jobs (if any)

from rstool.load_file import load_file
data = load_file(token, project_name, task_name, fGHz)
message = data.load_error_message()

Function 4: Retrieve Results

from rstool.load_file import load_file
data = load_file(token, project_name, task_name, fGHz)
# Using vegetation model as an example, 
# Brightness temperature and incident angles are stored in "data"
data_multi = data.load_veg_TB()# Read variables into python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rshub-0.1.9.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rshub-0.1.9-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file rshub-0.1.9.tar.gz.

File metadata

  • Download URL: rshub-0.1.9.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.5

File hashes

Hashes for rshub-0.1.9.tar.gz
Algorithm Hash digest
SHA256 b056a5861d35399595be32d73af6ccc62a9c6658a04c6e024bbde8f69dc34d25
MD5 7c627c14fdbf8d67c71c3d3d820b779d
BLAKE2b-256 60b467f7cf3f0c0d057ae6a20e9f66735bb3dbfcb8d929f9ffdd72129f9d0b9e

See more details on using hashes here.

File details

Details for the file rshub-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: rshub-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.5

File hashes

Hashes for rshub-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cdfb469190f47425563e1c2a1b9442db73850ce52379c02fab99c389690c8ab5
MD5 b0107fc3ceb6305e5d53fc20a63643bb
BLAKE2b-256 4798fa1251e9734fb30add8f01455228863f1c56b426d5963094ffce380b1fe9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page