Commit 961bc97b authored by John Tourtellott's avatar John Tourtellott

Update EMS, GSSHA, and ProteusPoisson workflow files

* Delete .crf files
* Rename .sbt files
* Migrate export template from .crf to -export.sbt files
parent 06805a49
<SMTK_AttributeManager Version="1">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="OutputFile" Label="Output file" Version="0" NumberOfRequiredValues="1"
FileFilters="EMS files (*.ems);;All files (*.*)" />
<File Name="PythonScript" Label="Python script" Version="0" NumberOfRequiredValues="1"
AdvanceLevel="1" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>EMS.py</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<RootView Title="Export">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<AdvancedFontEffects Bold="0" Italic="0" />
<InstancedView Title="ExportSpec">
<InstancedAttributes>
<Att Type="ExportSpec">Options</Att>
</InstancedAttributes>
</InstancedView>
</RootView>
</SMTK_AttributeManager>
<?xml version="1.0"?>
<cmb-resources>
<attribute id="simbuilder" role="template">
<SMTK_AttributeManager Version="1">
<!--********** Category and Analysis Infomation ***********-->
<Categories Default="General"/>
<Analyses>
<Analysis Type="EMS" Default="General"/>
</Analyses>
<!--********** Attribute Definitions ***********-->
<Definitions>
<AttDef Type="Globals" BaseType="" Abstract="0" Version="0" Unique="false" Associations="">
<ItemDefinitions>
<!--*** Solvers Definitions ***-->
<Group Name="Solvers" Label="Solvers" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="et_leak_rate" Label="et leak rate" Version="0" NumberOfRequiredValues="1">
<Categories>
<Cat>General</Cat>
</Categories>
</Double>
<Int Name="total_weeks" Label="Total weeks" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="false">0</Min>
</RangeInfo>
</Int>
</ItemDefinitions>
</Group>
<!--*** Output Definitions ***-->
<Group Name="Output" Label="Output" NumberOfRequiredGroups="1">
<ItemDefinitions>
<String Name="file" Label="File" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"/>
<String Name="type" Label="Type" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1">
<DiscreteInfo DefaultIndex="0">
<Value Enum="HDF">HDF</Value>
<Value Enum="XML">XML</Value>
</DiscreteInfo>
</String>
</ItemDefinitions>
</Group>
<!--*** Weather Definitions ***-->
<Group Name="Weather" Label="Weather" NumberOfRequiredGroups="1">
<ItemDefinitions>
<String Name="file" Label="File" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"/>
<Double Name="rain_absorption_rate" Label="Rain absorption rate" Version="0" NumberOfRequiredValues="1"/>
<Double Name="rain_adjust" Label="Rain adjust" Version="0" NumberOfRequiredValues="1"/>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<!--********** Agent Definitions (i.e. the living stuff) ***********-->
<AttDef Type="Agents" Label="Agents" BaseType="" Abstract="0" Version="0" Unique="false" Associations="">
<ItemDefinitions>
<!--********** Salamander Definition ***********-->
<Group Name="Salamanders" Label="Salamanders" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="yearly_survival_rate" Label="Yearly survival rate" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
<Max Inclusive="true">1</Max>
</RangeInfo>
</Double>
<Int Name="max_per_pond" Label="Maximum per pond" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Int Name="max_age" Label="Maximum age" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Int Name="initial_per_pond" Label="Initial amount per pond" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Int>
<Int Name="random_number_seed" Label="Random Number Seed" Version="0" AdvanceLevel="1" Optional="true" NumberOfRequiredValues="1">
<DefaultValue>42</DefaultValue>
</Int>
</ItemDefinitions>
</Group>
<!--********** Eggs Definition ***********-->
<Group Name="Eggs" Label="Eggs" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="hatch_rate" Label="Hatch rate" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
<Max Inclusive="true">1</Max>
</RangeInfo>
</Double>
</ItemDefinitions>
</Group>
<!--********** Larvae Definition ***********-->
<Group Name="Larvae" Label="Larvae" NumberOfRequiredGroups="1">
<ItemDefinitions>
<Double Name="survival_rate" Label="Survival rate" Version="0" NumberOfRequiredValues="1">
<RangeInfo>
<Min Inclusive="true">0</Min>
<Max Inclusive="true">1</Max>
</RangeInfo>
</Double>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</AttDef>
<AttDef Type="Pond" Label="Pond" BaseType="" Version="0" Unique="true" Associations="gf">
<ItemDefinitions>
<Double Name="watershed_m" Label="Watershed" Version="0" NumberOfRequiredValues="1" Units="meters">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Double>
<Double Name="max_depth" Label="Maximum depth" Version="0" NumberOfRequiredValues="1" Units="meters">
<RangeInfo>
<Min Inclusive="true">0</Min>
</RangeInfo>
</Double>
</ItemDefinitions>
</AttDef>
</Definitions>
<!--********** Attribute Instances ***********-->
<Attributes>
</Attributes>
<!--********** Workflow Views ***********-->
<RootView Title="SimBuilder">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<InstancedView Title="Globals">
<InstancedAttributes>
<Att Type="Globals">Globals</Att>
</InstancedAttributes>
</InstancedView>
<InstancedView Title="Agents">
<InstancedAttributes>
<Att Type="Agents">Agents</Att>
</InstancedAttributes>
</InstancedView>
<AttributeView Title="Ponds" ModelEntityFilter="gf" CreateEntities="true">
<AttributeTypes>
<Type>Pond</Type>
</AttributeTypes>
</AttributeView>
<ModelEntityView Title="Domains" ModelEntityFilter="gf" Definition="Pond" />
</RootView>
</SMTK_AttributeManager>
</attribute>
<!-- Template for Export Dialog -->
<attribute id="export" role="template">
<SMTK_AttributeManager Version="1">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="OutputFile" Label="Output file" Version="0" NumberOfRequiredValues="1"
FileFilters="EMS files (*.ems);;All files (*.*)" />
<File Name="PythonScript" Label="Python script" Version="0" NumberOfRequiredValues="1"
AdvanceLevel="1" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>EMS.py</DefaultValue>
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<RootView Title="Export">
<DefaultColor>1., 1., 0.5, 1.</DefaultColor>
<InvalidColor>1, 0.5, 0.5, 1</InvalidColor>
<AdvancedFontEffects Bold="0" Italic="0" />
<InstancedView Title="ExportSpec">
<InstancedAttributes>
<Att Type="ExportSpec">Options</Att>
</InstancedAttributes>
</InstancedView>
</RootView>
</SMTK_AttributeManager>
</attribute>
</cmb-resources>
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" Lavel="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" />
<File Name="PythonScript" Label="Python script" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>GSSHA.py</DefaultValue>
</File>
<String Name="ProjectName" Label="Project Name" Version="0">
<BriefDescription>Name (prefix) to use for all GSSHA files</BriefDescription>
</String>
<Directory Name="ProjectPath" Label="Project Path"
Version="0" NumberOfRequiredValues="1" ShouldExist="false">
<BriefDescription>Filesystem folder for all GSSHA files</BriefDescription>
</Directory>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Group" Title="Export" TopLevel="true">
<Views>
<View Title="ExportSpec" />
</Views>
</View>
<View Type="Instanced" Title="ExportSpec">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
<?xml version="1.0"?>
<cmb-resources>
<!-- Simulation Attributes -->
<attribute id="simbuilder" role="template">
<SMTK_AttributeSystem Version="2">
<Includes>
<File>gssha-simbuilder.sbt</File>
</Includes>
</SMTK_AttributeSystem>
</attribute>
<!-- Export Attributes -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" Lavel="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" />
<File Name="PythonScript" Label="Python script" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>GSSHA.py</DefaultValue>
</File>
<String Name="ProjectName" Label="Project Name" Version="0">
<BriefDescription>Name (prefix) to use for all GSSHA files</BriefDescription>
</String>
<Directory Name="ProjectPath" Label="Project Path"
Version="0" NumberOfRequiredValues="1" ShouldExist="false">
<BriefDescription>Filesystem folder for all GSSHA files</BriefDescription>
</Directory>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<View Type="Group" Title="Export" TopLevel="true">
<Views>
<View Title="ExportSpec" />
</Views>
</View>
<View Type="Instanced" Title="ExportSpec">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="NumericsFile" Label="Numerics output file (*_n.py)"
NumberOfRequiredValues="1"
FileFilters="Python files (*.py)">
<DefaultValue>poisson_n.py</DefaultValue>
</File>
<File Name="PythonScript" Label="Python script" Version="0"
NumberOfRequiredValues="1"
AdvanceLevel="0" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>ProteusPoisson.py</DefaultValue>
</File>
<File Name="polyfile" Label="polyfile" Version="0"
AdvanceLevel="1" NumberOfRequiredValues="1"
Optional="true" IsEnabledByDefault="false"
FileFilters="Piecewise Linear Complex files (*.poly);;All files (*.*)">
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByAdvanceLevel="true" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
<?xml version="1.0"?>
<cmb-resources>
<!-- Include baseline template by reference -->
<attribute id="simbuilder" role="template">
<include href="ProteusPoisson.sbt" />
</attribute>
<!-- Template for Export Dialog -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" BaseType="" Version="0" Unique="true">
<ItemDefinitions>
<File Name="NumericsFile" Label="Numerics output file (*_n.py)"
NumberOfRequiredValues="1"
FileFilters="Python files (*.py)">
<DefaultValue>poisson_n.py</DefaultValue>
</File>
<File Name="PythonScript" Label="Python script" Version="0"
NumberOfRequiredValues="1"
AdvanceLevel="0" ShouldExist="true"
FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>ProteusPoisson.py</DefaultValue>
</File>
<File Name="polyfile" Label="polyfile" Version="0"
AdvanceLevel="1" NumberOfRequiredValues="1"
Optional="true" IsEnabledByDefault="false"
FileFilters="Piecewise Linear Complex files (*.poly);;All files (*.*)">
</File>
</ItemDefinitions>
</AttDef>
</Definitions>
<Attributes />
<Views>
<View Type="Instanced" Title="ExportSpec" TopLevel="true"
FilterByAdvanceLevel="true" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Export Specification" Type="ExportSpec">Options</Att>
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment