Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
world magnetic model 2010

Subject: world magnetic model 2010

From: Jeff Klein

Date: 28 Jan, 2010 00:26:05

Message: 1 of 11

Hi,

Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.

Anyone familiar with this?

Subject: world magnetic model 2010

From: Manoj Nair

Date: 5 Feb, 2010 17:28:02

Message: 2 of 11

"Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> Hi,
>
> Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
>
> Anyone familiar with this?


We at NGDC updates WMM. We informed MATLAB that they need to update the model. I have created aerowmm2010.mat for testing the MATLAB code. Also need to write an additional line ine wrldmagm.m to accept the new model. If you want this mat file, I can send these files to you.

best

Manoj

Subject: world magnetic model 2010

From: Manoj Nair

Date: 5 Feb, 2010 17:28:02

Message: 3 of 11

"Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> Hi,
>
> Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
>
> Anyone familiar with this?


We at NGDC updates WMM. We informed MATLAB that they need to update the model. I have created aerowmm2010.mat for testing the MATLAB code. Also need to write an additional line ine wrldmagm.m to accept the new model. If you want this mat file, I can send these files to you.

best

Manoj

Subject: world magnetic model 2010

From: Joaquim Luis

Date: 5 Feb, 2010 19:30:22

Message: 4 of 11

"Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> Hi,
>
> Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
>
> Anyone familiar with this?

It may be useful to know that the GMT CVS version was uptdated to IGRF2010 and it also has the CM4 model

J. Luis

Subject: world magnetic model 2010

From: Enrique

Date: 9 Feb, 2010 11:13:03

Message: 5 of 11

"Manoj Nair" <manoj.nair@colorado.edu> wrote in message <hkhkf2$otm$1@fred.mathworks.com>...
> "Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> > Hi,
> >
> > Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
> >
> > Anyone familiar with this?
>
>
> We at NGDC updates WMM. We informed MATLAB that they need to update the model. I have created aerowmm2010.mat for testing the MATLAB code. Also need to write an additional line ine wrldmagm.m to accept the new model. If you want this mat file, I can send these files to you.
>
> best
>
> Manoj

Hi everyone,

I have been dealing with aerowmm2010.mat file to figure out how to get de coefficients (c, dc, fn, fm, snorm, k) from the WMM developers file WMM.COF in order to run the matlab function wrldmagm.

 I will be grateful if you can send it to me your file so I can test that my values I get are correct. Of course, I can send them to you if you want...

best regards

Enrique

Subject: world magnetic model 2010

From: Manoj Nair

Date: 9 Feb, 2010 14:23:02

Message: 6 of 11

"Enrique " <e.urquijo@fis.ucm.es> wrote in message <hkrfvv$q4m$1@fred.mathworks.com>...
> "Manoj Nair" <manoj.nair@colorado.edu> wrote in message <hkhkf2$otm$1@fred.mathworks.com>...
> > "Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> > > Hi,
> > >
> > > Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
> > >
> > > Anyone familiar with this?
> >
> >
> > We at NGDC updates WMM. We informed MATLAB that they need to update the model. I have created aerowmm2010.mat for testing the MATLAB code. Also need to write an additional line ine wrldmagm.m to accept the new model. If you want this mat file, I can send these files to you.
> >
> > best
> >
> > Manoj
>
> Hi everyone,
>
> I have been dealing with aerowmm2010.mat file to figure out how to get de coefficients (c, dc, fn, fm, snorm, k) from the WMM developers file WMM.COF in order to run the matlab function wrldmagm.
>
> I will be grateful if you can send it to me your file so I can test that my values I get are correct. Of course, I can send them to you if you want...
>
> best regards
>
> Enrique

Enrique,

I sent my version of aero2010.mat to your email. The variable snorm is un-necessary.

-Manoj

Subject: world magnetic model 2010

From: Lloyd Walker

Date: 26 Feb, 2010 17:23:04

Message: 7 of 11

"Manoj Nair" <manoj.nair@colorado.edu> wrote in message <hkrr46$ab0$1@fred.mathworks.com>...
> "Enrique " <e.urquijo@fis.ucm.es> wrote in message <hkrfvv$q4m$1@fred.mathworks.com>...
> > "Manoj Nair" <manoj.nair@colorado.edu> wrote in message <hkhkf2$otm$1@fred.mathworks.com>...
> > > "Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> > > > Hi,
> > > >
> > > > Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
> > > >
> > > > Anyone familiar with this?
> > >
> > >
> > > We at NGDC updates WMM. We informed MATLAB that they need to update the model. I have created aerowmm2010.mat for testing the MATLAB code. Also need to write an additional line ine wrldmagm.m to accept the new model. If you want this mat file, I can send these files to you.
> > >
> > > best
> > >
> > > Manoj
> >
> > Hi everyone,
> >
> > I have been dealing with aerowmm2010.mat file to figure out how to get de coefficients (c, dc, fn, fm, snorm, k) from the WMM developers file WMM.COF in order to run the matlab function wrldmagm.
> >
> > I will be grateful if you can send it to me your file so I can test that my values I get are correct. Of course, I can send them to you if you want...
> >
> > best regards
> >
> > Enrique
>
> Enrique,
>
> I sent my version of aero2010.mat to your email. The variable snorm is un-necessary.
>
> -Manoj

I am working on an Attitude determination code for a class and I was wondering if you can send me the updated M file. I would be most happy if you could. This will help out my team so much.

Thanks.

Subject: world magnetic model 2010

From: Arkadiy Turevskiy

Date: 5 Mar, 2010 18:52:08

Message: 8 of 11

Hi,
Release 2010a became available today. As part of that release we updated the function wrldmagm to include world magnetic model for years 2010-2015 (WMM-2010).
See release notes for more details:
http://www.mathworks.com/products/aerotb/whatsnew.html

HTH.
Arkadiy


"Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> Hi,
>
> Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
>
> Anyone familiar with this?

Subject: world magnetic model 2010

From: Rajesh Tiwari

Date: 23 Mar, 2010 03:38:05

Message: 9 of 11

"Lloyd Walker" <lwalker8@gatech.edu> wrote in message <hm901o$2lr$1@fred.mathworks.com>...
> "Manoj Nair" <manoj.nair@colorado.edu> wrote in message <hkrr46$ab0$1@fred.mathworks.com>...
> > "Enrique " <e.urquijo@fis.ucm.es> wrote in message <hkrfvv$q4m$1@fred.mathworks.com>...
> > > "Manoj Nair" <manoj.nair@colorado.edu> wrote in message <hkhkf2$otm$1@fred.mathworks.com>...
> > > > "Jeff Klein" <jklein@physics.umn.edu> wrote in message <hjqlit$nur$1@fred.mathworks.com>...
> > > > > Hi,
> > > > >
> > > > > Matlab has a function called wrldmagm which returns the earth's magnetic field at a given time and coordinate. This uses the World Magnetic Model which is updated every five years - so if you are looking for a date in 2003, for example, you need to tell wrldmagm to use the year 2000 file, and after 2005 the year 2005 file, etc. The function loads a bunch of coefficients from a file like aerowmm2000.mat or aerowmm2005.mat. But now there's a new model for 2010. Nobody appers to have created an aerowmm2010.mat. I assume that these files contain the same coefficients as wmm.cof, the C file that is used by the functions distributed by the people who do the WMM, but I don't know how to map between the two - some you can kinda figure out but it's hit and miss.
> > > > >
> > > > > Anyone familiar with this?
> > > >
> > > >
> > > > We at NGDC updates WMM. We informed MATLAB that they need to update the model. I have created aerowmm2010.mat for testing the MATLAB code. Also need to write an additional line ine wrldmagm.m to accept the new model. If you want this mat file, I can send these files to you.
> > > >
> > > > best
> > > >
> > > > Manoj
> > >
> > > Hi everyone,
> > >
> > > I have been dealing with aerowmm2010.mat file to figure out how to get de coefficients (c, dc, fn, fm, snorm, k) from the WMM developers file WMM.COF in order to run the matlab function wrldmagm.
> > >
> > > I will be grateful if you can send it to me your file so I can test that my values I get are correct. Of course, I can send them to you if you want...
> > >
> > > best regards
> > >
> > > Enrique
> >
> > Enrique,
> >
> > I sent my version of aero2010.mat to your email. The variable snorm is un-necessary.
> >
> > -Manoj
>
> I am working on an Attitude determination code for a class and I was wondering if you can send me the updated M file. I would be most happy if you could. This will help out my team so much.
>
> Thanks.
-------------------------------------------------------------------------------------------------------------------
Hi Manoj,
Is wrldmagm.m function only available with 2010 version? I am using university license of 2007b version.
I need to use this function to compute dip latitude, Please instruct me to solve this problem.
With regards
Rajesh

Subject: world magnetic model 2010

From: Mark Shore

Date: 23 Mar, 2010 11:44:10

Message: 10 of 11

-------------------------------------------------------------------------------------------------------------------
> Hi Manoj,
> Is wrldmagm.m function only available with 2010 version? I am using university license of 2007b version.
> I need to use this function to compute dip latitude, Please instruct me to solve this problem.
> With regards
> Rajesh


For those who don't have access to the Aerospace Toolbox, updated WMM coefficients and software with source code (C and Fortran) are available at http://www.ngdc.noaa.gov/geomag/WMM/soft.shtml

Subject: world magnetic model 2010

From: Ant

Date: 20 Dec, 2011 14:06:08

Message: 11 of 11

"Mark Shore" wrote in message <hoa9ia$m1t$1@fred.mathworks.com>...
> -------------------------------------------------------------------------------------------------------------------
> > Hi Manoj,
> > Is wrldmagm.m function only available with 2010 version? I am using university license of 2007b version.
> > I need to use this function to compute dip latitude, Please instruct me to solve this problem.
> > With regards
> > Rajesh
>
>
> For those who don't have access to the Aerospace Toolbox, updated WMM coefficients and software with source code (C and Fortran) are available at http://www.ngdc.noaa.gov/geomag/WMM/soft.shtml

Hi everyone,

Are there some good algorithms for converting WMM.COF (g(n,m), h(n,m) and their variations) to the arrays C and dC from aerowmm20**.mat, or vice versa? We have 2 models of ionospheric process in our institute: the first one is written in C++, second - we are trying to realize in Matlab. So it is very relevant for validation of our forthcoming model.
I know that:
C(1,1) = g(0,0) = 0.0; # for every EPOCH
?(1,2) = g(1,0);
C(2,1) = h(1,1);
C(2,2) = g(1,1);
same for dC array and g/h variations.
But I have no idea how other g and h are related with other C elements.
I will be grateful if someone could help us.

Thanks in advance.

Anton

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us