Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Velocity Parameter Incompatibility with GeodePy #29

Open
BatchelorJ opened this issue Mar 24, 2024 · 0 comments
Open

First Velocity Parameter Incompatibility with GeodePy #29

BatchelorJ opened this issue Mar 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BatchelorJ
Copy link
Collaborator

In the GeodePy v0.4.0 update the method of calculating the first velocity parameters was updated, and changed the required set of input variables:

“This release revises functionality in the geodepy.survey module that computes corrections applied to electronic distance measurements. This includes changes to the parameter types and units in the function geodepy.survey.first_vel_params”

The PynAdjust file pynadjust/surveyconvert/gsi.py is useful for converting the Leica survey data output into the format required by Dynadjust.

This file is used to read the file and classify each type of measurement, as well as adjust the distances measured for the atmospheric conditions recorded at the time of observation, this file uses:

from geodepy.survey import first_vel_params
from pynadjust.surveyconvert.config import readconfig, renameobs, removeobs, first_vel_cfg, stdev_cfg
from pynadjust.surveyconvert.classtools import Coordinate, InstSetup, Observation, reducesetup, first_vel_observations

‘gsi.gsi2msr’ looks for the observation file (.gsi), and a file of the same name that contains a list of the atmospheric corrections (.gpy), and attempts to pass those values onto geodepy.survey.first_vel_params

Since the Geodepy v0.4.0 update, the parameters read and passed between do not match and the process throws back an error.

@BatchelorJ BatchelorJ added the bug Something isn't working label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant