GithubHelp home page GithubHelp logo

switch to tidync from ncdf4? about rerddap HOT 5 CLOSED

sckott avatar sckott commented on June 26, 2024
switch to tidync from ncdf4?

from rerddap.

Comments (5)

sckott avatar sckott commented on June 26, 2024

@rmendels pinging you here to make sure you're aware of the tidync details.

@mdsumner sorry to maybe re-hash the conversation we had in slack ... I want to check what you think about the approach I've taken. Here's the code that uses tidync https://github.com/ropensci/rerddap/blob/tidync/R/zzz.r#L67-L74 - where the input var x is a path to the netcdf file. I know in slack you mentioned maybe doing something like purrr::map(tn$grid$grid, ~activate(tn, .x) %>% hyper_tibble()) where tn is the output of tidync(x). I don't understand enough what the right thing to do here is, but between you two i'm hoping we can pick the best approach here for the most people

from rerddap.

rmendels avatar rmendels commented on June 26, 2024

@sckott @mdsumner - For my packages what I need is where the downloaded netcdf file is stored (and that is still there), the packages are indifferent to how rerddap then reads in and melts the data. For users of the rerddap package, if the end result is different in significant ways than in the present version, that could break scripts. I know next to nothing about the internals of tidync, and the real question is using tidync to ingest and 'melt' the netcdf file, rather than using the code you have in the present version of rerddap to do the same, and the best way to use tidync to do so. For the latter question I have no idea, for the former as I said, as long as the end result is basically the same, it doesn't affect anything, sort of one of those internal black-box details that the user doesn't know about.

from rerddap.

sckott avatar sckott commented on June 26, 2024

thanks @rmendels

from rerddap.

mdsumner avatar mdsumner commented on June 26, 2024

I'm similar, didn't know the context when answering "how to suck out every grid as a dataframe?".

tidync just lets you choose, array output, df output, or just updated meta-print (what slices would be made if read triggered .. )

from rerddap.

sckott avatar sckott commented on June 26, 2024

Thanks both for the input.

from rerddap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.