EcoJulia / RasterDataSources.jl

Easily download and use raster data sets in Julia
MIT License
21 stars 10 forks source link

Small fixes for MODIS data #54

Closed jguerber closed 1 year ago

jguerber commented 1 year ago

Hello :)

I found out that the current version of the MODIS data source handled non-square rasters very badly. It also mixed up latitude and longitude. This was caused by my way of building a data matrix from the results of the request : it is now fixed.

I also changed the default missingdata value to -3000, used by many MODIS datasets.

codecov[bot] commented 1 year ago

Codecov Report

Base: 71.30% // Head: 71.10% // Decreases project coverage by -0.21% :warning:

Coverage data is based on head (1b6dee9) compared to base (a28b080). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #54 +/- ## ========================================== - Coverage 71.30% 71.10% -0.21% ========================================== Files 18 18 Lines 711 706 -5 ========================================== - Hits 507 502 -5 Misses 204 204 ``` | [Impacted Files](https://codecov.io/gh/EcoJulia/RasterDataSources.jl/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EcoJulia) | Coverage Δ | | |---|---|---| | [src/modis/utilities.jl](https://codecov.io/gh/EcoJulia/RasterDataSources.jl/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EcoJulia#diff-c3JjL21vZGlzL3V0aWxpdGllcy5qbA==) | `92.92% <100.00%> (-0.34%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EcoJulia). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EcoJulia)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.