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 hashes)

Uploaded Python 3

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