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

Adds the possibility to load solps from balance.nc #6

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

Mateasek
Copy link
Member

Changes the required structure of the config dictionary:
        config['plasma']['edge']['mds_server']
        config['plasma']['edge']['mds_solps_reference']
        config['plasma']['edge']['solps_directory']
are no longer used.

The value of config['plasma']['edge']['mesh'] is not checked and the
mesh is always returned.

The config['plasma']['edge']['SOLPS_format'] now decided the way
config['plasma']['edge']["solps_reference"] will be interpreted:

  1. if config['plasma']['edge']['SOLPS_format'] is 'MDSplus' then the
    config['plasma']['edge']["solps_reference"] is expected to be a
    dictionary with two keys "mds_server" and "reference":
            config["plasma"]["edge"]["solps_reference"]["mds_server"] is the
            reference to the mdsplus server.
            config["plasma"]["edge"]["solps_reference"]["reference"] is the
            reference to the SOLPS simulation.
  2. if config['plasma']['edge']['SOLPS_format'] is 'RawFiles' then the
    config['plasma']['edge']["solps_reference"] is expected to be the path
    to the folder containing the solps raw files as fort.44.
  3. if config['plasma']['edge']['SOLPS_format'] is 'balance.nc' then the
    config['plasma']['edge']["solps_reference"] is expected to be the path
    to the solps balance.nc file.

Changes the required structure of the config dictionary:
        config['plasma']['edge']['mds_server']
        config['plasma']['edge']['mds_solps_reference']
        config['plasma']['edge']['solps_directory']
are no longer used.

The value of config['plasma']['edge']['mesh'] is not checked and the
mesh is always returned.

The config['plasma']['edge']['SOLPS_format'] now decided the way
config['plasma']['edge']["solps_reference"] will be interpreted:

1. if config['plasma']['edge']['SOLPS_format'] is 'MDSplus' then the
config['plasma']['edge']["solps_reference"] is expected to be a
dictionary with two keys "mds_server" and "reference":
        config["plasma"]["edge"]["solps_reference"]["mds_server"] is the
        reference to the mdsplus server.
        config["plasma"]["edge"]["solps_reference"]["reference"] is the
        reference to the SOLPS simulation.
2. if config['plasma']['edge']['SOLPS_format'] is 'RawFiles' then the
config['plasma']['edge']["solps_reference"] is expected to be the path
to the folder containing the solps raw files as fort.44.
3. if config['plasma']['edge']['SOLPS_format'] is 'balance.nc' then the
config['plasma']['edge']["solps_reference"] is expected to be the path
to the solps balance.nc file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant