Skip to content

Transitioning to an XML, Namelist, JSON, or other format for parameter file #1401

@rgknox

Description

@rgknox

While netcdf has its benefits, there are also benefits to storing parameter constants in other formats, such as XML, fortran namelist, json, or others. Use this space to plan this change.

Format Pros Cons
Netcdf fast binary/parallel IO requires compilation step
error checking conda has weak support
strong fortran support
XML high conda/python support too verbose (lots of tags)
simple python interpretation not strong fortran support
slower IO (text)
Namelist easy fortran implementation requires new python scripting
simple visual format units/dimensions/etc would be comment only
JSON like XML but less verbose less ubiquitous than xml, maybe less python support

Here is a design document that I started wtih @glemieux :

https://docs.google.com/document/d/1ufKlQzQAtBQLFwICfnv59Kp7QslgdUT2CIfuh0D5mIM/edit?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    inputs: parameter filePertaining to changes to the FATES parameter filesoftware: APIPertaining to specific API updates with any host land model

    Projects

    Status

    ❕Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions