Skip to main content

Bring colors to Euclid tiles!

Project description

Logo

Bring colors to Euclid tiles!

Azul(ERO)* downloads and merges VIS and NIR observations over a MER tile. It detects and inpaints bad pixels (hot and cold pixels, saturated stars...), and combines the 4 channels (I, Y, J, H) into an sRGB image.

*I started this project when Euclid EROs came out...

License

Apache-2.0

Disclamer

⚠️ This is a beta version! ⚠️

  • The tool is far from perfect and can be frustrating.
  • Error cases are not handled and messages may be cryptic or misleading.
  • There is no documentation...
  • Please make sure to read the "How to help?" section below before using this version.

Installation and setup

Install the azulero package with:

pip install azulero

Setup the ~/.netrc file for eas-dps-rest-ops.esac.esa.int and euclidsoc.esac.esa.int with your Euclid credentials:

machine eas-dps-rest-ops.esac.esa.int
  login <login>
  password <password>
machine euclidsoc.esac.esa.int
  login <login>
  password <password>

Basic usage

  1. Download the MER-processed FITS file of your tiles with azul retrieve.
  2. Blend the channels and inpaint artifacts with azul process.

Usage:

azul [--workspace <workspace_dir>] retrieve [--dsr <dataset_release>] <tile_indices>
azul [--workspace <workspace_dir>] process <tile_index>

Example:

azul retrieve 101292159
azul process 101292159

Advanced usage

One day I'll find some time to write something useful here... 🤔

How to help?

  • Report bugs, request features, tell me what you think of the tool and results...
  • Mention kabasset/azulero when you publish images processed with this tool.
  • Let me know when you publish images with this tool, I'm curious!

Acknowledgements

  • Azul's color blending is freely inspired by that of Mischa Schirmer's eummy.py.
  • Thank you Téo Bouvard for helping me drafting retrieve!
  • Thank you Kane Nguyen-Kim (IAP) and Rollin Gimenez (CNES), early beta-testers...
  • 🔥 Congratulations to the whole Euclid community; The mosaics are simply unbelievable!
  • 😍 Thank you also for answering my dummy questions on the contents of the images I posted.

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

azulero-0.1.0.tar.gz (76.7 kB view details)

Uploaded Source

Built Distribution

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

azulero-0.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file azulero-0.1.0.tar.gz.

File metadata

  • Download URL: azulero-0.1.0.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for azulero-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b0526286fb107d091c5756db4505615ba0f1aa0172689442ef8686321d71f62
MD5 eb900d5075f28d9349de50afcab953e2
BLAKE2b-256 72d5f2947aac17f299092bd67974bbe4bbed327dd5ab8dac37493867c3c46f44

See more details on using hashes here.

File details

Details for the file azulero-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: azulero-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for azulero-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44856b1b3ca8de581777d096f23954f9adfb9655c73488a55aba52de79d7bbdf
MD5 4bda3a8be1d25863850f9b6dc3c7fd05
BLAKE2b-256 5c5c354ef45700a8fb6763b1e3ccd99b803e355be4ba60306b4dd816570ade3a

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