Re: [arts-users] Issues with size interpolation - ARTS SSD

2021-06-04 Thread Vasileios Barlakas
Hello Isaac,


I had a brief look at assp_interp_size. Indeed there are some bugs in this 
function that need to be fixed. I will allocate some time on this next week; 
sorry for any inconvenience caused. For the time being, I could give you some 
hints:


To use this function, all elements in S must have common frequency, 
temperature, and angular grid. Note here that, for some habits, e.g. IconSnow, 
the given sizes are not available in the same frequency and angular grids. This 
is one of the reasons why you get such an error message:


(31,5,721,1,1,1,6) into shape (31,5,91,1,1,1,6)


Note here that the function defines the dimensions of all the variables from 
the first element of the list, i.e., n_freq, n_temp, n_za, 1, 1, 1, 
n_phase_matrix_elements. For your case, the dimension at which python complains 
is the n_za (angular grid).


Following this rule, you could potentially fix any other issues. I hope this 
helps.


Best regards,

Vasileios



From: arts_users.mi-boun...@mailman.rrz.uni-hamburg.de 
 on behalf of Isaac Moradi 

Sent: Wednesday, June 2, 2021 4:36:50 PM
To: arts_users...@mailman.rrz.uni-hamburg.de
Subject: [arts-users] Issues with size interpolation - ARTS SSD

Hi all,

I am trying to do size interpolation using the assp.py included in the Python 
data interface but there seems to be multiple issues with the size 
interpolation function. There are some undefined variables that I fixed them 
but then end up with the following error.
I am trying this for IconSnow but the error should exist for any other habits.

Here is the message from Python:

  File "/data/users/imoradi/workspace/dda/DataInterfaces/Python/assp.py", line 
1154, in assp_interp_size
p[i+1,...] = s.pha_mat_data
ValueError: could not broadcast input array from shape (31,5,721,1,1,1,6) into 
shape (31,5,91,1,1,1,6)


Thanks


Best,
Isaac
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


[arts-users] ARTS SSD

2021-05-17 Thread Vasileios Barlakas
Hello Issac,


Since you are able to load other habits, but for the LiquidSphere one, it seems 
to me that this is a  "Segmentation fault (core dumped)" issue. This habit is 
available in 200 sizes (most among the habits) and the python script could 
potentially crash (depending on the machine used). Could you try loading the 
data just for one size and temperature? Attached you can find an example python 
script.


To ensure that there is no issue, I double checked loading the data (with the 
attached script) in two machines and, I had not problem.

Best regards,
Vasileios Barlakas

<>
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


[arts-users] ARTS SSD

2021-05-17 Thread Vasileios Barlakas
Hello Issac,


Since you are able to load other habits, but for the LiquidSphere one, it seems 
to me that this is a  "Segmentation fault (core dumped)" issue. This habit is 
available in 200 sizes (most among the habits) and the python script could 
potentially crash (depending on the machine used). Could you try loading the 
data just for one size and temperature? Attached you can find an example python 
script.


To ensure that there is no issue, I double checked loading the data (with the 
attached script) in two machines and, I had not problem.

Best regards,
Vasileios Barlakas

<>
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi