Skip to content
Snippets Groups Projects
Commit 50bf8230 authored by Miklip  Evaluationsystem's avatar Miklip Evaluationsystem
Browse files

made the region mandatory and all other Solrfields editable

parent 3bb973ca
No related branches found
No related tags found
1 merge request!9Two quick fixes
Pipeline #95011 passed
......@@ -67,6 +67,7 @@ class PET(plugin.PluginAbstract):
facet="project",
mandatory=True,
help="Project facet for input data search.",
editable=False,
predefined_facets={
"variable": ["hurs", "sfcWind"],
"time_frequency": ["1day"],
......@@ -76,6 +77,7 @@ class PET(plugin.PluginAbstract):
name="product",
facet="product",
mandatory=True,
editable=False,
help="Product facet for input data search.",
predefined_facets={
"variable": ["hurs", "sfcWind"],
......@@ -85,6 +87,7 @@ class PET(plugin.PluginAbstract):
name="institute",
facet="institute",
mandatory=True,
editable=False,
help="Institute facet for input data search.",
predefined_facets={
"variable": ["hurs", "sfcWind"],
......@@ -94,6 +97,7 @@ class PET(plugin.PluginAbstract):
name="model",
facet="model",
mandatory=True,
editable=False,
help="Model facet for input data search.",
predefined_facets={
"variable": ["hurs", "sfcWind"],
......@@ -103,6 +107,7 @@ class PET(plugin.PluginAbstract):
name="experiment",
facet="experiment",
mandatory=True,
editable=False,
help="Experiment facet for input data search.",
predefined_facets={
"variable": ["hurs", "sfcWind"],
......@@ -112,6 +117,7 @@ class PET(plugin.PluginAbstract):
name="ensemble",
facet="ensemble",
mandatory=True,
editable=False,
help="ensemble facet for input data search.",
predefined_facets={
"variable": ["hurs", "sfcWind"],
......@@ -131,6 +137,7 @@ class PET(plugin.PluginAbstract):
),
String(
name="region",
mandatory=True,
default=None,
help="Region box to be processed. The format have to be W,E,S,N (e.g. -180,180,0,90 for NH).\nLeave empty to select the region from input grid."
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment