Skip to content

Commit

Permalink
[wip] fix CWL Enum single/multi from WPS + resolve outputBinding mult…
Browse files Browse the repository at this point in the history
…iple matches
  • Loading branch information
fmigneault committed Sep 20, 2023
1 parent 04baaa0 commit 5fa7ebf
Show file tree
Hide file tree
Showing 12 changed files with 598 additions and 319 deletions.
Original file line number Diff line number Diff line change
@@ -1,298 +1,13 @@
processDescription:
process:
id: Finch_EnsembleGridPointWetdays
# inputs:
# lat:
# schema:
# oneOf:
# - type: string
# - type: array
# items: string
# lon:
# schema:
# oneOf:
# - type: string
# - type: array
# items: string
# start_date:
# schema:
# required: false
# type: string
# end_date:
# schema:
# required: false
# type: string
# ensemble_percentiles:
# schema:
# required: false
# type: string
# default: 10,50,90
# average:
# schema:
# required: false
# type: boolean
# default: false
# dataset:
# schema:
# required: false
# type: string
# enum:
# - humidex-daily
# - candcs-u5
# - candcs-u6
# - bccaqv2
# default: candcs-u5
# scenario:
# schema:
# required: false
# oneOf:
# - type: string
# enum:
# - ssp126
# - rcp85
# - rcp45
# - rcp26
# - ssp585
# - ssp245
# - type: array
# items:
# type: string
# enum:
# - ssp126
# - rcp85
# - rcp45
# - rcp26
# - ssp585
# - ssp245
# models:
# schema:
# required: false
# default: all
# oneOf:
# - type: string
# enum:
# - KACE-1-0-G
# - CCSM4
# - MIROC5
# - EC-Earth3-Veg
# - TaiESM1
# - GFDL-ESM4
# - GFDL-CM3
# - CanESM5
# - HadGEM3-GC31-LL
# - INM-CM4-8
# - IPSL-CM5A-MR
# - EC-Earth3
# - GFDL-ESM2G
# - humidex_models
# - GFDL-ESM2M
# - MIROC-ESM
# - CSIRO-Mk3-6-0
# - MPI-ESM-LR
# - NorESM1-M
# - CNRM-CM5
# - all
# - GISS-E2-1-G
# - 24models
# - MPI-ESM1-2-HR
# - CNRM-ESM2-1
# - CNRM-CM6-1
# - CanESM2
# - FGOALS-g3
# - NorESM1-ME
# - IPSL-CM6A-LR
# - CMCC-ESM2
# - pcic12
# - EC-Earth3-Veg-LR
# - ACCESS-ESM1-5
# - MRI-CGCM3
# - MIROC-ESM-CHEM
# - NorESM2-MM
# - bcc-csm1-1-m
# - BNU-ESM
# - UKESM1-0-LL
# - CESM1-CAM5
# - MIROC-ES2L
# - MRI-ESM2-0
# - HadGEM2-ES
# - MIROC6
# - MPI-ESM-MR
# - INM-CM5-0
# - bcc-csm1-1
# - BCC-CSM2-MR
# - ACCESS-CM2
# - NorESM2-LM
# - IPSL-CM5A-LR
# - FGOALS-g2
# - HadGEM2-AO
# - 26models
# - MPI-ESM1-2-LR
# - KIOST-ESM
# - type: array
# items:
# type: string
# enum:
# - KACE-1-0-G
# - CCSM4
# - MIROC5
# - EC-Earth3-Veg
# - TaiESM1
# - GFDL-ESM4
# - GFDL-CM3
# - CanESM5
# - HadGEM3-GC31-LL
# - INM-CM4-8
# - IPSL-CM5A-MR
# - EC-Earth3
# - GFDL-ESM2G
# - humidex_models
# - GFDL-ESM2M
# - MIROC-ESM
# - CSIRO-Mk3-6-0
# - MPI-ESM-LR
# - NorESM1-M
# - CNRM-CM5
# - all
# - GISS-E2-1-G
# - 24models
# - MPI-ESM1-2-HR
# - CNRM-ESM2-1
# - CNRM-CM6-1
# - CanESM2
# - FGOALS-g3
# - NorESM1-ME
# - IPSL-CM6A-LR
# - CMCC-ESM2
# - pcic12
# - EC-Earth3-Veg-LR
# - ACCESS-ESM1-5
# - MRI-CGCM3
# - MIROC-ESM-CHEM
# - NorESM2-MM
# - bcc-csm1-1-m
# - BNU-ESM
# - UKESM1-0-LL
# - CESM1-CAM5
# - MIROC-ES2L
# - MRI-ESM2-0
# - HadGEM2-ES
# - MIROC6
# - MPI-ESM-MR
# - INM-CM5-0
# - bcc-csm1-1
# - BCC-CSM2-MR
# - ACCESS-CM2
# - NorESM2-LM
# - IPSL-CM5A-LR
# - FGOALS-g2
# - HadGEM2-AO
# - 26models
# - MPI-ESM1-2-LR
# - KIOST-ESM
# thresh:
# schema:
# required: false
# type: string
# default: "1.0 mm/day"
# freq:
# schema:
# required: false
# default: YS
# type: string
# enum:
# - YS
# - QS-DEC
# - AS-JUL
# - MS
# op:
# schema:
# type: string
# required: false
# default: '>='
# enum:
# - '>='
# - '>'
# - gt
# - ge
# month:
# schema:
# required: false
# oneOf:
# - type: integer
# enum: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ]
# - type: array
# items:
# type: integer
# enum: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ]
# season:
# schema:
# required: false
# type: string
# enum:
# - SON
# - MAM
# - JJA
# - DJF
# check_missing:
# schema:
# required: false
# type: string
# enum:
# - pct
# - at_least_n
# - wmo
# - skip
# - from_context
# - any
# missing_options:
# schema:
# required: false
# type: string
# contentMediaType: application/json
# cf_compliance:
# schema:
# required: false
# default: warn
# type: string
# enum:
# - raise
# - log
# - warn
# data_validation:
# schema:
# required: false
# default: raise
# type: string
# enum:
# - raise
# - log
# - warn
# output_name:
# schema:
# required: false
# type: string
# output_format:
# schema:
# required: false
# default: netcdf
# type: string
# enum:
# - csv
# - netcdf
# csv_precision:
# schema:
# required: false
# type: integer
# outputs:
# output:
# schema:
# type: string
# contentMediaType: text/plain
jobControlOptions:
- async-execute
outputTransmission:
- reference
executionUnit:
# note: This does not work by itself! The test suite injects the file dynamically.
- href: "tests/functional/application-packages/Finch_EnsembleGridPointWetdays/package.cwl"
# note: alternative for WPS (applied in tests), inspired from:
# https://finch.crim.ca/wps?service=WPS&request=DescribeProcess&version=1.0.0&identifier=ensemble_grid_point_wetdays
deploymentProfileName: "http://www.opengis.net/profiles/eoc/dockerizedApplication"
Loading

0 comments on commit 5fa7ebf

Please sign in to comment.