DOI-USGS / ncdfgeom

NetCDF-CF Geometry and Timeseries Tools for R: https://code.usgs.gov/water/ncdfgeom
https://doi-usgs.github.io/ncdfgeom/
15 stars 7 forks source link

create.nc gives warning with current RNetCDF pkg #74

Closed jordansread closed 3 years ago

jordansread commented 3 years ago
Warning message:
In create.nc(nc_file, large = TRUE) :
  Argument 'large' is deprecated; please specify 'format' instead

From within write_timeseries_dsg

I think this requires an arg update to deal with changes in ncdf4 pkg

jordansread commented 3 years ago

I see this is RNetCDF not ncdf4. I'm also not seeing where this arg is used, so perhaps it is an odd warning from the RNetCDF pkg out of the control of this pkg.

Will see if I can share a reproducible example to diagnose.

dblodgett-usgs commented 3 years ago

Odd -- I'm using the format argument in source. I wonder if things are out of date on CRAN?

jordansread commented 3 years ago

Looks like the source is up to date but CRAN is not, which is why I am getting this warning.

CRAN source:

nc <- create.nc(nc_file, large = TRUE)

github source:

nc <- create.nc(nc_file, format = "offset64")
dblodgett-usgs commented 3 years ago

Alright -- I'll work on a CRAN update.

dblodgett-usgs commented 3 years ago

CRAN release is up. See https://cran.r-project.org/package=ncdfgeom