# What recommended format of input parameters/options of a large hydrological model compiled as a Julia Package?

**URL:** https://discourse.julialang.org/t/what-recommended-format-of-input-parameters-options-of-a-large-hydrological-model-compiled-as-a-julia-package/60561
**Category:** Modelling & Simulations
**Tags:** question, input-output
**Created:** [May 5, 2021, 4:12am UTC](https://discourse.julialang.org/t/what-recommended-format-of-input-parameters-options-of-a-large-hydrological-model-compiled-as-a-julia-package/60561 "2021-05-05T04:12:31Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![JosephPollacco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josephpollacco/32/51404_2.png) [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)
#### Post date: [May 16, 2021, 10:59pm UTC](https://discourse.julialang.org/t/what-recommended-format-of-input-parameters-options-of-a-large-hydrological-model-compiled-as-a-julia-package/60561/3 "2021-05-16T22:59:55Z")

</div>

As a follow up I posted the following post:  
[How to convert struct 2 TOML?](https://discourse.julialang.org/t/converting-structure-to-toml-back-to-structure/61265)

> [@How to convert TOML file into a Structure and vice versa?](https://discourse.julialang.org/t/converting-structure-to-toml-back-to-structure/61265):
>
> Hi I have a large SoilWater-ToolBox model and I have got all the input , [Parameters](https://github.com/manaakiwhenua/SoilWater_ToolBox/blob/master/src/Param.jl), as a mutable struct. In order to create a package I will need to read the parameters outside the model as recommended in previous post as a TOML. So the question is how to convert the structure into TOML? Then how to read TOML file into a structure? I will be delighted if one can provide me guidance how to perform this task by using the proposed simple structure: mutable struct OPTION transpiration …

Many thanks for any help you may provide

---

_[View the full topic](https://discourse.julialang.org/t/what-recommended-format-of-input-parameters-options-of-a-large-hydrological-model-compiled-as-a-julia-package/60561)._
