Re: [arts-users] Temperature Retrievals of Oxygen emission lines with Zeeman effect and line mixing

2022-09-14 Thread witali.krochin
I was running Ubuntu 20.04LTS which only offers gcc 9 and clang 10. Upgrading 
gcc and clang on 20.04 was not possible (at least not easily). After upgrading 
to 22.10 which does provide gcc 11 and clang 14 I managed to install ARTS, but 
only using gcc. When trying to use clang as directed in "LLVM/Clang compiler" 
section on the gitpage there was an error:

"fatal error: instantiating fold expression with 2003 arguments exceeded 
expression nesting limit of 256"


Will try to run the line mixing module know.


Best regards

Witali



Von: Lemke, Oliver 
Gesendet: Mittwoch, 14. September 2022 14:31:51
An: Krochin, Witali (IAP)
Cc: ARTS Users List
Betreff: Re: [arts-users] Temperature Retrievals of Oxygen emission lines with 
Zeeman effect and line mixing

Hi Witali,

That is indeed strange. Which compiler are you using? You need at least GCC 11 
or LLVM/Clang 13.

Cheers,
Oliver


> On 14 Sep 2022, at 14:22,   
> wrote:
>
> Thank you very much for the support.
>
> After installing the master branch and running the 'make check' command, I 
> got a weird error message that read:
>
> [ 10%] Building CXX object 
> src/CMakeFiles/make_workspace_memory_handler_cc.dir/make_workspace_memory_handler_cc.cc.o
> In file included from /opt/arts-master/src/matpackI.h:102,
>  from /opt/arts-master/src/methods.h:32,
>  from /opt/arts-master/src/global_data.h:31,
>  from 
> opt/arts-master/src/make_workspace_memory_handler_cc.cc:24:
> /opt/arts-master/src/matpack_concepts.h:4:10: fatal error: concepts: No such 
> file or directory
> 4 | #include 
>   |  ^~
> compilation terminated.
>
> I'm sure this file exists and my machine should meet the requirements as well.
> Reinstalling ARTS 2.4 worked fine before.
>
>
> Is this a known issue?
>
> Best regards
> Witali






Re: [arts-users] Temperature Retrievals of Oxygen emission lines with Zeeman effect and line mixing

2022-09-14 Thread witali.krochin
Thank you very much for the support.

After installing the master branch and running the 'make check' command, I got 
a weird error message that read:


[ 10%] Building CXX object 
src/CMakeFiles/make_workspace_memory_handler_cc.dir/make_workspace_memory_handler_cc.cc.o
In file included from /opt/arts-master/src/matpackI.h:102,
 from /opt/arts-master/src/methods.h:32,
 from /opt/arts-master/src/global_data.h:31,
 from 
opt/arts-master/src/make_workspace_memory_handler_cc.cc:24:
/opt/arts-master/src/matpack_concepts.h:4:10: fatal error: concepts: No such 
file or directory
4 | #include 
  |  ^~
compilation terminated.

I'm sure this file exists and my machine should meet the requirements as well.
Reinstalling ARTS 2.4 worked fine before.


Is this a known issue?

Best regards
Witali



Von: Lemke, Oliver 
Gesendet: Mittwoch, 14. September 2022 08:54:20
An: Krochin, Witali (IAP)
Cc: Buehler, Stefan; Richard Larsson; ARTS Users List
Betreff: Re: [arts-users] Temperature Retrievals of Oxygen emission lines with 
Zeeman effect and line mixing

Hi Witali,

The error you're seeing indicates that you're using an older ARTS version. To 
read the newest version of the arts-cat-data, you also need to compile the 
latest ARTS development version from the master branch at 
https://github.com/atmtools/arts .

Cheers,
Oliver


> On 13 Sep 2022, at 17:18, witali.kroc...@unibe.ch wrote:
>
> Thank you for the quick reply and comments on the updated papers.
>
>
> We will definitely add Mr. Larsson to the list of co-authors when the 
> research using this dataset is published.
>
>
> Unfortunately, I am already having problems reading the dataset.
> I have downloaded the file "O2-66.xml" from 
> https://arts.mi.uni-hamburg.de/svn/rt/arts-cat-data/trunk/lines/,
> but I cannot read the file with any reading function that are known to me.
>
>
> For example, the following line:
> "ReadXML(abs_lines, "O2-66.xml")"
>
>
> Generates the following error message:
> "Species "" is not a valid species."
>
> I've tried several other read functions, but I have a feeling I'm missing 
> something.
>
> Best regards
> Witali





Re: [arts-users] Temperature Retrievals of Oxygen emission lines with Zeeman effect and line mixing

2022-09-13 Thread witali.krochin
Thank you for the quick reply and comments on the updated papers.


We will definitely add Mr. Larsson to the list of co-authors when the research 
using this dataset is published.


Unfortunately, I am already having problems reading the dataset.
I have downloaded the file "O2-66.xml" from 
https://arts.mi.uni-hamburg.de/svn/rt/arts-cat-data/trunk/lines/,
but I cannot read the file with any reading function that are known to me.


For example, the following line:
"ReadXML(abs_lines, "O2-66.xml")"


Generates the following error message:
"Species "" is not a valid species."

I've tried several other read functions, but I have a feeling I'm missing 
something.

Best regards
Witali






Von: arts_users.mi  im Auftrag von 
Buehler, Stefan 
Gesendet: Montag, 12. September 2022 14:21:05
An: Richard Larsson
Cc: arts users mi; Krochin, Witali (IAP)
Betreff: Re: [arts-users] Temperature Retrievals of Oxygen emission lines with 
Zeeman effect and line mixing

Dear Witali,

since these are unpublished data, I would ask you to include Richard as a 
coauthor if you intend to publish anything based on this.

Best wishes

Stefan

Am 12.09.2022 um 14:09 schrieb Richard Larsson :


Dear Witali,

You can use my calculations for line mixing.  They are still not published but 
available online in the arts-cat-data.  They have the disadvantage that they 
are not published but the advantage that they are self-consistent.  You can 
download this data at https://www.radiativetransfer.org/tools/, under the Arts 
Catalog Data header.

The format is simply x0 x1 x2 x3 from table 2.5 of the theory guide at the 
correct positions by what the xml-tags say.

Note that the paper you found has been updated several times.  Two updates are 
at these dois: http://dx.doi.org/10.1016/j.jqsrt.2013.02.019 and 
https://doi.org/10.1016/j.jqsrt.2019.106798

Note especially that these correct their values in the first paper because they 
found some theoretical errors.  Also note that my implementation in Arts today 
differs from the one written in these papers because there are some weird typos 
in there.

With hope,
--Richard

Den mån 12 sep. 2022 kl 13:30 skrev 
mailto:witali.kroc...@unibe.ch>>:
Dear ARTS Team

I am currently using the Zeeman module to retrieve stratospheric temperature 
profiles from oxygen emission lines from fine structure transitions at 52.542 
and 53.067 GHz. I correct for the tropospheric influence using a simple 
tropospheric correction. However, I intend to improve the inversion algorithm 
by including line-mixing calculations instead.
First, I am having trouble figuring out how to get line-mixing data. I found 
"Makarov, Tretyakov, and Rosenkranz, 2011" as a standard reference for 
line-mixing data in this frequency range. However, it seems to me that only the 
emission complex at 60 GHz is covered there. Is there any line mixing data for 
the emission lines at 52.542 and 53.067 GHz?

Also, I would need some guidance on the implementation of the line mixing 
module. I guess the data set should be in a certain format, which I did not 
find in the ARTS manual or documentation (maybe I missed something?).

With kind regards
Witali Krochin



[arts-users] Temperature Retrievals of Oxygen emission lines with Zeeman effect and line mixing

2022-09-12 Thread witali.krochin
Dear ARTS Team

I am currently using the Zeeman module to retrieve stratospheric temperature 
profiles from oxygen emission lines from fine structure transitions at 52.542 
and 53.067 GHz. I correct for the tropospheric influence using a simple 
tropospheric correction. However, I intend to improve the inversion algorithm 
by including line-mixing calculations instead.
First, I am having trouble figuring out how to get line-mixing data. I found 
"Makarov, Tretyakov, and Rosenkranz, 2011" as a standard reference for 
line-mixing data in this frequency range. However, it seems to me that only the 
emission complex at 60 GHz is covered there. Is there any line mixing data for 
the emission lines at 52.542 and 53.067 GHz?

Also, I would need some guidance on the implementation of the line mixing 
module. I guess the data set should be in a certain format, which I did not 
find in the ARTS manual or documentation (maybe I missed something?).

With kind regards
Witali Krochin



Re: [arts-users] Zeeman effect

2020-11-25 Thread witali.krochin
Dear Mr. Eriksson


Thank you for the answer.

Since i had my script in qpack, I just generated abs_lines in ARTS 2.4 in a 
short way to demonstrate my setup.


The code was


Arts2{
  abs_speciesSet(species=["O2-Z-66-53.0469e9-53.0869e9","O2-66"])
  VectorCreate(gs)
  ArrayOfQuantumIdentifierCreate(qid)
  ReadXML(gs, "/arts-xml-data-2.4.0/spectroscopy/zeeman/O2-66.g.xml")
  ReadXML(qid, "/arts-xml-data-2.4.0/spectroscopy/zeeman/O2-66.qid.xml")
  ReadHITRAN(abs_lines,"HITRAN2012.par")
  abs_linesSetZeemanCoefficients(abs_lines, qid, gs)
 WriteXML( "ascii", abs_lines, abs_lines.xml")

It seems to have some 'nan' entries. I compared with your example from 
18.11.2020 and an other  difference is that the last 4 numbers are missed.

52021456295.2042 1.82478855875538e-21 2.82227115907551e-20 61 63 5.622e-10 
0.00213411290322581 -0.0645374497084855 9172.03671157167 0.71 0 0 0 0.71 0 0 
9467.90886355786 0.71 0 0 0 0.71 0 0

52073500265.913 1.02264066638734e-24 5.88280179901669e-20 61 63 5.64e-10 nan 
nan 9172.03671157167 0.71 0 0 0 0.71 0 0 9467.90886355786 0.71 0 0 0 0.71 0 0

52542435628.7166 4.0664650946183e-21 2.47600404813118e-20 57 59 5.79e-10 
0.00241711264367816 -0.0689937941931067 9172.03671157167 0.71 0 0 0 0.71 0 0 
9467.90886355786 0.71 0 0 0 0.71 0 0

52594539557.917 2.25794239624139e-24 5.54036634348622e-20 57 59 5.808e-10 nan 
nan 9172.03671157167 0.71 0 0 0 0.71 0 0 9467.90886355786 0.71 0 0 0 0.71 0 0

53066952513.2334 8.54258889506482e-21 2.15218198757136e-20 53 55 5.967e-10 
0.00276410582010582 -0.0741096869563658 9172.03671157167 0.71 0 0 0 0.71 0 0 
9467.90886355786 0.71 0 0 0 0.71 0 0

53119086421.6796 4.69902633155893e-24 5.22012465293933e-20 53 55 5.982e-10 nan 
nan 9172.03671157167 0.71 0 0 0 0.71 0 0 9467.90886355786 0.71 0 0 0 0.71 0 0

53595786409.1454 1.68833606335819e-20 1.85085761821127e-20 49 51 6.144e-10 
0.00319595076923077 -0.0800431763685832 9172.03671157167 0.71 0 0 0 0.71 0 0 
9467.90886355786 0.71 0 0 0 0.71 0 0

Deos line mixing affect this part? I planed to care about that as soon as the 
quantum numbers are fixed.

Best regards
Witali
___
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] Zeeman Effect ARTS 2.4 (with qpack)

2020-11-16 Thread witali.krochin

Hi everyone

I am trying to initialize the Zeeman effect in ARTS 2.4 using the updated qpack 
version.
The molecule of interest is oxygen, the frequency range is around 52-53GHz (the 
rotational emission lines around 52GHz and 53 GHz).

I included the method "propmat clearskyAddZeeman" in the propmat clearsky 
Agenda.

However I strugle with setting the quantum numbers and constants. There is a 
Zeeman file in the xml Data folder. For me it seems that the required constants 
are stored there. The README tell me to use the methods:

- abs_lines_per_speciesSetZeemanCoefficients or
- abs_linesSetZeemanCoefficients

I checked the built in documentary, but still not understand how to use these 
methods.
For example I don't know in which workspace variable the information should be 
feeded in.

In Arts 2.2  I used readXML to read the file "Zeeman_constants.xml" (was 
included in xml data) and feeded the data in the Variable WSMS_AT_START.

Furhtermore there was an Zeeman demo in the older atmlab version. That was very 
helpfull and seems to be missed now.

Can anyone help me to set this constants? Just a few example lines would help.

Best regards
Witali


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