rom-py / rompy

Relocatable Ocean Modelling in PYthon (rompy) combines templated cookie-cutter model configuration with various xarray extensions to assist in the setup and evaluation of coastal ocean model
https://rom-py.github.io/rompy/
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Consistent case for arguments #110

Open tomdurrant opened 3 months ago

tomdurrant commented 3 months ago

Currently the schism namelist files have a mix of upper and lower case variable names. This doesn't matter at runtime as Fortran is case insenstive. Python is not. To avoid confusion, and as a syle decision, I propose we enforce lowercase variable names

tomdurrant commented 3 months ago

Note that we have the option to make inputs themselves case insensitive.



class Settings(BaseSettings):
    redis_host = 'localhost'

    class Config:
        case_sensitive = True```