Skip to content

Metadata check

Thomas Nipen edited this page May 11, 2022 · 3 revisions

The metadata check flags stations with invalid latitude, longitude, and/or elevations.

Input parameters

Parameter Type Unit Description
points Points Point object with station position
check_lat bool Should latitudes be checked?
check_lon bool Should longitudes be checked?
check_elev bool Should elevations be checked?
check_laf bool Should land area fractions be checked?

Returned parameters

Parameter Type Unit Description
flags ivec Quality control flag (0=OK, 1=bad)

Python examples

flags = titanlib.metadata_check(
    points, True, True, True, True
)