Skip to content

Troposphere selection ignored in Kinematic #500

Open
@ToppDev

Description

@ToppDev

When selecting the Kinematic positioning mode, the Tropo correction gets ignored.
image

This makes it hard to analyze simulated data without troposphere.

Can be seen here in the code: https://github.com/rtklibexplorer/RTKLIB/blob/demo5/src/rtkpos.c#L1032
The tropo correction gets always applied

/* adjust range for troposphere delay model (hydrostatic) */
zhd=tropmodel(obs[0].time,pos,zazel,0.0);
mapfh=tropmapf(obs[i].time,pos,azel+i*2,NULL);
r+=mapfh*zhd;

Maybe you can wrap this in an if similar to https://github.com/rtklibexplorer/RTKLIB/blob/demo5/src/pntpos.c#L265

if (tropopt==TROPOPT_SAAS||tropopt==TROPOPT_EST||tropopt==TROPOPT_ESTG) {
    *trp=tropmodel(time,pos,azel,REL_HUMI);
    ...
}

Also a side question to this. Why does the wet delay get ignored?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions