-
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
Model is only valid from Tue Dec 20 2019 to Tue Dec 10 2024 #8
Comments
Also please: warn that there is a time limit :) |
my org would also love to see this model updated, and going forward, politely request that errors are logged rather than crashing with the expired model error 🙏 to anyone else needing a stopgap, I found am successfully using the fork https://github.com/cristianob/geomagnetism as a replacement |
As a workaround, we have cloned the module and changed the expiry date. Let's see if the maintainer responds :) |
This is a bug in implementation rather than outdated spec.
Hopefully the updated spec is integrated soon after it is released, as well. |
Nice catch! Thanks @facetious |
Wonderful little y2k-style surprise here :) If you can wait for the full fix... const magneticFieldInfo = geomagnetism
.model(new Date(2024, 11, 9))
.point([vehicleWaypoint.latitudeDeg, vehicleWaypoint.longitudeDeg]); |
NOAA will release the next World Magnetic Model on December 17th. Until this date, we need to use the outdated model. My fork will only log a error instead of crashing as a temporary replacement. Just do a And change the imports to On December 17th, I will release a new version on my fork and submit a PR here. I am hoping the author will update this library. If the author don't update, I will mantain the library updated on my fork. |
|
Hi,
today our app crashed with the message
"Model is only valid from Tue Dec 20 2019 to Tue Dec 10 2024"
How can we update the model or disable this error?
Thank you!
The text was updated successfully, but these errors were encountered: