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

Paths for downloading data from openadas seem to be out of date in some cases #90

Open
eldond opened this issue Oct 25, 2023 · 4 comments

Comments

@eldond
Copy link

eldond commented Oct 25, 2023

I was attempting
aurora.atomic.get_atom_data('C', ['pls']), which failed because it attempted to download https://open.adas.ac.uk/download/adf11//pls/pls_C_14.dat, which doesn't exist. I looked up PLS for carbon manually at open.adas.ac.uk and found that the filename is pls96_c.dat.

I changed

files["C"]["pls"] = "pls_C_14.dat"

to

files["C"]["pls"] = "pls96_c.dat"

on line 229 of adas_files.py and then aurora.atomic.get_atom_data('C', **['pls']) completed without an error.

@fsciortino
Copy link
Owner

Hi @eldond , thanks for opening the issue. The default there is for a better file while is not yet publicly available through ADAS. On GA servers, if Aurora is correctly set up (@odstrcilt could advise here), the default files should be available. We could update the defaults to openadas files, but some do not exist publicly or the public ones are pretty bad...

@odstrcilt
Copy link
Collaborator

Some files can be found by setting the variable
AURORA_ADAS_DIR to /fusion/projects/omfit-results/aurora_dir/

pls are SXR filtered radiation files, which are specific for every diagnostic. Number 14 is for DIII-D SXR diagnostic with 127um Be filter and number 15 is for 12.7um Be filter. These files are located here
/fusion/projects/codes/strahl/public/atomdat/newdat/

I guess, pls96_c.dat is a file from JET, which had 250 and 350um Be filters. They cannot be used on DIII-D.

IMPRAD should load the files from the right location.

@eldond
Copy link
Author

eldond commented Nov 29, 2023

Yes, if I run on iris, it does work properly. When I tried running on my laptop, it didn't work because I didn't have a copy of the files. Maybe an error message could explain limitations of openadas that you just mentioned?

@odstrcilt
Copy link
Collaborator

I have tried to make the error message a bit more useful
#92

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

No branches or pull requests

3 participants