install_wgrib2: Install wgrib2.

View source: R/cdtInstall_wgrib.R

install_wgrib2R Documentation

Install wgrib2.

Description

Function to download and build wgrib2 into CDT local folder.

Usage

install_wgrib2(make = "make", cc = "gcc", fc = "gfortran")

Arguments

make

the make command or full path to make command.

cc

the C compiler to be used or the full path to the C compiler.

fc

the Fortran compiler to be used or the full path to the Fortran compiler.

References

https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/index.html

Examples


## Not run: 
## Install wgrib2 on Windows
install_wgrib2()

## Install wgrib2 on MacOS
install_wgrib2(make = '/usr/local/bin/gmake', cc = '/usr/local/bin/gcc-13', fc = '/usr/local/bin/gfortran')

## Install wgrib2 on Linux with the default make, CC and FC
install_wgrib2()

## End(Not run)


rijaf-iri/CDT documentation built on July 3, 2024, 2:54 a.m.