maserlib / ExPRES

Exoplanetary and Planetary Radio Emission Simulator
MIT License
4 stars 4 forks source link

Fix VESPA_target_* global attribute #57

Open BaptisteCecconi opened 1 year ago

BaptisteCecconi commented 1 year ago

Currently, the VESPA_target_name and VESPA_target_class attributes are a text string, with # separator.

Example:

VESPA_target_name = "Jupiter#Io"
VESPA_target_class = "planet#satellite"

We should transform this into a list of terms:

VESPA_target_name = ["Jupiter", "Io"]
VESPA_target_class = ["planet", "satellite"]
BaptisteCecconi commented 1 year ago

The current implementation also adds an extra # at the end of VESPA_target_name when there should be only Jupiter (and then satellite should not be in target class either):

VESPA_target_name = "Jupiter#"
VESPA_target_class = "planet#satellite"