earthlab / earthpy

A package built to support working with spatial data using open source python
https://earthpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
500 stars 160 forks source link

Apppears #906

Open eculler opened 1 year ago

eculler commented 1 year ago

Addressing #905 Support APPEEARS Downloads

Description

This PR provides an AppeearsDownloader class. Users can instantiate the class with information about the dataset, time period, and spatial extent. The Downloader can then be triggered to download (or continue an incomplete download).

The AppeearsDownloader does not expose every feature of the API, but provides enough to be usable. Notably, spatial extent must be specified by GeoDataFrame, not bounding box or point location coordinates.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Checklist:

eculler commented 11 months ago

@nkorinek So, I used the keyring library to store Earthdata passwords, but honestly this is causing some problems since I can't figure out what the current version of the gnome keyring even is, much less get it installed on Codesaces. So I'm wondering if we can at least give the option to use a plain text configuration file. We could set it up to populate from GitHub secrets for Codespace users? If there's no config file, users will get prompted by input(), which is the current no-keyring behavior (but seems to get tripped up by ad blockers and popup blockers)