implementation of absolute path for inputs and outputs in Docker + re…#76
implementation of absolute path for inputs and outputs in Docker + re…#76paul-csgroup0411 wants to merge 3 commits into
Conversation
| "assert os.path.exists(PATH_L1B_DATA), \"L1B path missing\"\n", | ||
| "\n", | ||
| "os.makedirs(INVERSE_OUTPUT_FOLDER, exist_ok=True)\n", | ||
| "assert os.path.exists(INVERSE_OUTPUT_FOLDER), \"Output folder missing\"\n", |
There was a problem hiding this comment.
This check should be launched only when INVERSE is used, not if direct is used
There was a problem hiding this comment.
FRom what I see below, I think there is a missunderstanding.
Sen2VM is writting direct grid directly inside input L1B folder.
But Sen2VM is writting inverse grids in a dedicated output folder. INVERSE_OUTPUT_FOLDER is this folder
| "source": [ | ||
| "# === GIPPs ===\n", | ||
| "# This step is optional if the Database was already downloaded or if you want to use your own GIPP\n", | ||
| "# If the PATH_GIPP isn't equal to \"\", this cell won't work, if PATH_GIPP= \"\", this cell will clone the git GIPP folder inside WORKDIR/DATA\n", |
There was a problem hiding this comment.
So if I want to download into a dedicated forlder, I can't ?
Either I download it from my side in the folder I want, either I use this cell to download in into WORKING_FOLDER, right ?
| | ├── DATASTRIP # Required | ||
| | ├── GRANULE # Required | ||
| | └── ... | ||
| │ └── GEOID/ # Put your GEOID files here (Optional) |
There was a problem hiding this comment.
Generally, we have the GEOID beside the DEM as they are link. COuld it be possible to make it a separate input also ? :)
| WORKDIR | ||
| │ | ||
| ├── DATA/ | ||
| │ ├── bulletin*.txt # IERS prediction of earth exploration (downloaded by the cell n°3) |
There was a problem hiding this comment.
For IERS bulletin, is it complicated to make it also a separate input, but if path is empty, it will download it, and if not, we use the one provided in input ?
|



…ad me update