Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convenience showing of FITS API call GNSS specific interactive map #125

Open
2 tasks
mabznz opened this issue Jul 26, 2017 · 1 comment
Open
2 tasks

Convenience showing of FITS API call GNSS specific interactive map #125

mabznz opened this issue Jul 26, 2017 · 1 comment

Comments

@mabznz
Copy link

mabznz commented Jul 26, 2017

  • Below Download Button. Text to read 'To access and use GNSS Time Series data, please use the FITS API. As an example you can download this data using curl.'
  • Below text, output code
    curl -s -H "Accept: plain/text;version=1" "https://fits.geonet.org.nz/observation?typeID={e,n,u}&siteID=HOLD&networkID=CG" -o "HOLD_#1.csv"

Where typeID is derived from which type plots we are showing and siteID is derived from Site clicked on.

There is push back on this one around strategy on consistent data access site.

@mabznz
Copy link
Author

mabznz commented Jul 27, 2017

@elidana Ok, curl is quite magic when you look hard. This works for a site to produce the three csv's but is still cli.

curl -s -H "Accept: plain/text;version=1" "https://fits.geonet.org.nz/observation?typeID={e,n,u}&siteID=HOLD&networkID=CG" -o "HOLD_#1.csv"

Even Better

curl -s -H "Accept: plain/text;version=1" "https://fits.geonet.org.nz/observation?typeID={e,n,u}&siteID={HOLD,PALI}&networkID=CG" -o "#2_#1.csv"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants