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

Refine "How Do I..." section for R #318

Open
ateucher opened this issue Apr 3, 2024 · 2 comments
Open

Refine "How Do I..." section for R #318

ateucher opened this issue Apr 3, 2024 · 2 comments
Assignees

Comments

@ateucher
Copy link
Member

ateucher commented Apr 3, 2024

The "find data" needs updating, and perhaps we can extend by adding R content to the "access data in the cloud/locally", as well as the read and subset data sections. Chatting with @cboettig I think this can largely (entirely?) be done without reticulate/earthaccess, which I think is a friction point for R users.

Related to searching: boettiger-lab/earthdatalogin#10 and reading/subsetting: boettiger-lab/earthdatalogin#9

@ateucher ateucher self-assigned this Apr 3, 2024
@ateucher
Copy link
Member Author

ateucher commented Apr 3, 2024

@cboettig I know you're not a huge fan of emphasizing edl_search() as your opinion is that using the STAC API with rstac is a better general approach for searching for and accessing this kind of data (I think I have that right?). That said, it very nicely parallels earthaccess.search_data() in Python, so I do think it's worth talking about in the "How do I find data in R" section, in addition to using rstac. Does it need more work before you want to submit to CRAN with it included? What are our feelings about including development versions of packages in the cookbook?

@cboettig
Copy link
Contributor

cboettig commented Apr 3, 2024

Yup, 💯. I'm not against documenting the edl_search() route, the difficulty is that I think my edl_search() needs improvement before it's even a half-way decent user experience. I don't really understand the CMR API very well, and I think the way I've done edl_search() will fail on cases where it ought to work (e.g. DOI searches I think?) only because I haven't understood the API properly.

One thing that probably is worth documenting though is that users can just use the https://search.earthdata.nasa.gov/ and get the URLs directly from there. after doing edl_netrc(), those URLs should "just work" like any other URL.

(This also echoes my philosophy that earthdatalogin is 'just authentication', NASA data is 'just data' and cloud access is 'just URLs', there's no black boxes and no magic)

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