R/zzz.R

Defines functions .onLoad

#nocov start
# Create environment for the package
CF <- new.env(parent = emptyenv())

.onLoad <- function(libname, pkgname) {
  assign("CFtypes", c("unknown", "data", "coordinate", "auxiliary_coordinate",
                      "scalar_coordinate", "boundary", "domain", "grid_mapping",
                      "cell_measure", "ancillary_data", "mesh_topology",
                      "location_index_set", "quantization",
                      "geometry_container"), envir = CF)
  assign("memory_cell_limit", 1e8, envir = CF)
  assign("eps", .Machine$double.eps^0.5, envir = CF)
  assign("digits", 6L, envir = CF)
}
#nocov end

Try the ncdfCF package in your browser

Any scripts or data that you put into this service are public.

ncdfCF documentation built on April 16, 2025, 9:08 a.m.