Skip to content

Commit

Permalink
minor edits to 1-earthdatalogin
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyMarkowitz-NOAA committed May 2, 2024
1 parent eb1a7b3 commit b1365b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tutorials/r/1-earthdatalogin.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ earthdatalogin::edl_netrc(
)
earthdatalogin::edl_netrc_path()
```
To see if you've been able to

```{}
To see if you've been able to properly log in, find the .netrc file in your path by putting these into your terminal line:

```{r, eval = FALSE}
cd ~
ls -la
```
Expand Down Expand Up @@ -181,8 +182,11 @@ earthdatalogin::edl_netrc()
library(terra)
ras <- terra::rast(x = oi[1], vsi=TRUE)
plot(ras)
```

If that doesn't work, it is likely because you do not have permissions to use that dataset or are properly logged in. Try this:

```{r}
url <- lpdacc_example_url()
ras <- terra::rast(url, vsi=TRUE)
plot(ras)
Expand Down

0 comments on commit b1365b9

Please sign in to comment.