BookmarkSubscribeRSS Feed
tobyfarms
Fluorite | Level 6

Hello.

Is there a way to calculate the magnetic declination of a specific location?  I am looking to pull the declination from the below listed website and build a table based off the results. 

 

https://www.ngdc.noaa.gov/geomag-web/#declination

1 REPLY 1
ballardw
Super User

I suggest following the links to WMM model and download that software. That is very likely to be much more amenable then passing parameters and pulling results from a website.

 

Note the DATE component. You really should make sure that your data includes an "as of date" as magnetic declination actually changes constantly (though slowly). Note that there are two models referenced depending upon the date you are interested in.

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1274 views
  • 3 likes
  • 2 in conversation