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

Computation of ni variable is using altitude instead of site latitude #2

Open
dfil opened this issue Jul 5, 2017 · 0 comments
Open

Comments

@dfil
Copy link

dfil commented Jul 5, 2017

When computing ni as:

ni = 6378137.0 / Math.sqrt(1 - 0.00669437999013 * Math.pow(Math.sin(altitude), 2));

It should not be using altitude it should actually be using site latitude as per section 6.1 of the CAT17 Appendix A paper - it mentions a variable L1 and says it should be "calculated once with the formula below using the latitude of the radar".

Uncommenting the latitude parameter and a simple correction to:
ni = 6378137.0 / Math.sqrt(1 - 0.00669437999013 * Math.pow(Math.sin(siteLatitude), 2));
should do the job.

@dfil dfil changed the title Computation of ni variable is using altitude instead of Computation of ni variable is using altitude instead of site latitude Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant