noaa-onms / sanctsound

NOAA sanctuaries and sound test products
https://sanctsound.ioos.us
MIT License
4 stars 2 forks source link

pre-demonstration fixes #5

Closed bbest closed 3 years ago

bbest commented 3 years ago

From Jenn Brown...

Going through my demo slides and outline. As of 6:30 PM Tues - the following issues need resolving:

bbest commented 3 years ago

CINMS > "Where did we listen?" tab was showing:

## Error in curl::curl_fetch_memory(url, handle = handle) : 
##   Error in the HTTP2 framing layer

After running:

https://github.com/noaa-onms/sanctsound/blob/e942d1b35594966c9903be1f6f8540692e9fe648/draft/_sanctuary_template.Rmd#L70-L73

Ran this to update the image file:

glink <- tbl_listen %>% 
  filter(file_type == "propagation") %>% 
  pull(gdrive_shareable_link)
gdrive2path(glink, relative_pfx = "")
bbest commented 3 years ago
bbest commented 3 years ago

This appears to have gotten fixed with commit https://github.com/noaa-onms/sanctsound/commit/f42191d8191a98f10a2985c420cb204af18f924e. Previously when I updated the sounds.html, I noticed it was missing jquery from when I was trying to clean up old versions. Re-knitting fixed this.

image

bbest commented 3 years ago

These rows in modals sheet of sanctsound website content got tab_name values changed from "Daily patterns" to "Time series".

Updated _modal_template.Rmd to using "Time series" so now has the extra tab:

image

Applied to all tab_name == "Time series": Container Ships, Humpback whales, Smaller Vessels (all in CINMS)

bbest commented 3 years ago

Reran render_site.R with redo_modals <- T and updated the following modals in commit https://github.com/noaa-onms/sanctsound/commit/6a85b97aa7c8cf5b6dd2369e9241dae4ba2f6234:

  1. cinms_military-sonar
  2. cinms_snapping-shrimp
  3. fknms_black-grouper
  4. fknms_dolphins
  5. fknms_nassau-grouper
  6. fknms_red-grouper
  7. fknms_snapping-shrimp
  8. fknms_vessels
  9. fknms_waves
  10. fknms_wind
  11. hihwnms_dolphins
  12. hihwnms_military
  13. hihwnms_minke-whales
  14. hihwnms_rain
  15. hihwnms_smaller-boats
  16. hihwnms_sperm-whales
  17. hihwnms_waves
bbest commented 3 years ago

From Jenn:

Hi Carrie and Ben,I just restarted my system and see the same fixes and remaining issues that Carrie provided above.My top priority to fix before the presentation are: 

These are key places where we are showing how we will be incorporating house products in the foyer


From Carrie: Hi Ben, I know we're running against the clock here and I truly appreciate all your efforts to fix these bugs. 

PLEASE let me know if I'm just not seeing your latest and greatest work. I cleared my cache but there is still a strong chance that the source of the above is user error. 

bbest commented 3 years ago

Reran in commit https://github.com/noaa-onms/sanctsound/commit/dbf81c538122d4f43bd2ea84845860c674cad170 to produce working version:

https://sanctsound.ioos.us/draft/s_cinms.html

image

bbest commented 3 years ago

These work for me. Please try refreshing the page in your browser (usually F5 or Shift + Reload to hard refresh) after directly visiting:

  1. cinms_container-ships
  2. cinms_humpback-whales
  3. cinms_smaller-vessels

cinms_container-ships

cinms_container-ships:

image

cinms_humpback-whales

cinms_humpback-whales:

image

cinms_smaller-vessels

cinms_smaller-vessels:

image

bbest commented 3 years ago

Fixed in commit locations.use_for_map -> map: Where did we listen?, eg:

Florida Keys National Marine Sanctuary

BEFORE

image

AFTER

image

bbest commented 3 years ago

fixed newlines in md output for sounds.html #5 6) · noaa-onms/sanctsound@12becdc

BEFORE

image

AFTER

image

bbest commented 3 years ago

Fixed "Monthly patterns" in _modal_template.Rmd in commit https://github.com/noaa-onms/sanctsound/commit/feda171883f02b82424c899ef68a04b7e6b169f6 & changed values for tab_name = "Monthly pattern" to "Monthly patterns" in sanctsound website content - Google Sheets for CINMS:

Please visit and hard refresh:

  1. cinms_container-ships
  2. cinms_humpback-whales
  3. cinms_smaller-vessels

BEFORE

cinms_humpback-whales

image

AFTER

cinms_humpback-whales

image

bbest commented 3 years ago

Ah, I thought "Daily patterns" got changed to "Time series" previously:

  • [x] 7) The detection graphs are not showing up for CINMS humpback whales.

These rows in modals sheet of sanctsound website content got tab_name values changed from "Daily patterns" to "Time series".

I added "Daily patterns" back in with commit https://github.com/noaa-onms/sanctsound/commit/571ecf2081b2e29831ce2179d0fcf77e4b517ec9 so these now show up here:

FIXED

image