Git Product home page Git Product logo

gcs_python's People

Contributors

asahade avatar johan12345 avatar ssmaity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gcs_python's Issues

Selecting different detectors

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}

PFSS+GCS = $\theta_{BN}$ angle

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.

installation Issue

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!

The coordinate system in use

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?

GCS GUI

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?

image

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

About CME angular half width

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?

Installation problem

I am trying to install GCS_Python. But it seems it's partially installed and hence GUI is not working, could u have a look? Screenshot attached
Screenshot from 2022-08-10 15-31-11

SSLEOFError of gcs_gui?

Hello, I have a problem when running : gcs_gui "2017-09-06 12:48" SOHO STA -soho C3 -stereo COR2
48985f3b521e5da9b465d66f1601039
image
Actually, I could login ssd.jpl.nasa.gov. I have no ideas. Could you please help me fix this? Thanks!

In sample_sunpy.py

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?

Add simulation of white light images with ray tracing

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.

Problem Installing GUI

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.