Skip to content

Replace hardcoded parameters with parameter files in .csv or .json #1

@juliancabezas

Description

@juliancabezas

Currently the Standalone_GCBM/input_database/add_species_vol_to_bio.py and Standalone_GCBM/input_database/modify_root_parameters.py codes insert or modify the data into the Standalone_GCBM/input_database/gcbm_input.db database using SQL, these SQL statements contain hardcoded parameters, that are used for customizing the model (e.g. using a custom root to shoot ratio paramater)

This hardcoding into the python codes is not ideal and can be difficult to understand for the user if they are not into python or sql. the parameters can be stored in json dictionaries or csv tables (other suggestions are welcome) and then inserted to the database using the abovementioned python codes, to make it easier for the user to introduce custom parameters

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions