-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create instrument swath outlines as shapefiles #93
Conversation
…shapefile support Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
…ine-shapefile # Conflicts: # trollsched/tests/test_satpass.py
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Here an example of how the script can be run: |
Could you add something like that example you gave to the docs? |
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #93 +/- ##
==========================================
+ Coverage 55.71% 60.35% +4.64%
==========================================
Files 14 18 +4
Lines 2107 2278 +171
==========================================
+ Hits 1174 1375 +201
+ Misses 933 903 -30 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Good point, absolutely. I have added a bare minimum at least. |
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
…schedule into swathoutline-shapefile
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Co-authored-by: Panu Lahtinen <pnuu+git@iki.fi>
I think I should have actually removed the |
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, thanks a lot for the huge work in cleaning this package up! Looks good in general, but I have a few comments and suggestions/requests inline
…errors Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
…schedule into swathoutline-shapefile
…nd line args Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c22526.ad.smhi.se>
I think the issues you raised have been attended to @mraspaud |
"FENGYUN 3A": "FENGYUN-3A", | ||
"FENGYUN 3B": "FENGYUN-3B", | ||
"FENGYUN 3C": "FENGYUN-3C", | ||
"SUOMI NPP": "NPP"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need NOAA-20 and NOAA-21 or are they not needed to translate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure. Maybe not, but you would know better, as you added this @TAlonglong . I suppose we will find out, and then fix it accordingly when/if needed in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, this was a lot of small fixes and updates.
Nice functionallity, I could also think of output WKT POLYGON string to be used wtih eg a postgis But This is not for this PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Martin Raspaud <martin.raspaud@smhi.se>
This PR adds a script to create Satellite instrument swath outlines in shapefile format, e.g. for use in an WMS/WFS service.
Also some re-factoring has been done in this PR.
git diff origin/main **/*py | flake8 --diff