Skip to content

anchal-physics/FortranNamelistParser.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FortranNamelistParser

Documentation Build Status Others
Stable Dev Tests Documentation Format Check Coverage GitHub license Code Style: Blue

A pure Julia implementation of Python f90nml package.

The code is hosted on GitHub, with some continuous integration services to test its validity.

This repository was forked from singularitti/FortranNamelistParser.jl and new functions to read namelist files into dictionary and write dictiory into Fortran namelist files have been added. Some minor fixes in parsing have also been done to ensure all sample namelist files are read correctly.

If your usecase namelist file is not being read/written correctly, please open a issue and attach a namelist file with code to reproduce the error. Alternatively, you are more than welcome to contribute directly to the repo to get your usecase supported.

Installation

The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add FortranNamelistParser

Or, equivalently, via the Pkg API:

julia> import Pkg; Pkg.add("FortranNamelistParser")

Documentation

  • STABLEdocumentation of the most recently tagged version.
  • DEVdocumentation of the in-development version.

Project status

The package is tested against, and being developed for, Julia 1.6 and above on Linux, macOS, and Windows.

Questions and contributions

Contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems. The Contributing page has guidelines that should be followed when opening pull requests and contributing code.

Alternatives

  • FortranNamelists.jl: Another pure Julia package for reading (and writing) Fortran namelist files. This package is another take at the parser with different features and is similar to Fortran in use. Please check if this package meets your needs better.
  • PyFortran90Namelists: A package which uses PyCall to call the python librabry f90nml to perform the parsing.
  • Fortran90Namelists: A work in progress package which would probably supersede this package in future when registered.

About

A pure Julia implementation of Python f90nml package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%