This package enables:
- Read HLS v1.4 data
- Download HLS data and convert them in netCDF4
- Deploy as a kubernetes job
Use conda
Access to the MOC cluster or another kubernetes cluster for deployement (optional)
Virtual environment
conda create --name hls
conda activate hls
conda install --file requirements_conda.txt
pip install requirements.txt
Download HLS data and convert them to netcdf4:
python ./download_convert_tile.py --help
docker build . -t tloubrieu/hls_download_convert
docker login
docker push tloubrieu/hls_download_convert
You need to log in a MOC cluster.
Create a persistent volume to host the converted data:
kubectl create -f persistent_storage.yaml -n sdap
Launch the job:
kubectl apply -f job.yaml -n sdap