johan12345 / gcs_python Goto Github PK
View Code? Open in Web Editor NEWGraduated cylindrical shell CME model in Python
License: MIT License
Graduated cylindrical shell CME model in Python
License: MIT License
Hello, please I would like to know how can I change the default detector?
Currently, it shows data only from C2 detector for SOHO LASCO and COR2 for SECCHI STEREO.
I tried the following but it didn't work:
gcs_gui "2017-09-6 12:48" SOHO C3
gcs_gui "2017-09-6 12:48" SOHO -C3
gcs_gui "2017-09-6 12:48" -soho {C3}
Hello,
I was wondering if the extrapolated magnetic field obtained from the PFSS model was merged with the GCS model here, Is it possible to estimate the "theta_BN" angle from the 3D mesh at a pre-defined number of points and show it on the 3D mesh?
NB. the theta_BN angle is the angle between the magnetic field line and the normal vector on the shock surface at that point.
Hi Johan,
I am trying to install the GCS package in Macbook.
after installation, i tried to run the command [gcs_gui "2020-04-15 06:00" STA SOHO]
it shows [ zsh: command not found: gcs_gui]
Could you help me out with this?
Thanks!
Hi
I would like to the default coordinate system in use in GCS python. I
could see that in the table of validation of GCS IDL and GCS Python u have used Stonyhurst Longitude ๐ [ยฐ] and Heliographic Latitude ๐ [ยฐ]. why switch between coordinates in GCS python?
If I have Heliographic Latitude ๐ [ยฐ] and Heliographic Longitude ๐ [ยฐ] fitted in IDL while comparing do I have to convert Heliographic Longitude ๐ [ยฐ] to Stonyhurst Longitude ๐ [ยฐ] and input that in GCS Python?
As sunpy/sunpy#4561 will be included in the SunPy 2.1 release, the workaround setting the CROTA headers to zero manually can be removed when the dependency is updated.
Hello, I have a problem with running the GCS GUI. I get the following error message, Could you please attach an example code of running the GUI for some event or how can I fix this please?
I tried to run it inside Spyder too (python 3.7) and I got this error:
gcs_gui "2020-04-15 06:00" STA SOHO File "<ipython-input-149-6a7cbe4ff78e>", line 1 gcs_gui "2020-04-15 06:00" STA SOHO ^ SyntaxError: invalid syntax
Hello, I'm using the DBEM model for predicting the CME arrival time and the valid values of the CME's angular half-width (AW/2) are:
0 deg. < AW/2 < 90 deg.
Can you please tell me how to model a Halo-CME, which has AW = 360 deg.?
Is it correct to put the angular half-width to be 89 deg. for halo-CMEs?
Hello, I got the following error at this line:
f = hv.download_jp2(date, observatory='STEREO_A', instrument='SECCHI', detector='COR2')
the error:
**File "C:\Users\DELL\anaconda3\lib\json\decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
JSONDecodeError: Extra data**
How to fix it please?
HelioviewerClient has to be replaced with hvpy to be compatible with sunpy 5.2.0 and above. For now, I will pin the sunpy version to be <5.2.0.
The original IDL implementation of GCS includes a feature to generate simulated white light coronagraph images using a ray tracing algorithm based on the given GCS geometry and an assumed electron density distribution.
Someone asked me whether this functionality is included in this Python version, and so far it is not.
I am no longer actively working on this code as I left the field last year, but let's keep the issue open in case someone decides to implement it and contribute it to the library.
I should try to use QT widgets instead of matplotlib widgets
https://stackoverflow.com/questions/59610425/matplotlib-widgets-textbox-interaction-is-slow-when-figure-contains-several-subp
I installed this GCS from the mirrored repository: https://gitlab.physik.uni-kiel.de/ET/gcs_python. which worked well. B I have changed my laptop and need to reinstall the tool again, but it is giving me an error message. Can someone help me fix the error or help me locate the mirriored repo since I cant find it again?
PS C:\Users.......> python -m gcs.gui "2020-04-15 06:00" STA SOHO
WARNING: SunpyDeprecationWarning: The HelioviewerClient class is deprecated and may be removed in version 5.1.
Use hvpy - https://hvpy.readthedocs.io/en/stable instead. [gcs.utils.helioviewer]
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:.........\anaconda3\envs\gcs_CME\Lib\site-packages\gcs\gui.py", line 296, in
main()
File "C:...........\anaconda3\envs\gcs_CME\Lib\site-packages\gcs\gui.py", line 289, in main
app = GCSGui(args.date, args.spacecraft, args.running_difference, detector_stereo=args.stereo,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:.........\anaconda3\envs\gcs_CME\Lib\site-packages\gcs\gui.py", line 126, in init
self.create_widgets()
File "C:.......\anaconda3\envs\gcs_CME\Lib\site-packages\gcs\gui.py", line 133, in create_widgets
self._s_half_angle = SliderAndTextbox('Half angle, \u03B1 [ยฐ]', 0, 90, params['half_angle'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:..........\anaconda3\envs\gcs_CME\Lib\site-packages\gcs\utils\widgets.py", line 16, in init
self.slider.setMinimum(min / resolution)
TypeError: setMinimum(self, a0: int): argument 1 has unexpected type 'float'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.