Skip to main content

Library for general Remote Sensing code

Project description

RS_Lib

Library for general Remote Sensing code

Prerequisites

  • Python 3 version 3.4 and above
  • PostgreSQL server version 7.4 to 12
  • PostgreSQL client library version 9.1

Build prerequisites

  • Setuptools (pip install --upgrade setuptools)
  • The pg_config program: it is usually installed by the libpq-dev package or by postgresql server but sometimes it is not in a PATH directory. Having it in the PATH greatly streamlines the installation, so try running pg_config --version.

Install

  • Just run pip install rs-lib

Development install

  • Clone this repository.
  • Cd into the cloned folder
  • Run pip install .[dev]
  • All the development dependencies will be installed, currently: pytest and numpy

Usage

Import

import rs_lib as rs

# Create an instance of the Config class
config = rs.Config()

# Load a config file
config.use(path_to_config_file)

# Pass the config class to a function
result = gru_orto(schema, table, priority, config)

Config file

As the library relies on several database functions and file paths, a config file must be used. An example of such a config file can be seen here

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rs_lib-0.0.15-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file rs_lib-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: rs_lib-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for rs_lib-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 ac937040c623d1cb66e93a1e9a2d4d7489bb87eeac6aab54e2b82b542b789d7b
MD5 f9ad5021cc2b30e680ea7391dc121482
BLAKE2b-256 108534fafa5297d4192ee7f1cddea7d37c885a089614992ced6f0ca3e6ff3702

See more details on using hashes here.

Supported by

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