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

Support for AOI's with Missing Copernicus Tiles #20

Open
AndrewPlayer3 opened this issue Apr 26, 2024 · 0 comments
Open

Support for AOI's with Missing Copernicus Tiles #20

AndrewPlayer3 opened this issue Apr 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@AndrewPlayer3
Copy link
Contributor

AndrewPlayer3 commented Apr 26, 2024

Problem

$PROC_HOME/DEM/mosaicDEM demrscparams 5 4
At line 43 of file mosaicDEM.f90 (unit = 1, file = 'demrscparams')
Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

Cause

This is due to the demrscparams file not having the expected (5 * 4) number of DEM files. It has 12, rather than 20 DEM files, as most of the AOI is over the ocean - Copernicus doesn't store tiles that are only over the ocean.

docker run  --rm -it \
    -v ~/.netrc:/home/conda/.netrc
    back-projection:latest ++process back_projection \
    S1A_IW_RAW__0SDV_20240101T020749_20240101T020822_051907_064575_F71B-RAW

Solution

Support for areas without Copernicus coverage needs to be added. This would be accomplished most simply by creating mock DEMs with all 0's and the correct metadata. The source for the tiles will need to fit into cop_dem.py.

@AndrewPlayer3 AndrewPlayer3 added the bug Something isn't working label Apr 26, 2024
@AndrewPlayer3 AndrewPlayer3 self-assigned this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant