marinebon / p2p

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

SST time series plot does not display #7

Closed eqmh closed 5 years ago

eqmh commented 5 years ago

Hi @bbest, @7yl4r

I updated the coords for the St Pete site (Pass-A-Grille) and everything ran fine except that the SST time series data were not generated for the new location. I think this is an issue with Travis CI:

image

image

I am wondering if I skipped a step here.

Many thanks, Enrique

bbest commented 5 years ago

Hi @eqmh,

To get the SST timeseries data for the new location at Site: Pass-a-Grille, you simply needed to delete the data/sst/sst_usa-usfstpete.csv file and regenerate.

I added the following to the README:

  • WARNING: If you change the coordinates of a site (ie lat/lon in sites.csv), please delete the associated site's file in data/sst, so the timeseries plot becomes representative of the data for that coordinate.

I like testing it out by setting parameters in the site_template.Rmd and knitting, eg parameters:

params:
  site_name: "Pass-a-Grille"
  site_id: "usa-usfstpete"

Now, you can see: