convert Geographic to Geomagnetic coordinates.
Hi Amal,
You can use a Python wrapper for the AACGM-v2 C library, which allows converting between geographic and magnetic coordinates.
https://pypi.python.org/pypi/aacgmv2/1.0.13?
You could create a simple POST query to VITMO service (https://omniweb.gsfc.nasa.gov/vitmo/cgm_vitmo.html).
See https://github.com/Albom/utils/blob/master/geom.py
thank you very much i used your recommendation and i become able to convert geograpgic coordinates to magnetic
I tried Oleksandr's program with this result:
runfile('C:/WDC/geomag.py', wdir='C:/WDC')
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\My DELL\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
execfile(filename, namespace)
File "C:\Users\My DELL\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/WDC/geomag.py", line 60, in
print(year, c.geom(49.6754912, 36.2922004, year))
File "C:/WDC/geomag.py", line 43, in geom
ss = r.text[r.text.index('') + 5: r.text.index('')]
ValueError: substring not found
Dear Leif Svalgaard ,
URL of the CGM model was changed therefore server's response was Error 404. Please try the latest version of the script ( https://github.com/Albom/utils/blob/master/geom.py).
Thank you. It works now.
Hi, I am trying to construct a multi-layer fibril structure from a single layer in PyMol by translating the layer along the fibril axis. For now, I am able to use the Translate command in PyMol...
02 March 2021 4,569 4 View
I want to do a parameter study of a aixsymmetric cylinder in Abaqus. I want to create several jobs where I get the stresses for 3 different points in my model. These points are defined. I wrote a...
01 March 2021 10,078 1 View
Which is suitable for use with Python? MySQL or SQL Server? What is your suggestion?
01 March 2021 3,422 3 View
Please, if Gaussian Parameter optimization is possible in this code structure
28 February 2021 278 3 View
I wanted to add an extra parameter to the existing Johnson cook equation in the ABAQUS simulation. How to add those extra parameters. Ref: A modified Johnson-Cook material model with strain...
28 February 2021 4,841 3 View
System Description Cuda 11.2 GeForce GTX 1080ti tensorflow version 2.4.1 keras version 2.2.0 python version 3.8 I was getting the below error when I try to run my code on the...
25 February 2021 6,673 2 View
23 February 2021 7,826 2 View
I am looking for implementation of bayesian decision trees and bayesian regression trees in Python and/or R.. Do you know if the existing libraries support this
23 February 2021 6,689 3 View
Hi everyone. I am researching droguht effects on soil water drought. I am looking for already implemented functions in R or Python to estimate soil water content from precipitation,...
21 February 2021 2,084 1 View
I treid to use Entrez Batch, but it redirects me to NCBI site. Is there any script of Linux or Python through which I can download Fasta sequence of list of gene ID ?
21 February 2021 7,783 12 View