Bring colors to Euclid tiles!
Project description
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
Disclaimer
⚠️ 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
The typical workflow is as follows:
- Download the MER-processed FITS file of your tiles with
azul retrieve. - Optionally select the region to be processed with
azul crop. - Blend the channels and inpaint artifacts with
azul process.
Usage:
azul [--workspace <workspace>] retrieve [--dsr <dataset_release>] <tile_indices>
azul [--workspace <workspace>] crop <tile_index>
azul [--workspace <workspace>] process <tile_slicing>
with:
<workspace>- The parent directory to save everything, in which one folder per tile will be created (defaults to the current directory).<dataset_release>- The dataset release of the tiles to be downloaded (defaults toDR1_R1).<tile_indices>- The space-separated list of tiles to be downloaded.<tile_index>- A single tile index.<tile_slicing>- A single tile index, optionally followed by a slicing à-la NumPy.
Example:
azul retrieve 102034383 --dsr DR1_R2
azul show 102034383
azul process 102034383[1000:9000,7500:13500]
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 myself (Dr Antoine Basset, CNES) and/or
azulerowhen you publish images processed with this tool. - Share with me your images, 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azulero-0.2.0.tar.gz.
File metadata
- Download URL: azulero-0.2.0.tar.gz
- Upload date:
- Size: 77.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
656cf5813fd1a4ec4b3ca5b5395a6b0d74312809498521719bea823f17e6178f
|
|
| MD5 |
04b67e2c460e8f766c561b2aff4bdfc1
|
|
| BLAKE2b-256 |
a442b6e95717e72f464afca2e9b63eafe971885ed79d41d82742953e1041fd77
|
File details
Details for the file azulero-0.2.0-py3-none-any.whl.
File metadata
- Download URL: azulero-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
345776e1b71a43a72eac83a06efb23e8e8a28e7b6700de630015b4588b3d1b2e
|
|
| MD5 |
96e6fcfe9eb959754b71fecf9832a713
|
|
| BLAKE2b-256 |
52cc10d27fd658df071fc95f1e317e4e80d4929425698733ab387188ba22c95b
|