1 |
mocchiut |
1.1 |
IGRF12 magnetic field maps (from http://www.ngdc.noaa.gov/IAGA/vmod/igrf.html ) and re-formatted by E.M. : |
2 |
|
|
igrf12_d05.txt final data for 2005 |
3 |
|
|
igrf12_d10.txt final data for 2010 |
4 |
|
|
igrf12_i15.txt temporary data for 2015 |
5 |
|
|
igrf12_i15s.txt temporary secular variation data for 2020 |
6 |
|
|
|
7 |
|
|
NB: NAME MUST END with .txt or s.txt (expected in DV code). Formatting is given by this program: |
8 |
|
|
|
9 |
|
|
ricoefficientizza.c |
10 |
|
|
|
11 |
|
|
#include <iostream> |
12 |
|
|
#include <fstream> |
13 |
|
|
#include <sstream> |
14 |
|
|
#include <string> |
15 |
|
|
#include <math.h> |
16 |
|
|
#include <iostream> |
17 |
|
|
#include <iomanip> |
18 |
|
|
|
19 |
|
|
using namespace std; |
20 |
|
|
|
21 |
|
|
int main(int argc, char**argv){ |
22 |
|
|
ifstream fin(argv[1]); |
23 |
|
|
int n,m; |
24 |
|
|
double g,h; |
25 |
|
|
double z,zz; |
26 |
|
|
string s; |
27 |
|
|
int zzz; |
28 |
|
|
while ( !fin.eof() ){ |
29 |
|
|
fin>>n>>m>>g>>h>>z>>zz>>s>>zzz; |
30 |
|
|
printf("%3i%3i%10.2f%9.2f\n",n,m,g,h); |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
/* cout << setw(3) << n |
34 |
|
|
<< setw(3) << m |
35 |
|
|
<< setw(8) << g |
36 |
|
|
<< setw(8) << h << endl; |
37 |
|
|
*/ |
38 |
|
|
} |
39 |
|
|
fin.close(); |
40 |
|
|
|
41 |
|
|
ifstream fin2(argv[1]); |
42 |
|
|
while ( !fin2.eof() ){ |
43 |
|
|
fin2>>n>>m>>g>>h>>z>>zz>>s>>zzz; |
44 |
|
|
printf("%3i%3i%10.2f%9.2f\n",n,m,z,zz); |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
/* cout << setw(3) << n |
48 |
|
|
<< setw(3) << m |
49 |
|
|
<< setw(8) << g |
50 |
|
|
<< setw(8) << h << endl; |
51 |
|
|
*/ |
52 |
|
|
} |
53 |
|
|
fin2.close(); |
54 |
|
|
return 0; |
55 |
|
|
} |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
Resurs-DK1 rotations table (prepared by V.M.): |
61 |
|
|
RDBCC.txt |
62 |
|
|
|
63 |
|
|
Resurs-DK1 quaternions table (prepared by V.M.): |
64 |
|
|
SortQuat.txt |
65 |
|
|
|