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

dtype for imas2tofu #1009

Open
Didou09 opened this issue Jan 16, 2025 · 0 comments
Open

dtype for imas2tofu #1009

Didou09 opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@Didou09
Copy link
Member

Didou09 commented Jan 16, 2025

In [4]: multi = tf.imas2tofu.MultiIDSLoader(

   ...: shot=shot,

   ...: run=0,

   ...: occ=0,

   ...: user='imas_public',

   ...: database='west',

   ...: ids='equilibrium',

   ...: ids_base=False,

   ...: )

   ...: plasma = multi.to_Plasma2D()

Getting ids [occ] database user version shot run refshot refrun

----------- ----- -------- ----------- ------- ----- --- ------- ------

equilibrium [0] west imas_public 3 59220 0 -1 -1 

/Applications/software/mamba/envs/python39/lib/python3.9/site-packages/tofu/imas2tofu/_comp.py:839: UserWarning: The following data could not be retrieved:

- equilibrium:

1djT : 'list' object has no attribute 'dtype'

1dpe : 'list' object has no attribute 'dtype'

1dphi : 'list' object has no attribute 'dtype'

1dpsi : 'list' object has no attribute 'dtype'

1dq : 'list' object has no attribute 'dtype'

1drhopn data: '1dpsi'

1drhotn : 'list' object has no attribute 'dtype'

2dB data : '2dBT'

2dBR : 'list' object has no attribute 'dtype'

2dBT : 'list' object has no attribute 'dtype'

2dBZ : 'list' object has no attribute 'dtype'

2djT : 'list' object has no attribute 'dtype'

2dmeshFaces : 'list' object has no attribute 'dtype'

2dmeshNodes : 'list' object has no attribute 'dtype'

2dmeshR data: list index out of range

2dmeshZ data: list index out of range

2dphi : 'list' object has no attribute 'dtype'

2dpsi : 'list' object has no attribute 'dtype'

2drhopn data: '2dpsi'

2drhotn data: '2dphi'

2dtheta data: 'axR'

BT0 : 'list' object has no attribute 'dtype'

ax data : 'axR'

axR : 'list' object has no attribute 'dtype'

axZ : 'list' object has no attribute 'dtype'

ip : 'list' object has no attribute 'dtype'

psiaxis : 'list' object has no attribute 'dtype'

psisep : 'list' object has no attribute 'dtype'

q0 : 'list' object has no attribute 'dtype'

q95 : 'list' object has no attribute 'dtype'

qmin : 'list' object has no attribute 'dtype'

sep : 'list' object has no attribute 'dtype'

strike0 data: 'strike0R'

strike0R : 'list' object has no attribute 'dtype'

strike0Z : 'list' object has no attribute 'dtype'

strike1 data: 'strike1R'

strike1R : 'list' object has no attribute 'dtype'

strike1Z : 'list' object has no attribute 'dtype'

t : 'list' object has no attribute 'dtype'

volume : 'list' object has no attribute 'dtype'

x0 data : 'x0R'

x0R : 'list' object has no attribute 'dtype'

x0Z : 'list' object has no attribute 'dtype'

x1 data : 'x1R'

x1R data : list index out of range

x1Z data : list index out of range

warnings.warn(msg)

/Applications/software/mamba/envs/python39/lib/python3.9/site-packages/tofu/imas2tofu/_comp.py:839: UserWarning: The following data could not be retrieved:

- equilibrium:

ip : 'list' object has no attribute 'dtype'

BT0 : 'list' object has no attribute 'dtype'

axR : 'list' object has no attribute 'dtype'

axZ : 'list' object has no attribute 'dtype'

ax data: 'axR'

sep : 'list' object has no attribute 'dtype'

t : 'list' object has no attribute 'dtype'

warnings.warn(msg)
@Didou09 Didou09 self-assigned this Jan 16, 2025
dvezinet added a commit that referenced this issue Jan 16, 2025
dvezinet added a commit that referenced this issue Jan 16, 2025
Didou09 added a commit that referenced this issue Jan 16, 2025
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