marinebon / p2p

Pole to Pole website
https://marinebon.github.io/p2p
3 stars 1 forks source link

+ seascapes, chlorophyll data #10

Open 7yl4r opened 4 years ago

7yl4r commented 4 years ago

Similar to how SST data is shown.

Look to https://cwcgom.aoml.noaa.gov/cgom/OceanViewer/ for inspiration. Under "Global Seascapes" then click a pixel to see a graph. We want the same but using a box around each regional site.

image



Did I miss anything @eqmh ?

7yl4r commented 4 years ago

How to from bbest:

Tabbed sections in HTML document | R Markdown: The Definitive Guide You can organize content using tabs by applying the .tabset class attribute to headers within a document. This will cause all sub-headers of the header with the .tabset attribute to appear within tabs rather than as standalone sections. For example:

## Quarterly Results {.tabset}

### By Product

(tab content)

### By Region

(tab content)
bbest commented 4 years ago

Hey @eqmh,

Maps

I just added the seascape map into latest site_template.Rmd:

image

rerrdap::info()

The main trick was to add the URL of the ERDDAP server (see P2P Website Notes - Google Docs):

https://github.com/marinebon/p2p/blob/e36a085b9523af08a6b75eb5bc0fd141f43b4bc5/site_template.Rmd#L29-L30

Per rerrdap::info:

# the default is
info(datasetid, url = eurl(), ...)

# which equates to
eurl()
# "https://upwell.pfeg.noaa.gov/erddap/"

Timeseries

Haven't added this yet. Since it's a class, it's not like Temp or Chl continuous variables. Previously used streamgraph, eg in Explorer shiny app.

eqmh commented 4 years ago

Hey @bbest,

CHL and SST maps are not working after addition of Seascapes.

Also, I just changed the colobar scale of seascapes from 1 to 33.

bbest commented 4 years ago

Zoomable Streamgraphs for Seascapes