createClimateFile: createClimateFile

Description Usage Arguments

View source: R/createClimateFile.R

Description

This function takes in the relevant parameters needed for making API calls and proceeds to create the 4 files necessary for use in the AquaCrop software. The 4 files will be saved to the current R working directory, after which they may be copied into the DATA folder within your AquaCrop installation location. From there you should now be able to run the AquaCrop software and select the climate file by finding the placename, specified in this function, in the list of climate files within the program.

Usage

1
createClimateFile(latitude, longitude, start_date, end_date, placename)

Arguments

latitude

Latitude for modeling location

longitude

Longitude for modeling location

start_date

Starting date for model run

end_date

Ending date for model run

placename

Text string for model location, used in file naming


aWhereAPI/aWhere-AquaCrop documentation built on Feb. 16, 2021, 7:02 p.m.