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

Addition of a new Distances dialog #9136

Closed
rdstern opened this issue Sep 14, 2024 · 1 comment
Closed

Addition of a new Distances dialog #9136

rdstern opened this issue Sep 14, 2024 · 1 comment
Assignees
Labels

Comments

@rdstern
Copy link
Collaborator

rdstern commented Sep 14, 2024

I suggest this (at least for now) to go at the bottom of the Climatic > Check data menu.
It can have the label distances:

It is designed for the station data file with climatic metadata. Often the Long and Lat variables will have been defined earlier.

a) Usual data selector.
b) Two single receivers, one labelled Long: the other Lat: If defined in the climatic, these are filled automatically.
c) A Group box labelled From:. Witrhin it are 2 radio buttons, The first is labelled Values and underneath is the second labelled Variable.
d) If Values are selected then 2 controls are opened, labelled Long and Lat. A number can be typed into each field. For Long there is a check that it is between -180 and 180. for Lat it is between -90 and 90.
e) If Variable is chosen then a single receiver is opened for the variable to be chosen. Underneath is a receiver where you choose a value from that variable. This is a drop-down. You choose one value from that variable. (It can be any variable, not necessarily a factor. But the value chosen must be unique. Perhaps that check can wait, or even that option can wait?
f) Then the standard store result in control, with ther Position possibility. It produces a new column.
g) Then the standard base buttons.

It uses the geosphere packager that is already installed, see here.

I'll give more details

@rdstern
Copy link
Collaborator Author

rdstern commented Oct 8, 2024

@Vitalis95 that's very good, and already seems to work.

a) Could you please change the up-down controls, so you just type a number. They are such a pain to use. I would then be quite happy if the checks on the acceptable values are only when you type ok.

b) I also assume the answers are in metres. Is that correct? If so, then could you divide them by 1000 to give the answers in kms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants