Comments (6)
I removed the "help wanted" label for now. Current work on netcdf4 involves a major rewrite of existing RNetCDF code, so development of unrelated features may not be practical at this time.
from rnetcdf.
I'm volunteering - let me know when is a good time.
from rnetcdf.
Thanks @edzer . I will let you know. It's a pity you can't start straight away, but I really think it would waste your time right now.
from rnetcdf.
Is this idea still current?
from rnetcdf.
Hi @edzer , sorry for the delayed response - your comment dropped off my radar until I checked just now.
My main motivation for using the units package was to remove the need for RNetCDF to be linked with udunits2. In recent RNetCDF versions, I have made udunits2 an optional dependency, and the calendar functions are simply disabled if udunits2 is not detected. Even so, if the units package now provides access to the full udunits2 API, I would still be interested in using it.
Beyond calendar functions, I'm no longer sure about the benefits of deeper integration of the units package with RNetCDF. How would this make things more convenient for users, and would it be worth the added complexity in our packages?
from rnetcdf.
Cc: @Enchufa2 - About the benefits: see here: Using units may eliminate a whole class of potential scientific programming mistakes. If NetCDF files come with units, why would an R user want to ignore them? Why would an R developer decide users of an NetCDF-reading package will not need them?
In two spatial packages I maintain (sf and stars) we enforce them on the user: if you compute a distance, when possible (CRS is known) the distance you get back has the proper unit: ft, m, km, whatever. Users can decide to ignore that, but it is not as if they weren't informed.
As discussed in #50 we haven't split units
in a udunits2 API and a user-level package - I'd be open to that, but this may be quite a bit of effort. If RNetCDF would use units
as a conditional dependency (in Suggests:), it would free you from the questions how to get RNetCDF running with udunits2 support when the udunits2 SysReq is not installed.
from rnetcdf.
Related Issues (20)
- Parallel support requires mpi.h HOT 1
- Accessing data in groups HOT 7
- Search for variables based on standard_name attribute HOT 1
- Certificate issue with RNetCDF version of NetCDF-C
- Installation fails on macOS. HOT 2
- Compiler warnings about function prototypes and sprintf
- Improve support for nested VLEN types
- find NetCDF lib version? HOT 6
- Configure error with udunits. HOT 12
- Avoid empty vectors in output of `var.inq.nc` HOT 10
- NetCDF: Invalid argument HOT 21
- RNetCDF now failing R CMD CHECK HOT 7
- att.put.nc() does not recognize NA_real_ anymore HOT 8
- Build with MinGW NetCDF on Windows HOT 1
- installation errors for debian 10 (buster), R 4.0.3 HOT 11
- Support slices in read.nc
- Error in checkForRemoteErrors(val) : 2 nodes produced errors; first error: NetCDF: DAP failure HOT 7
- Installing RNetCDF from rstudio. defining CPPFLAGS ? HOT 3
- A NetCDF file is not readable when created with `diskless = TRUE` and `persist = TRUE` HOT 13
- RnetCDF seems to not support compression HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnetcdf.