Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 20240517 to main #89

Merged
merged 19 commits into from
Jul 17, 2024
Merged

Dev 20240517 to main #89

merged 19 commits into from
Jul 17, 2024

Conversation

davidoesch
Copy link
Collaborator

Adding

  • VIIRS Meteoswiss data
  • terrain shadow precalc
  • bounding box fix

Tschoun and others added 19 commits May 29, 2024 13:40
Unfortunately doesn't work yet.
-fix for #86
-removed the backup on S3 INT option with rclone
Script to add properties to existing GEE assets.
#79
feat: Add processing pipeline for daily LandSurface mosaics over Switzerland with step0_processor_msg_lst.py

- Introduced a new script to access and upload LandSurface (LST) data over Switzerland to Google Earth Engine (GEE).
- Utilized CMS SAF data provided by MeteoSwiss via s3 on data.geo.admin.ch to store as SATROMO assets and to calculate VCI, TCI, and VHI.
- Added functionality to retrieve and process NetCDF files, extracting relevant attributes and dimensions.
- Implemented the export of NetCDF bands to GeoTIFF format and scaling operations using Rasterio.
- Added functions to generate LST mosaics for specific dates and handle the upload process to Google Cloud Storage and GEE.
- Ensured proper error handling and cleanup of temporary files and datasets.
- added in dev_config a new PRODUCT_MSG which configs the LST
- moved util_addproperties to main_functions
-Update dependencies in requirements.txt for LST METEOSWISS processor
- removed unnecessary mount point to google cloud
MSG LST  and MSG LST CLIMA can be calculated with the step0 function as the otehr products. They won't have a step1. This eases reprocessing
-satromo processor: added PRODUCT_MSG_CLIMA and PRODUCT_MSG exit points
-dev_config: added RODUCT_MSG_CLIMA and PRODUCT_MSG

 new
-step0_processor_msg_lst.py
-step0_processor_msg_lst_clima.py
we can now reprocess a specific date from command line 'python satromo_processor.py prod_config.py 2024-06-12', the config file is a must when us with date option
#56
- outside of the swiss perimeter is nan, inside, but in the swiss perimeter but outside the flightpath is zero.
- line 605 in step0_processor_s2_sr.py is causing issues.
Added Description for Single Scene Processing via Command Line
Thumbnail:
        Fixed aspect ratio for VHI and S2 SR.
        Updated background to accommodate new S2 SR tiles cut to the effective path.
        Changed no data values accordingly.

util_listassets.py:
        Added functionality to list all assets of a collection.

util_moveassets_terrainshadow.py:
        Script to initialize Google Earth Engine (GEE) and Google Drive authentication.
        Converts Day-Of-Year (DOY) to datetime strings.
        Manages the copying and updating of assets within Google Earth Engine.

satromo_publish.py:
        Added detection for VHI cases to use the Swiss buffer.

step0_processor_s2_sr.py:
        Replaced swisswalti with swisssurface.
        Set terrainShadowDetectionPrecalculated to True to use pre-calculated shadows.

step1_processor_vhi.py:
        Updated to use T235959 time format instead of 240000 as per definitions with BAFU and MeteoSwiss.
set certifi to latest
fix missing slash at the end of the shadow terrain collection
@davidoesch davidoesch merged commit c4bcd32 into main Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants