Skip to main content

SDK for interacting with Maxar imagery platforms

Project description

Installation Instructions

  1. Install python 3.7
  2. pip install Maxar-OGC
  3. Create a credentials file called .ogc-config
    • The file should look like:
    [ogc]
    user_name=<your-user-name>
    user_password=<your-password>
    user_tenant=https://securewatch.digitalglobe.com/
    user_connectid=<your-desired-connectid>
    

Usage Instructions

from Maxar_OGC import Interface
try:
  sw_ogc = Interface() # if .ogc-config was created
except:
  sw_ogc = Interface('https://securewatch.maxar.com/','<connect_id>') # if .ogc-config was not created
print(help(sw_ogc))

Documentation

Documentation site: https://cloudservices.readthedocs.io/en/latest/index.html

PyPi site: https://pypi.org/project/Maxar-OGC/

How to Install Jupyter Notebooks

Link to Jupyter labs install instructions Here

https://jupyter.org/install

Recommended Steps

In your python 3.7 environment run the following installation commands

pip install notebook

After Installation is completed launch the Jupyter Notebook in your python environment with

jupyter notebook

(Optional) Creating a Shortcut for your Specific Python Environment Jupyter Notebook.

Create a new Short cut on your desktop. After Naming your shortcut right click and select Properties Under the Shortcut tab In the target box input the following command. Substituting in the Path to your Anaconda3 and the name of your python environment.

%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& '<Path to Anaconda3>\condabin\conda-hook.ps1' ; "conda activate <PythonEnvironmentName>"; "jupyter notebook"

in the Start In box input

%cd%

This will allow you to store this shortcut anywhere on your computer.

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

Maxar_OGC-1.5.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

Maxar_OGC-1.5.0-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file Maxar_OGC-1.5.0.tar.gz.

File metadata

  • Download URL: Maxar_OGC-1.5.0.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for Maxar_OGC-1.5.0.tar.gz
Algorithm Hash digest
SHA256 dbea9e015a92373e065f63c386a666739c17a5b0b517ceacd099acb6c30742c1
MD5 af92204bcf1489cb40c5cef086a487fe
BLAKE2b-256 f77fc0f138437ba7e5b81403728c98d6ceaddb27cac7356c549904a792c43fe9

See more details on using hashes here.

File details

Details for the file Maxar_OGC-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: Maxar_OGC-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for Maxar_OGC-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ae4a3ac6643039ea332c7e5f20720bacdf3e6bae3c79fa2f3f7f838c777a68e
MD5 20a42ba8fd75a8722cec78e01bcc6c8a
BLAKE2b-256 6188a366c70c29dff68a9c621c1a8285700ae3d8e52283315de66fa6eefd918c

See more details on using hashes here.

Supported by

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