Skip to content

Accessing TEMPO data with R#405

Open
ateucher wants to merge 10 commits intomainfrom
tempo-r
Open

Accessing TEMPO data with R#405
ateucher wants to merge 10 commits intomainfrom
tempo-r

Conversation

@ateucher
Copy link
Member

@ateucher ateucher commented Nov 19, 2025

This is a tutorial for accessing TEMPO data with R using terra. It is a direct fork of the Python notebook from the ASDC Data and User Services Tutorials Cookbook, illustrating the same workflow.

@danielfromearth I'd love it if you could look this over and see if you see anything jump out compared to the ASDC Python notebook.

@cboettig and/or @eeholmes you are much more fluent in this work than me, so if you have the time to look it over I'd appreciate it very much!

The deploy preview for the tutorial is here.

@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request November 19, 2025 00:08 Inactive
@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request November 19, 2025 22:36 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2025 22:43 Inactive
@ateucher ateucher mentioned this pull request Nov 19, 2025
@ateucher
Copy link
Member Author

/deploy-preview

@github-actions
Copy link

@NASA-Openscapes NASA-Openscapes deleted a comment from github-actions bot Jan 28, 2026
@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request February 10, 2026 21:14 Inactive
@eeholmes
Copy link
Contributor

@ateucher I get this error with earthdatalogin 0.0.3 (the one on cran) from code below. Your 3 or so box

Error in vapply(elements, encode, character(1)) :
values must be length 1,
but FUN(X[[4]]) result is length 4
dlat <- 5.0 # deg
dlon <- 6.0 # deg

bbox_results <- earthdatalogin::edl_search(
  short_name = short_name,
  version = version,
  temporal = c(date_start, date_end),
  bounding_box = c(
    POI_lon - dlon,
    POI_lat - dlat,
    POI_lon + dlon,
    POI_lat + dlat
  ), # search by bounding box
  parse_results = FALSE
)

length(bbox_results)

@ateucher
Copy link
Member Author

Right, yes! PR here: boettiger-lab/earthdatalogin#25.

You can install with remotes::install_github("boettiger-lab/earthdatalogin@fix-search-bounding-box")

@ateucher ateucher requested a review from ronnyhdez March 10, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants