RETURN-project / makeDataCube

Data management
Apache License 2.0
0 stars 0 forks source link

Check database access #6

Open PabRod opened 4 years ago

PabRod commented 4 years ago

Background

In order to download the data base a key file is required.

The key can be obtained by:

  1. Creating a profile at NASA's EarthData website.
  2. Accessing the profile section in LAADS DAAC website.

The key is typically stored at ~/.laads. The data base, at /home/$USER/.local/share/pylandsat

References

Problem

pylandsat sync-database doesn't throw an error nor a warning if the user has not properly configured the access to the data base. Instead, an empty data base is downloaded. See #5.

Solution

Write some control code that: