writeMetFile: Write a metFile object to disk in APSIM met format.

Description Usage Arguments Details

Description

Takes a completed metFile object (generated via prepareMet or loadMet) and writes it to disk.

Usage

1
writeMetFile(fileName, met)

Arguments

fileName

The file name to write to.

met

The metFile object to write.

Details

Note the file will not be written if the met object is missing required information such as latitude, tav or amp. Note that while longitude is required in prepareMet, it is not strictly required by APSIM and thus is optional here. However, it is best practise to include it so it will remain mandatory when building a met file via prepareMet.


APSIM documentation built on May 22, 2019, 9:03 a.m.