Usage
Field trial design
To call the function for field design, take the code below as an example.
curl http://your-server-address/ocpu/library/AgriOS/R/design_exp1 \
-d "data='/home/root/Data/entries-diagonal.json'&design='diagonal'&nrows=18&ncols=18"
An temporary workspace will be created, and the file output-design.json contains the field book.
To get the output data, run the code below.
curl http://180.184.76.202:8080/ocpu/tmp/X-ocpu-session/files/output-design.json
Field data analysis
To call the function for field data analysis, take the code below as an example.
curl http://180.184.76.202:8080/ocpu/library/AgriOS/R/fd_analysis1 \
-d "file='/home/root/Data/besag.json'&design='rcbd'"
An temporary workspace will be created, and the file output-analysis.json contains the field book.
To get the output data, run the code below.
curl http://180.184.76.202:8080/ocpu/tmp/X-ocpu-session/files/output-analysis.json