pyorbital icon indicating copy to clipboard operation
pyorbital copied to clipboard

Add functionality to predict or find SNOs of two platforms

Open adybbroe opened this issue 1 year ago • 8 comments

This PR adds a script to find Simultaneous Nadir Overpass (SNO) points for two platforms. It is build around a python script that has been used at SMHI and proved to give reasonable accurate results. Here we will attempt also to verify its accuracy in finding actual SNOs verified by data r other independent methods. Currently it being compared against an old Fortran program (provided by colleagues at NOAA) and proved to give very reliable SNOs. At SMHI this has been used to match Calipso lidar products with imager sensors like MODIS, AVHRR and VIIRS. Here we will test it also for matching other platforms.

NB! Be aware that this PR replaces an older PR that got stalled, see #51

  • [ ] Closes #xxxx
  • [x] Tests added
  • [ ] Tests passed
  • [x] Passes flake8 pyorbital
  • [ ] Fully documented

adybbroe avatar Jun 13 '24 08:06 adybbroe

Codecov Report

Attention: Patch coverage is 87.61062% with 56 lines in your changes missing coverage. Please review.

Project coverage is 87.62%. Comparing base (18340ca) to head (8ee7bf7). Report is 8 commits behind head on main.

Files Patch % Lines
pyorbital/sno_utils.py 89.45% 25 Missing :warning:
pyorbital/logger.py 0.00% 17 Missing :warning:
pyorbital/tle_archive.py 77.77% 10 Missing :warning:
pyorbital/tests/conftest.py 86.20% 4 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   87.51%   87.62%   +0.11%     
==========================================
  Files          14       22       +8     
  Lines        2210     2658     +448     
==========================================
+ Hits         1934     2329     +395     
- Misses        276      329      +53     
Flag Coverage Δ
unittests 87.62% <87.61%> (+0.11%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jun 13 '24 08:06 codecov[bot]

Coverage Status

coverage: 85.632% (-1.9%) from 87.562% when pulling b87c2f394266bcbb6bd981e9f62a6488acb9ba63 on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 13 '24 09:06 coveralls

Coverage Status

coverage: 87.257% (-0.3%) from 87.562% when pulling cf1e49ff94a025178c12f1dcab8476d934e11795 on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 14 '24 13:06 coveralls

Coverage Status

coverage: 87.37% (-0.2%) from 87.562% when pulling 915f36627e15f28f091afa984061e41a3ee121bc on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 14 '24 14:06 coveralls

Coverage Status

coverage: 87.585% (+0.02%) from 87.562% when pulling dc78d11aba641585a08dca68940f8e815c2e680b on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 14 '24 19:06 coveralls

Coverage Status

coverage: 87.717% (+0.2%) from 87.562% when pulling fe60b58b271559182019f79fe2ce0400506ea4ff on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 16 '24 20:06 coveralls

Coverage Status

coverage: 87.584% (+0.02%) from 87.562% when pulling 330e3cf9ebde7e53ec2947d937dfcc746d73b7a9 on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 18 '24 11:06 coveralls

Coverage Status

coverage: 87.603% (+0.04%) from 87.562% when pulling 8ee7bf708db81f25fdd06766c56c0613bdb8ab0c on adybbroe:sno-finder into dbabd00386c7d51108fe5527ac58978a3b160428 on pytroll:main.

coveralls avatar Jun 19 '24 20:06 coveralls