Skip to content

use ma.log10 instead of np.log10 in interp.hght() #168

@ahijevyc

Description

@ahijevyc

Should ma.log10() be used at the end of the interp.hght() function instead of np.log10()?

return generic_interp_pres(ma.log10(p), prof.logp[::-1], prof.hght[::-1])

I would like to avoid the log10 of zero warning, but don't want to break anything. I tried a pull request, but couldn't figure out how to isolate this change from the rest of my changes.

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