Skip to main content

Geolocated Information Processing System True Color Plugin

Project description

# # # This source code is subject to the license referenced at
# # # https://github.com/NRLMMD-GEOIPS.
⚠️ Warning
This package is an early release and should be expected to change in the future. We don’t expect the functionality to change in significant ways. We intend to improve the installation process, consolidate packages and, potentially, convert Fortran routines to Python to avoid complexity in installation.

GeoColor GeoIPS Plugin

The GeoColor package is a GeoIPS-compatible plugin, intended to be used within the GeoIPS ecosystem. Please see the GeoIPS Documentation for more information on the GeoIPS plugin architecture and base infrastructure.

Package Overview

The GeoColor plugin provides a product containing True Color imagery during the day, and enhanced infrared imagery at night.

System Requirements

The following are required prior to following the installation instructions below. We intend to improve this installation process in the near future.

Click each package for installation instructions.

Install geocolor package

The instructions below describe how to install the GeoColor GeoIPS plugin.

GeoColor is dissimilar to other GeoIPS packages. It's dependent on multiple other plugin packages, most of which contain static datasets or fortran functionality that is required to produce GeoColor. We apologize for the inconvenience and are working on making the installation process much easier in the future.

The instructions below will install:

  • GeoIPS Plugin Packages:
    • fortran_utils
    • ancildat
    • synth_green
    • rayleigh
    • geocolor
  • Ancillary Datasets:
    • city_lights
    • elevation
    • lw_mask
    • rayleigh
    • synth_green
    # Add the following environment variables to your .bashrc and re-source it afterwards
    export GEOIPS_DEPENDENCIES_DIR=$GEOIPS_PACKAGES_DIR/dependencies
    export GEOIPS_ANCILDAT=$GEOIPS_PACKAGES_DIR/ancildat
    source ~/.bashrc

    # Ensure GeoIPS Python environment is enabled.
    # I.e. something like: conda/mamba activate geoips

    # Clone and install repos GeoColor requires
    git clone https://github.com/NRLMMD-GEOIPS/fortran_utils $GEOIPS_PACKAGES_DIR/fortran_utils
    git clone https://github.com/NRLMMD-GEOIPS/ancildat $GEOIPS_PACKAGES_DIR/ancildat
    git clone https://github.com/NRLMMD-GEOIPS/synth_green $GEOIPS_PACKAGES_DIR/synth_green
    git clone https://github.com/NRLMMD-GEOIPS/rayleigh $GEOIPS_PACKAGES_DIR/rayleigh
    git clone https://github.com/NRLMMD-GEOIPS/geocolor $GEOIPS_PACKAGES_DIR/geocolor

    # NOTE: fortran_utils MUST be installed prior to ancildat and rayleigh.
    # If you install in this order and you should be fine.

    # NOTE: if you are reinstalling these packages from a previous installation,
    # you must first call `make clean` from within each fortran dependency.
    # i.e. fortran_utils, ancildat, synth_green, rayleigh

    # NOTE: currently, fortran dependencies must be installed separately, initially
    # including in pyproject.toml resulted in incorrect installation paths.
    # More work required to get the pip dependencies working properly for fortran
    # installations via pyproject.toml with the poetry backend.
    pip install -e $GEOIPS_PACKAGES_DIR/fortran_utils
    pip install -e $GEOIPS_PACKAGES_DIR/ancildat
    pip install -e $GEOIPS_PACKAGES_DIR/synth_green
    pip install -e $GEOIPS_PACKAGES_DIR/rayleigh
    pip install -e $GEOIPS_PACKAGES_DIR/geocolor

    # Install ancillary datasets needed for GeoColor
    geoips config install city_lights --outdir $GEOIPS_ANCILDAT
    geoips config install elevation --outdir $GEOIPS_ANCILDAT
    geoips config install lw_mask --outdir $GEOIPS_ANCILDAT
    geoips config install rayleigh --outdir $GEOIPS_ANCILDAT
    geoips config install synth_green --outdir $GEOIPS_ANCILDAT

    # Install test_data_geocolor to your default $GEOIPS_TESTDATA_DIR
    # This command defaults to that location, hence the absence of '--outdir'
    geoips config install test_data_geocolor

Test geocolor installation

    # Ensure GeoIPS Python environment is enabled.

    # This will run ALL tests within this package
    pytest -m integration $GEOIPS_PACKAGES_DIR/geocolor

    # Individual direct test calls, for reference
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/abi_global.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/abi.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/ahi.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/ami.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/fci.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/goes_east.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/goes_west.sh
    $GEOIPS_PACKAGES_DIR/geocolor/tests/scripts/abi_clean.sh

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

geocolor-1.17.0a0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

geocolor-1.17.0a0-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file geocolor-1.17.0a0.tar.gz.

File metadata

  • Download URL: geocolor-1.17.0a0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for geocolor-1.17.0a0.tar.gz
Algorithm Hash digest
SHA256 9b3e6f1e1cb688fcac6cd24d3f5e45d5c9215d9d1b168abe8abfe8a709414ac2
MD5 427b4f6a91dea3fc5395fecab0e41563
BLAKE2b-256 30e0acdd0578f3fea20a0fe5c9b7a12b041687581ea5c4edb82d7ffccaba5552

See more details on using hashes here.

File details

Details for the file geocolor-1.17.0a0-py2.py3-none-any.whl.

File metadata

  • Download URL: geocolor-1.17.0a0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for geocolor-1.17.0a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 77a080e4a62be59f79ac3bc638a9d8383628adcb391b6c7457aa02e55e69397d
MD5 43df2f59af378cad23d0468d76e77c93
BLAKE2b-256 93ce350694b03e267dc2d1c3bab7b0efd23d239f0168f6259d6c650e445a2ec7

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