-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fixed -1 error in cnvmodel.c #623
Conversation
@RemingtonRohel thanks for following up on this, I really appreciate it. I'll try to test this shortly. |
@egthomas I'm sorry you even had to ask, I should've caught this before making my original PR. If you find any issues with the binaries I'll fix them up as quick as I can. |
@RemingtonRohel this is on me, too, as code reviewer. I wish we had a unit test suite to catch these problems! |
@RemingtonRohel I've just had a chance to test this, and am still seeing some differences. To test, I've used this branch and commit 577bfbc. First, I tried
Next, I tried creating an empty map file with just model vectors and plotting it, eg
and the contours and cross-polar cap potential appear to be slightly different, eg first from this branch and then with the pre-#620 commit Are you able to replicate these differences? It's possible I may have mixed something up, but it would be helpful to confirm. Thanks! |
Hi Evan, thanks for testing this. I was not able to reproduce both plots; using this branch and commit I did have a little hiccup when testing where I forgot to rebuild RST, and didn't redirect my PATH to ensure that To be verbose, my testing was:
|
I did also find one minor typo in the fitacf 2.5 changes I made, just pushed that now. |
@RemingtonRohel sorry - I must have made a mistake somewhere when trying to copy over your changes. I've just tested again with a fresh clone of this branch and the develop branch from your repository, and I can confirm the model output now matches. Thanks for checking again, and for catching the other fix in FITACF 2.5! |
Reverting error introduced with #620.
Tested by using
map_addmodel -old_aacgm
from the commit before #620 was merged and verifying identical fields in the resulting map file. I used dmap to read in the files, then used straight equality checks for each field of each record.