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

--outfile for retrieve_pixel_time_series.py ? #96

Open
juan-guerschman opened this issue Jan 28, 2016 · 3 comments
Open

--outfile for retrieve_pixel_time_series.py ? #96

juan-guerschman opened this issue Jan 28, 2016 · 3 comments

Comments

@juan-guerschman
Copy link

Hi there,

Is there a way to have an output called something other than "output.csv" out of retrieve_pixel_time_series.py ?

Thanks

@sixy6e
Copy link
Contributor

sixy6e commented Jan 28, 2016

Also could be the version you are using.

Specifying the --output-directory flag, will output the file with a filename with the following elements:

{Satellite}_{Product}_{masking applied}_{Lon}_{Lat}_{Start Datetime}_{End Datetime}.csv

For example:

retrieve_pixel_time_series.py --lon 120.25 --lat -20.25 --acq-min 2013-12 --acq-max 2013-12 --satellite LS7 --dataset-type ARG25 --quiet --mask-pqa-apply --hide-no-data --output-directory $PWD

yeilds:

LS7_NBAR_WITH_PQA_120.25000_-20.25000_2013_12_01_2013_12_31.csv

Hope that helps

@juan-guerschman
Copy link
Author

Thanks Josh,

I was actually referring to retrieve_aoi_time_series.py (my mistake)

@sixy6e
Copy link
Contributor

sixy6e commented Jan 28, 2016

Ahh ok.

Just had a look at the code and it is marked as a TODO.

https://github.com/GeoscienceAustralia/agdc/blob/develop/api/source/main/python/datacube/api/tool/retrieve_aoi_time_series.py#L341

Unfortunately it won't be addressed at our end, so the best I can offer is rename the output file.
mv output.csv some-other-name.csv.

Sorry it's not the solution you're looking for.

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