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

Replace fill values by NAs in landsat pre-processing functions #72

Open
loicdtx opened this issue Jun 30, 2017 · 1 comment
Open

Replace fill values by NAs in landsat pre-processing functions #72

loicdtx opened this issue Jun 30, 2017 · 1 comment

Comments

@loicdtx
Copy link
Owner

loicdtx commented Jun 30, 2017

Not sure whether this is new or not, but ESPA data include a fill value (20000), which I've seen appear in some RasterBricks processed by bfastSpatial recently. See product guide.
This fill value is not considered by any preprocessing functions at the moment. Should be replaced by NA as early as possible in the processing chain.

@GreatEmerald
Copy link

That's the "saturate value" (according to the XML metadata of ESPA-provided surface reflectance-derived VIs). The "fill value" is -9999. Indeed, both should be filtered out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants