Skip to content

Data set not found on ESO servers??? #10

Description

@sousasag

I am getting the error bellow, but the data set could be retrieved through the download script that comes with the eso request email.

Any idea what could be the problem?

In [21]: query.GetInstrumentData('AD Leo', instrument = 'HARPS', downloadPath='/home/sousasag/Program
    ...: as/GIT_projects/Others/StarSearch/tmpdir/download')                                         

*** Searching for HARPS results ***

this /home/sousasag/Programas/GIT_projects/Others/StarSearch/tmpdir/download
INFO: Detecting already downloaded datasets... [starsearch.core]
INFO: Checking availability of datasets to download... [starsearch.core]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-21-0c20b5fc6ca8> in <module>
----> 1 query.GetInstrumentData('AD Leo', instrument = 'HARPS', downloadPath='/home/sousasag/Programas/GIT_projects/Others/StarSearch/tmpdir/download')

~/Programas/GIT_projects/Others/StarSearch/starsearch/phase3Archive.py in GetInstrumentData(self, star, instrument, downloadPath, date, SNR)
    357         print('\n*** Searching for {0} results ***\n'.format(instrument))
    358         if instrument.upper() in checkInstruments:
--> 359             self._searchAndDownload(star, instrument, downloadPath, date, SNR)
    360         else:
    361             print('No {0} data for {1}\n'.format(instrument, star))

~/Programas/GIT_projects/Others/StarSearch/starsearch/phase3Archive.py in _searchAndDownload(self, star, instrument, downloadPath, date, SNR)
    262             print('this', downloadPath)
    263             self.eso.retrieve_data(datasets = starARCFILE, 
--> 264                                    destination = downloadPath)
    265         else:
    266             self.eso.retrieve_data(datasets = starARCFILE)

~/Programas/GIT_projects/Others/StarSearch/starsearch/core.py in retrieve_data(self, datasets, continuation, destination, with_calib, request_all_objects)
    702                                                     valid_datasets) if not v]
    703             raise ValueError("The following data sets were not found on the "
--> 704                              "ESO servers: {0}".format(invalid_datasets))
    705         # Third: Download the other datasets
    706         log.info("Downloading datasets...")

ValueError: The following data sets were not found on the ESO servers: ['ADP.2014-09-16T11:03:32.720']

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions