Skip to content

Implementing additional features #27

@aeropung

Description

@aeropung

There seems to be an obvious correlation between some features (ex. model in the Python lowtran code and "Model" in the original LOWTRAN documentation), and a NON-obvious correlation between others. For instance, consider the following example (found here):

p = ArgumentParser(description="Lowtran 7 interface")
# 1: Tropical,        2: Midlatitude Summer,  3: Midlatitude Winter
# 4: Subarctic Summer 5: Subarctic Winter:    6: 1976 US Standard
p.add_argument("--model", type=int, default=2)
p.add_argument("-z", "--obsalt", help="Observer altitude [km]", type=float, default=0.0)
p.add_argument("-a", "--zenang", help="Observer zenith angle [deg]", type=float, nargs="+", default=[35])
p.add_argument("-s", "--short", help="Shortest wavelength [nm]", type=float, default=200)
p.add_argument("-l", "--long", help="Longest wavelength [cm^-1]", type=float, default=30000)
p.add_argument("-step", help="Wavelength step size [cm^-1]", type=float, default=20)
P = p.parse_args()

c1 = {
    "model": P.model,
    "h1": P.obsalt,
    "angle": P.zenang,
    "wlshort": P.short,
    "wllong": P.long,
    "wlstep": P.step,
}

How do I implement:

  • Scattering type (IMULT parameter, Card 1)
  • Cloud type (ICLD parameter, Card 2)
  • Aerosol attenuation (IHAZE parameter, Card 2)

These would be phenomenal to be able to control!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions