AgPipeline / issues-and-projects

Repository for issues and projects
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Test out SciF image on Cereus #406

Closed Chris-Schnaufer closed 3 years ago

Chris-Schnaufer commented 3 years ago

Task to do Test SciF container on Cereus by processing data

Reason Show that the SciF container works on the Cereus

Result Determine confidence level regarding SciF container working on Cereus

Apps to try

Chris-Schnaufer commented 3 years ago

Sample data set can be found at: https://de.cyverse.org/dl/d/3C8A23C0-F77A-4598-ADC4-874EB265F9B0/scif_test_data.tar.gz

Sample docker command lines (with a docker image named chrisatua/development:drone_makeflow), the input folder always contains the input files, output is places in the output folder, and see below for the contents of the chris-jx-args.json file (change as needed):

chris-jx-args.json

{
  "BETYDB_URL": "https://terraref.ncsa.illinois.edu/bety",
  "PLOT_SHAPEFILE": "/input/plot_shapes.shp",
  "PLOT_GEOMETRY_FILE": "/output/plots.geojson",
  "SOILMASK_SOURCE_FILE": "/input/orthomosaic.tif",
  "SOILMASK_MASK_FILE": "orthomosaicmask.tif",
  "SOILMASK_WORKING_FOLDER": "/output",
  "SOILMASK_OPTIONS": "",
  "SOILMASK_RATIO_SOURCE_FILE": "/input/orthomosaic.tif",
  "SOILMASK_RATIO_MASK_FILE": "orthomosaicmask.tif",
  "SOILMASK_RATIO_WORKING_FOLDER": "/output",
  "SOILMASK_RATIO_OPTIONS": "--ratio 1.0",
  "PLOTCLIP_SOURCE_FILE": "/output/orthomosaicmask.tif",
  "PLOTCLIP_PLOTGEOMETRY_FILE": "/output/plots.geojson",
  "PLOTCLIP_WORKING_FOLDER": "/output",
  "PLOTCLIP_OPTIONS": "",
  "FILES2JSON_SEARCH_NAME": "orthomosaicmask.tif",
  "FILES2JSON_SEARCH_FOLDER": "/output",
  "FILES2JSON_JSON_FILE": "/output/canopy_cover_files.json",
  "CANOPYCOVER_OPTIONS": "",
  "GREENNESS_INDICES_OPTIONS": "",
  "MERGECSV_SOURCE": "/input",
  "MERGECSV_TARGET": "/output",
  "MERGECSV_OPTIONS": " --ignore-dirs logs,and,others "
}
jvanderleeuw commented 3 years ago

Testing worked correctly/exit codes were all 0 and the tests were able to run sequentially