Closed karpob closed 4 years ago
see fortran 90 module. sigh use global variables in module. Avoid copying and just pass it into the module, also able to optionally passing things based on whether something is allocated or not (avoid a billion flags passed through reference, and let python handle flags). https://docs.scipy.org/doc/numpy/f2py/python-usage.html#array-arguments
Closed with #87
f2py will allow you to set/allocate things to global variables/arrays in a module. This could be useful to reduce the memory footprint of surfaces/aerosols/clouds when we don't use them. Also reduce the lag of passing profiles through. We can just set it once and forget it.