argovis / demo_notebooks

3 stars 2 forks source link

suggested edits #2

Open selipot opened 2 years ago

selipot commented 2 years ago

1) Intro cell:

Argovis indexes a subset of the hourly dataset from the NOAA Global Drifter Program, version 2.00 (beta pre-release) (Elipot et al. 2016, Elipot et al. 2022 arXiv preprint). In this notebook, we tour basic search and colocation options for this dataset.

2) Can you easily combine the first two figures, i.e. showing both drifter traj and argo float? Since it is the whole point? 2 calls to the plot function?

3) to recap: what is "platform" for the drifters? Listing all the wmpo/platform at the end is not useful. Can we display just a few?

selipot commented 2 years ago

With respect to #3 above: I guess change

wmos = requests.get(API_ROOT+'/drifters/vocabulary', params=vocab_params, headers={'x-argokey': API_KEY}).json() print(wmo) to

platform_id = requests.get(API_ROOT+'/drifters/vocabulary', params=vocab_params, headers={'x-argokey': API_KEY}).json() print(platform[0:10])

selipot commented 2 years ago
  1. You have somewhere "American Atlantic". Change to "North Atlantic Ocean".
bkatiemills commented 2 years ago

Thanks very much for this, @selipot! All implemented in b8b7b0921e0f41162a39d10b6037266331a444fa save combining the plots; the first is colored by temperature scale, while the second is not. If we colored the second by surface temperature, it would mostly be redundant with the third; we could just do position and combine the two plots if you like. As is I think it's a good simple example of basic usage before doing the colocation plot below, but let me know if you want something different.