Re: [arts-users] read in HITRAN par file

2023-01-16 Thread Claudia Emde

Dear Richard,

thank you for your quick reply.
I would then like to use the redistributed catalog. Could you provide an 
example control file (version 2.5.X) to generate an absorption lookup 
table using the arts-cat-data. That would be very helpful ;-)
I found that the data includes also a very new H2O continuum version 
(MT-CKD4.0), which I would like to use.


Thanks a lot and best regards,
Claudia

On 1/16/23 17:24, Richard Larsson wrote:

Dear Claudia,

There is no news.  It worked quite well recently in ARTS 2.5.X when last 
I updated our redistributed catalog (at the arts-cat-data subversion 
server; though this is not pure Hitran as we have some line mixing and 
line shapes we select manually included).   I just confirmed that 
this still works by manually downloading some data.


The box titled:


  Available Parameters


contains all parameters.  It is a scroll box.  It is available after you 
select to create a new format, so you should see it.  You have to scroll 
down a bit to see the three fields I mentioned last year, but they are 
still there.


With hope,
//Richard

Den mån 16 jan. 2023 kl 17:01 skrev Claudia Emde >:


Dear ARTS community,

I have exactly the same problem that Pengwang has reported. Is there
any
news about reading HITRAN 2020 in ARTS?

I tried to follow the instructions by Richard, but when I choose
"create
new output format" I do not see e.g. the ".par line" tag and the
"qns' "
tag. I only find a window where I can select available parameters to be
written into the .par file.

Best regards,
Claudia



On 2/8/22 11:24, Richard Larsson wrote:
 > Dear Pengwang,
 >
 > You should be able to read a Hitran file in 2.4 that you could
read in
 > 2.3.  Now, it sounds like you have downloaded a new version of the
 > Hitran catalog.  Arts 2.4 does not directly support Hitran2020,
neither
 > did 2.3 to be clear.  For water, I still think this should still
be Ok
 > but I am not sure.
 >
 > If you want to give it a try, the 'modern' way of dealing with
Hitran
 > data in Arts is to download it with the additional tags in the
Hitran
 > download interface.  On the tab currently called '4. Select or
Create
 > Output Format'*, you can create a new output format.  To create a
new
 > format that works well with Arts, this format should contain at
the top
 > the ".par line" tag, as the second option it should contain the "
qns' "
 > tag, and as a last option it should have the " qns'' " tag.  The
field
 > separator and line endings should be the default ([tab] ; (CR
LF)).  If
 > you manage to download data like this from Hitran, you can give the
 > hitran_type="Online" option in ReadHITRAN.  This should give
decent results.
 >
 > Again, remember that Arts 2.4 is from before Hitran2020 was
released.
 > It is possible this will not work in 2.4.  What I describe above
works
 > for the development version of Arts (v.2.5).
 >
 > With hope,
 > //Richard
 >
 > * From hitran.org  >, Data Access -> Line-By-Line ->
 > select H2O and go forward -> go forward (or deselect some
isotopologues
 > first) -> go forward (or select some Kayser range first) -> You
are now
 > on the right tab to specify output format
 >
 > Den tors 3 feb. 2022 kl 16:06 skrev Pengwang Zhai
mailto:pwz...@umbc.edu>
 > >>:
 >
 >     Hello, ARTS Community,
 >
 >     I used arts 2.3 to generate gas absorption coefficient lookup
table
 >     for o2, co2, etc. One key function was:
"abs_linesReadFromHitran”.
 >     Now I need to revisit the calculation with HITRAN2020. I
thought I
 >     would use arts 2.4, a newer version. After successfully compiling
 >     arts2.4, and run the same .arts file I used before (a
modification
 >     of TestAbs.arts), arts tells me that “abs_linesReadFromHitran” is
 >     not available any more. I went over the documentation, and found
 >     “READHITRAN”. I tried the following:
 >
 >     ReadHITRAN( abs_lines,
 >             “./h2o_61fbd3ce.par",
 >              1.3e+14,
 >              1.0e+15 )
 >
 >     arts reports:
 >
 >     "Run-time error in method: ReadHITRAN
 >     Error parsing quantum number Sym”.
 >
 >     Is there any way we can read in HITRAN par file and create a
lookup
 >     table? Do you suggest me going back to arts 2.3?
 >
 >     Thanks for your advice,
 >
 >     Pengwang
 >
 >     
 >     Pengwang Zhai (he/his/him)
 >     Graduate Program Director, Atmospheric Physics,
 >     Associate Professor, Physics Department, UMBC
 > 

Re: [arts-users] read in HITRAN par file

2023-01-16 Thread Richard Larsson
Dear Claudia,

There is no news.  It worked quite well recently in ARTS 2.5.X when last I
updated our redistributed catalog (at the arts-cat-data subversion server;
though this is not pure Hitran as we have some line mixing and line shapes
we select manually included).   I just confirmed that this still works by
manually downloading some data.

The box titled:

Available Parameters

contains all parameters.  It is a scroll box.  It is available after you
select to create a new format, so you should see it.  You have to scroll
down a bit to see the three fields I mentioned last year, but they are
still there.

With hope,
//Richard

Den mån 16 jan. 2023 kl 17:01 skrev Claudia Emde :

> Dear ARTS community,
>
> I have exactly the same problem that Pengwang has reported. Is there any
> news about reading HITRAN 2020 in ARTS?
>
> I tried to follow the instructions by Richard, but when I choose "create
> new output format" I do not see e.g. the ".par line" tag and the "qns' "
> tag. I only find a window where I can select available parameters to be
> written into the .par file.
>
> Best regards,
> Claudia
>
>
>
> On 2/8/22 11:24, Richard Larsson wrote:
> > Dear Pengwang,
> >
> > You should be able to read a Hitran file in 2.4 that you could read in
> > 2.3.  Now, it sounds like you have downloaded a new version of the
> > Hitran catalog.  Arts 2.4 does not directly support Hitran2020, neither
> > did 2.3 to be clear.  For water, I still think this should still be Ok
> > but I am not sure.
> >
> > If you want to give it a try, the 'modern' way of dealing with Hitran
> > data in Arts is to download it with the additional tags in the Hitran
> > download interface.  On the tab currently called '4. Select or Create
> > Output Format'*, you can create a new output format.  To create a new
> > format that works well with Arts, this format should contain at the top
> > the ".par line" tag, as the second option it should contain the " qns' "
> > tag, and as a last option it should have the " qns'' " tag.  The field
> > separator and line endings should be the default ([tab] ; (CR LF)).  If
> > you manage to download data like this from Hitran, you can give the
> > hitran_type="Online" option in ReadHITRAN.  This should give decent
> results.
> >
> > Again, remember that Arts 2.4 is from before Hitran2020 was released.
> > It is possible this will not work in 2.4.  What I describe above works
> > for the development version of Arts (v.2.5).
> >
> > With hope,
> > //Richard
> >
> > * From hitran.org , Data Access -> Line-By-Line ->
> > select H2O and go forward -> go forward (or deselect some isotopologues
> > first) -> go forward (or select some Kayser range first) -> You are now
> > on the right tab to specify output format
> >
> > Den tors 3 feb. 2022 kl 16:06 skrev Pengwang Zhai  > >:
> >
> > Hello, ARTS Community,
> >
> > I used arts 2.3 to generate gas absorption coefficient lookup table
> > for o2, co2, etc. One key function was: "abs_linesReadFromHitran”.
> > Now I need to revisit the calculation with HITRAN2020. I thought I
> > would use arts 2.4, a newer version. After successfully compiling
> > arts2.4, and run the same .arts file I used before (a modification
> > of TestAbs.arts), arts tells me that “abs_linesReadFromHitran” is
> > not available any more. I went over the documentation, and found
> > “READHITRAN”. I tried the following:
> >
> > ReadHITRAN( abs_lines,
> > “./h2o_61fbd3ce.par",
> >  1.3e+14,
> >  1.0e+15 )
> >
> > arts reports:
> >
> > "Run-time error in method: ReadHITRAN
> > Error parsing quantum number Sym”.
> >
> > Is there any way we can read in HITRAN par file and create a lookup
> > table? Do you suggest me going back to arts 2.3?
> >
> > Thanks for your advice,
> >
> > Pengwang
> >
> > 
> > Pengwang Zhai (he/his/him)
> > Graduate Program Director, Atmospheric Physics,
> > Associate Professor, Physics Department, UMBC
> > pwz...@umbc.edu 
> >
> >
> >
> >
> >
> >
> > ___
> > 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
>
> --
> Dr. Claudia Emde
> Fakultät für Physik, Meteorologisches Institut
> Ludwig-Maximilians-Universität
> Theresienstrasse 37, 80333 München
> Phone: +49 89 21804098, Fax: +49 89 2805508
>


Re: [arts-users] read in HITRAN par file

2023-01-16 Thread Claudia Emde

Dear ARTS community,

I have exactly the same problem that Pengwang has reported. Is there any 
news about reading HITRAN 2020 in ARTS?


I tried to follow the instructions by Richard, but when I choose "create 
new output format" I do not see e.g. the ".par line" tag and the "qns' " 
tag. I only find a window where I can select available parameters to be 
written into the .par file.


Best regards,
Claudia



On 2/8/22 11:24, Richard Larsson wrote:

Dear Pengwang,

You should be able to read a Hitran file in 2.4 that you could read in 
2.3.  Now, it sounds like you have downloaded a new version of the 
Hitran catalog.  Arts 2.4 does not directly support Hitran2020, neither 
did 2.3 to be clear.  For water, I still think this should still be Ok 
but I am not sure.


If you want to give it a try, the 'modern' way of dealing with Hitran 
data in Arts is to download it with the additional tags in the Hitran 
download interface.  On the tab currently called '4. Select or Create 
Output Format'*, you can create a new output format.  To create a new 
format that works well with Arts, this format should contain at the top 
the ".par line" tag, as the second option it should contain the " qns' " 
tag, and as a last option it should have the " qns'' " tag.  The field 
separator and line endings should be the default ([tab] ; (CR LF)).  If 
you manage to download data like this from Hitran, you can give the 
hitran_type="Online" option in ReadHITRAN.  This should give decent results.


Again, remember that Arts 2.4 is from before Hitran2020 was released.  
It is possible this will not work in 2.4.  What I describe above works 
for the development version of Arts (v.2.5).


With hope,
//Richard

* From hitran.org , Data Access -> Line-By-Line -> 
select H2O and go forward -> go forward (or deselect some isotopologues 
first) -> go forward (or select some Kayser range first) -> You are now 
on the right tab to specify output format


Den tors 3 feb. 2022 kl 16:06 skrev Pengwang Zhai >:


Hello, ARTS Community,

I used arts 2.3 to generate gas absorption coefficient lookup table
for o2, co2, etc. One key function was: "abs_linesReadFromHitran”.
Now I need to revisit the calculation with HITRAN2020. I thought I
would use arts 2.4, a newer version. After successfully compiling
arts2.4, and run the same .arts file I used before (a modification
of TestAbs.arts), arts tells me that “abs_linesReadFromHitran” is
not available any more. I went over the documentation, and found
“READHITRAN”. I tried the following:

ReadHITRAN( abs_lines,
        “./h2o_61fbd3ce.par",
         1.3e+14,
         1.0e+15 )

arts reports:

"Run-time error in method: ReadHITRAN
Error parsing quantum number Sym”.

Is there any way we can read in HITRAN par file and create a lookup
table? Do you suggest me going back to arts 2.3?

Thanks for your advice,

Pengwang


Pengwang Zhai (he/his/him)
Graduate Program Director, Atmospheric Physics,
Associate Professor, Physics Department, UMBC
pwz...@umbc.edu 






___
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


--
Dr. Claudia Emde
Fakultät für Physik, Meteorologisches Institut
Ludwig-Maximilians-Universität
Theresienstrasse 37, 80333 München
Phone: +49 89 21804098, Fax: +49 89 2805508


Re: [arts-users] read in HITRAN par file

2022-02-08 Thread Richard Larsson
Dear Pengwang,

You should be able to read a Hitran file in 2.4 that you could read in
2.3.  Now, it sounds like you have downloaded a new version of the Hitran
catalog.  Arts 2.4 does not directly support Hitran2020, neither did 2.3 to
be clear.  For water, I still think this should still be Ok but I am not
sure.

If you want to give it a try, the 'modern' way of dealing with Hitran data
in Arts is to download it with the additional tags in the Hitran download
interface.  On the tab currently called '4. Select or Create Output
Format'*, you can create a new output format.  To create a new format that
works well with Arts, this format should contain at the top the ".par line"
tag, as the second option it should contain the " qns' " tag, and as a last
option it should have the " qns'' " tag.  The field separator and line
endings should be the default ([tab] ; (CR LF)).  If you manage to download
data like this from Hitran, you can give the hitran_type="Online" option in
ReadHITRAN.  This should give decent results.

Again, remember that Arts 2.4 is from before Hitran2020 was released.  It
is possible this will not work in 2.4.  What I describe above works for the
development version of Arts (v.2.5).

With hope,
//Richard

* From hitran.org, Data Access -> Line-By-Line -> select H2O and go forward
-> go forward (or deselect some isotopologues first) -> go forward (or
select some Kayser range first) -> You are now on the right tab to specify
output format

Den tors 3 feb. 2022 kl 16:06 skrev Pengwang Zhai :

> Hello, ARTS Community,
>
> I used arts 2.3 to generate gas absorption coefficient lookup table for
> o2, co2, etc. One key function was: "abs_linesReadFromHitran”. Now I need
> to revisit the calculation with HITRAN2020. I thought I would use arts 2.4,
> a newer version. After successfully compiling arts2.4, and run the same
> .arts file I used before (a modification of TestAbs.arts), arts tells me
> that “abs_linesReadFromHitran” is not available any more. I went over the
> documentation, and found “READHITRAN”. I tried the following:
>
> ReadHITRAN( abs_lines,
>“./h2o_61fbd3ce.par",
> 1.3e+14,
> 1.0e+15 )
>
> arts reports:
>
> "Run-time error in method: ReadHITRAN
> Error parsing quantum number Sym”.
>
> Is there any way we can read in HITRAN par file and create a lookup table?
> Do you suggest me going back to arts 2.3?
>
> Thanks for your advice,
>
> Pengwang
>
> 
> Pengwang Zhai (he/his/him)
> Graduate Program Director, Atmospheric Physics,
> Associate Professor, Physics Department, UMBC
> pwz...@umbc.edu
>
>
>
>
>
>
> ___
> 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] read in HITRAN par file

2022-02-03 Thread Pengwang Zhai
Hello, ARTS Community,

I used arts 2.3 to generate gas absorption coefficient lookup table for o2, 
co2, etc. One key function was: "abs_linesReadFromHitran”. Now I need to 
revisit the calculation with HITRAN2020. I thought I would use arts 2.4, a 
newer version. After successfully compiling arts2.4, and run the same .arts 
file I used before (a modification of TestAbs.arts), arts tells me that 
“abs_linesReadFromHitran” is not available any more. I went over the 
documentation, and found “READHITRAN”. I tried the following:

ReadHITRAN( abs_lines,
   “./h2o_61fbd3ce.par",
1.3e+14,
1.0e+15 )

arts reports:

"Run-time error in method: ReadHITRAN
Error parsing quantum number Sym”.

Is there any way we can read in HITRAN par file and create a lookup table? Do 
you suggest me going back to arts 2.3?

Thanks for your advice,

Pengwang


Pengwang Zhai (he/his/him)
Graduate Program Director, Atmospheric Physics,
Associate Professor, Physics Department, UMBC
pwz...@umbc.edu






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