ropensci / tidync

NetCDF exploration and data extraction
https://docs.ropensci.org/tidync
90 stars 12 forks source link

example with climate data #114

Open mdsumner opened 2 years ago

mdsumner commented 2 years ago

just a place holder for possible exploration

from this video/tweet https://www.youtube.com/watch?v=kU4O1LXdz2Y

https://twitter.com/PatSchloss/status/1542538954477633543?s=20&t=ClVlbYhEV73g863DvqIgUg

this

image

code

url <- "https://data.giss.nasa.gov/pub/gistemp/gistemp250_GHCNv4.nc.gz"
curl::curl_download(url, basename(url))
system(sprintf("gunzip %s", basename(url)))
 library(tidync)
tidync("gistemp250_GHCNv4.nc")
tidync("gistemp250_GHCNv4.nc") |> hyper_tibble()