validate_nc: Validate an netcdf file for pastclim

View source: R/validate_nc.R

validate_ncR Documentation

Validate an netcdf file for pastclim

Description

This function validates a netcdf file as a potential dataset for pastclim. The key checks are: a) that the dimensions (longitude, latitude and time) have been set correctly. b) that all variables have the appropriate metadata (longname and units)

Usage

validate_nc(path_to_nc)

Arguments

path_to_nc

path to the nc file of interest

Value

TRUE if the file is valid.


EvolEcolGroup/pastclim documentation built on Nov. 8, 2024, 5:21 a.m.