View source: R/createClimateFile.R
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.
1 | createClimateFile(latitude, longitude, start_date, end_date, placename)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.