OPH_PUBLISH

Description

Type

Data Access.

Behaviour

It creates HTML pages with data and other information from a datacube.

Parameters

  • content: optional argument identifying the type of content to be published: “all” allows to publish data and metadata (default); “data” allows to publish only data; “metadata” allows to publish only metadata.
  • cube: PID of the datacube related to requested data.
  • schedule: scheduling algorithm to equally distribute resources. At the moment, the only possible value is 0 with a static linear block distribution among processes.
  • show_id: if set to “no” (default), it won’t show fragment row ID. With “yes”, it will also show the fragment row ID.
  • show_index: if set to “no” (default), it won’t show dimension ids. With “yes”, it will also show the dimension id near the value.
  • show_time: if set to “no” (default), the values of time dimension are shown as numbers. With “yes”, the values are converted as a string with date and time.

System parameters

  • exec_mode: operator execution mode. Possible values are async (default) for asynchronous mode, sync for synchronous mode with json-compliant output.
  • ncores: number of parallel processes to be used (min. 1).
  • sessionid: session identifier used server-side to manage sessions and jobs. Usually, users don’t need to use/modify it, except when it is necessary to create a new session or switch to another one.
  • objkey_filter: filter on the output of the operator written to file (default=all => no filter, none => no output, publish => no output).

Examples

Publish data from the datacube “URL/1/1”:

[OPH_TERM] >>  oph_publish content=data;cube=URL/1/1;show_id=no;show_index=no;

Arguments

Argument name Type Mandatory Values Default Min/Max-value
content “string” “no” “all|data|metadata” “all”  
cube “string” “yes”      
schedule “int” “no” “0” “0” “0” / “0”
show_index “string” “no” “yes|no” “no”  
show_id “string” “no” “yes|no” “no”  
show_time “string” “no” “yes|no” “no”  
exec_mode “string” “no” “async|sync” “async”  
sessionid “string” “no”   “null”  
ncores “int” “no”   “1” “1” /
objkey_filter “string” “no” “all|none|publish” “all”