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

Invalid results from the Retrieve Pixel Time Series Tool #93

Open
alexismc opened this issue Jan 7, 2016 · 1 comment
Open

Invalid results from the Retrieve Pixel Time Series Tool #93

alexismc opened this issue Jan 7, 2016 · 1 comment

Comments

@alexismc
Copy link

alexismc commented Jan 7, 2016

There is a discrepancy between the results provided by the Retrieve Pixel Time Series API command line tool, and the underlying data. The tool is not always producing valid results. An example is attached.

Example of invalid Retrieve Pixel Time Series results.docx

@sixy6e
Copy link
Contributor

sixy6e commented Jan 12, 2016

Not sure, I get the same results from the Retrieve Pixel Time Series Tool.

In [1]: import pandas

In [2]: df = pandas.read_csv('LS58_FC_WITH_PQA_WATER_118.25600_-22.25075_2000_01_01_2015_12_31.csv')

In [3]: df.set_index(pandas.to_datetime(df['ACQUISITION DATE']), inplace=True)

In [4]: df['2006-04']
Out[4]:
                    SATELLITE     ACQUISITION DATE  PHOTOSYNTHETIC_VEGETATION  \
ACQUISITION DATE
2006-04-17 02:00:45       LS5  2006-04-17 02:00:45                       6175
2006-04-26 01:54:43       LS5  2006-04-26 01:54:43                       5285
2006-04-26 01:55:07       LS5  2006-04-26 01:55:07                       5618

                     NON_PHOTOSYNTHETIC_VEGETATION  BARE_SOIL  UNMIXING_ERROR
ACQUISITION DATE
2006-04-17 02:00:45                           1656       2025            1801
2006-04-26 01:54:43                            891       3827            1827
2006-04-26 01:55:07                           1442       2906            1793

In [5]: df['2006-04-26']
Out[5]:
                    SATELLITE     ACQUISITION DATE  PHOTOSYNTHETIC_VEGETATION  \
ACQUISITION DATE
2006-04-26 01:54:43       LS5  2006-04-26 01:54:43                       5285
2006-04-26 01:55:07       LS5  2006-04-26 01:55:07                       5618

                     NON_PHOTOSYNTHETIC_VEGETATION  BARE_SOIL  UNMIXING_ERROR
ACQUISITION DATE
2006-04-26 01:54:43                            891       3827            1827
2006-04-26 01:55:07                           1442       2906            1793

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