NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

fixed a bug that cause N to vary even though variable_N=False #63

Closed johanneshorak closed 4 years ago

johanneshorak commented 4 years ago

As described in the description there was a bug that led to N varying even though a fixed value of N was prescribed in the ICAR options and variable_N was set to false. A workaround was to set spatial_variable_fields to False as well. This is now fixed, it now works as intended.

Additionally all N calculations were moved into an if-clause that is only triggered if variable_N=True.