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.

IF REQUIRED: Install base geoips package

SKIP IF YOU HAVE ALREADY INSTALLED BASE GEOIPS ENVIRONMENT

If GeoIPS Base is not yet installed, follow the installation instructions within the geoips source repo documentation:

Install geocolor package

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

GeoColor is dependent on multiple GeoIPS plugin packages, containing static datasets and fortran functionality required to produce GeoColor. Future releases of GeoColor will likely remove some of these dependencies, streamlining the installation process moving forward.

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/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/himawari.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.18.1.tar.gz (23.3 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.18.1-py2.py3-none-any.whl (16.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file geocolor-1.18.1.tar.gz.

File metadata

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

File hashes

Hashes for geocolor-1.18.1.tar.gz
Algorithm Hash digest
SHA256 a7d66c52d945990cc0e373755e9c0144965f0fac605beb43800e46de991666b9
MD5 fcece621d6e12db3ffbd50281993156d
BLAKE2b-256 6e5c61d7954274369458c22a4e13260c7294c7305125e02463aa1ce60e5fa231

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geocolor-1.18.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.18.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 559da255aede22a2136aca0294d81fcc6840f9864c8fbae8034cc5004f3098b1
MD5 addf325d94fa760a2c10a797288a465b
BLAKE2b-256 45c68e862fa25f43487b0455920457fd16e8c6a6db482863d8f35822f8750c1d

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