Browse wiki
From CSDMS
No but possible +
No but possible +
No but possible +
Single Processor +
Creation date"Creation date" is a predefined property that corresponds to the date of the first revision of a subject and is provided by <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>.
00:12:18, 14 May 2011 +
https://csdms.colorado.edu/pub/models/doi-source-code/modelparameterdictionary-10.1594.IEDA.100148-0.1.tar.gz +
n/a +
As is, no updates are provided +
2,011 +
The Model Parameter Dictionary is a tool f … The Model Parameter Dictionary is a tool for numerical modelers to</br>easily read and access model parameters from a simple formatted </br>input (text) file. Each parameter has a KEY, which identifies the</br>parameter, and a VALUE, which can be a number or a string. A</br>ModelParameterDictionary object reads model parameters from an input </br>file to a Dictionary, and provides functions for the user to look up </br>particular parameters by key name.</br></br>The format of the input file looks like:</br></br>PI: the text "PI" is an example of a KEY</br>3.1416</br>AVOGADROS_NUMBER: this is another</br>6.022e23</br>FAVORITE_FRUIT: yet another</br>mangoes</br>NUMBER_OF_MANGO_WALKS: this one is an integer</br>4</br>ALSO_LIKES_APPLES: this is a boolean</br>true</br></br>Example code that reads these parameters from a file called</br>"myinputs.txt":</br></br> my_param_dict = ModelParameterDictionary()</br> my_param_dict.read_from_file( 'myinputs.txt' )</br> pi = my_param_dict.read_float( 'PI' )</br> avogado = my_param_dict.read_float( 'AVOGADROS_NUMBER' )</br> fruit = my_param_dict.read_string( 'FAVORITE_FRUIT' )</br> nmang = my_param_dict.read_int( 'NUMBER_OF_MANGO_WALKS' )</br> apples_ok = my_param_dict.read_bool( 'ALSO_LIKES_APPLES' )</br></br>As in Python, hash marks (#) denote comments. The rules are that each</br>key must have one and only one parameter value, and each value must</br>appear on a separate line immediately below the key line.</br></br>Also available are functions to read input parameters from the </br>command line (e.g., read_float_cmdline( 'PI' ) )d line (e.g., read_float_cmdline( 'PI' ) ) +
Greg +
Has query"Has query" is a predefined property that represents meta information (in form of a <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.semantic-mediawiki.org/wiki/Subobject">subobject</a>) about individual queries and is provided by <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>.
Last editor is"Last editor is" is a predefined property that contains the page name of the user who created the last revision and is provided by <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>.
0 +
minimal +
python +, tool +, file +, param +, model parameter dictionary +, simple formatted input +, access model parameters +, dict.read +, number +, tool for numerical +, numerical modelers +, modelers to easily +, simple formatted +, key +, model parameters +, access model +, parameters +, fruit +, input parameters +, read in + and modelparameterdictionary +
As code +
Tool +
Modification date"Modification date" is a predefined property that corresponds to the date of the last modification of a subject and is provided by <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>.
02:16:05, 17 September 2020 +
1 +
Tool written in Python for reading model input parameters from a simple formatted text file. +
Department of Geological Sciences +
University of Colorado, Campus Box 399 +
80309 +
false +
false +
Processing error"Processing error" is a predefined property provided by <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a> and represents errors that appeared in connection with improper value annotations or input processing.
GPL v2 +
Python +
n/a +
Through CSDMS repository +
https://github.com/csdms-contrib/modelparameterdictionary +
2010 +
any platform with Python +
Model developer +