diff --git a/README.md b/README.md index f3387f3..d11c141 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,12 @@ The function requires using a **Bearer Token**; to obtain a token, follow the be 3. Click "See wget Download Command" (bottom near top, in the middle) 4. After clicking, you will see text that can be used to download data. The "Bearer" token will be a long string in red. +After logging in, the below will show the bearer token in red instead of `INSERT_DOWNLOAD_TOKEN_HERE`. Sometimes, after logging in, the NASA website will redirect to another part of the website. To obtain the bearer token, just navigate to the [NASA LAADS Archive](https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/5000/VNP46A3/) after logging in. + +

+NASA LAADS Bearer Token +

+ ## Usage ### Setup diff --git a/man/figures/nasa_laads_login.png b/man/figures/nasa_laads_login.png new file mode 100644 index 0000000..748de54 Binary files /dev/null and b/man/figures/nasa_laads_login.png differ diff --git a/readme_figures/make_hex.R b/readme_figures/make_hex.R index 23b760e..8f59a1b 100644 --- a/readme_figures/make_hex.R +++ b/readme_figures/make_hex.R @@ -12,7 +12,7 @@ if(T){ library(sp) library(sf) - bearer <- read_csv("~/Desktop/nasa_bm_bearer.csv") %>% + bearer <- read_csv("~/Desktop/bearer_bm.csv") %>% pull(token) # Make ROI ------------------------------------------------------------------- @@ -80,7 +80,29 @@ if(T){ l_x = 0.93, l_width = 3, l_height = 3, - filename="~/Documents/Github/download_blackmarble/man/figures/hex.png") + filename="~/Documents/Github/blackmarbler/man/figures/hex.png") + + sticker(p, + package="blackmarblepy", + spotlight = F, + #l_alpha = 1, #0.15, + p_size=20, #7 + p_y = 1.40, + p_family = "sans", + p_fontface = "italic", + s_x=1, + s_y=0.9, + s_width=2.5, + s_height=2.5, + p_color = "white", + h_fill = "black", + h_color = "black", + white_around_sticker = T, + l_y = 1.4, + l_x = 0.93, + l_width = 3, + l_height = 3, + filename="~/Documents/Github/blackmarblepy/docs/images/logo.png") } \ No newline at end of file