Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify the default dataset for JHelioviewer via a configuration file. #363

Open
dgarciabriseno opened this issue Mar 14, 2024 · 0 comments

Comments

@dgarciabriseno
Copy link
Contributor

Refer to #69 for context

api/src/Database/ImgIndex.php

Lines 1354 to 1358 in a3d9b9d

if ($verbose) {
$tree["SDO"]["default"]=true;
$tree["SDO"]["children"]["AIA"]["default"]=true;
$tree["SDO"]["children"]["AIA"]["children"]["171"]["default"]=true;
}

This tree should set a default selection based on a configuration in Config.ini rather than being hard coded.

General steps to fix:

  1. Add configuration fields to Config.example.ini. The example config can be set to program SDO, AIA, 304
  2. Update the above code to set default fields based on the configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant