Pixalytics python utilities - useful python code
Install manually by cloning the git repository or let pip
handle resolving the download and install process.
- download git repository
- pip install .
To upgrade: pip install . --upgrade
This repository can also be installed as a pip
module
This will require the user to enter their username and github password:
- Install from
master
branch:
$ python3 -m pip install git+https://github.com/pixalytics-ltd/pixutils.git
- Install from a specific branch:
$ python3 -m pip install git+https://github.com/pixalytics-ltd/pixutils.git@feature/7
This will not require the user to enter credentials, providing ssh authentication has been set up for the users development system on github.
- Install from
master
branch:
$ python3 -m pip install git+ssh://[email protected]/pixalytics-ltd/pixutils.git
- Install from a specific branch:
$ python3 -m pip install git+ssh://[email protected]/pixalytics-ltd/pixutils.git@feature/7
Instructions for each module can be found in their respective readme files:
- ceres_download.py: functions to download NetFlux data from NASA's CERES sensor.
- date_conversion.py: converts between year, month, day and year, day_of_year
- date_utils.py: various helper functions for working with dates.
- era_download.py:
provides a wrapper around the
cdsapi
library for downloading data from Copernicus Climate Data Store. - nc_utils.py:
- raster_operations.py: apply operations to raster files
- sentinel_filename.py: utility functions to extract information from Sentinel satellite image files
- s2_retrieval.py: Retrieve and download Sentinel-2 imagery