Re: [arts-users] Compatibility with HITRAN2016

2018-01-10 Thread Stefan Buehler
Dear Pengwang,

are you sure this is a spectral problem? The ARTS LUT does not do any spectral 
interpolation, only interpolation in pressure, temperature, and water vapor 
concentration. It could be these other interpolations that lead to negative 
values, if the real absorption is close to zero. Interesting, I don’t think I 
have seen this before. Could you perhaps send a figure that demonstrates the 
problem?

Best wishes,

Stefan

> On 10. Jan 2018, at 14:44, Pengwang Zhai  wrote:
> 
> Thanks, Oliver. I tried your recipe and it works fine to me.
> 
> Another small thing (or bug) is that arts LUT function sometimes generates 
> small negative values for absorption coefficient, when the spectral regions 
> is slightly outside an absorption band. If the developers are interested in 
> fixing this problem, I would be happy to provide more info that I have.
> 
> Yours,
> 
> Pengwang
> 
> 
>> On Jan 9, 2018, at 3:01 AM, Oliver Lemke  wrote:
>> 
>> Hi Pengwang,
>> 
>> ARTS hasn't been tested extensively with HITRAN 2016 and thus we don't 
>> officially support it yet. However, in general it works. You can work around 
>> the error you're seeing by renaming your catalog file and prepend 
>> HITRAN2012_ to the filename. In your case for example rename it to 
>> HITRAN2012_5a4fe828.par and ARTS will read it.
>> 
>> When using HITRAN 2016 make sure you're using the latest version from the 
>> Subversion repository.
>> 
>> Cheers,
>> Oliver
>> 
>> 
>>> On 6 Jan 2018, at 22:21, Pengwang Zhai  wrote:
>>> 
>>> Dear ARTS developers:
>>> 
>>> ARTS is an invaluable tool for the RT community and thanks very much for 
>>> your great contribution.
>>> 
>>> I have recently run into a problem with HITRAN 2016, the newest version of 
>>> HITRAN. I have downloaded the O2 par file from the HITRAN website. It is 
>>> named as: 5a4fe828.par. I used the example script to calculate the 
>>> absorption Look-Up-Table. One function is:
>>> 
>>> abs_linesReadFromHitran( abs_lines,
>>> “~/Oxygen_HITRAN2016/5a4fe828.par",
>>>  1.3e+14,
>>>  1.0e+15 )
>>> 
>>> Then I got the following error message:
>>> 
>>> Run-time error in method: abs_linesReadFromHitran
>>> ‘~/Oxygen_HITRAN2016/5a4fe828.par'
>>> does not appear to be a HITRAN 2012 catalogue. The catalog filename
>>> must start with HITRAN2012. If you intend to use a HITRAN 2008 catalog
>>> run 'cmake -DWITH_HITRAN2008=1 ..' and recompile arts
>>> Stopping ARTS execution.
>>> 
>>> Any suggestion to make this work? Have you attempted to confirm the 
>>> compatibility with HITRAN 2016?
>>> 
>>> My arts version is: arts-2.3.657.
>>> 
>>> Thanks very much and have a great 2018!
>>> 
>>> Yours,
>>> 
>>> Pengwang
>> 
> 
> ___
> arts_users.mi mailing list
> arts_users.mi@lists.uni-hamburg.de
> https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi



smime.p7s
Description: S/MIME cryptographic signature
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi


Re: [arts-users] Compatibility with HITRAN2016

2018-01-10 Thread Pengwang Zhai
Thanks, Oliver. I tried your recipe and it works fine to me.

Another small thing (or bug) is that arts LUT function sometimes generates 
small negative values for absorption coefficient, when the spectral regions is 
slightly outside an absorption band. If the developers are interested in fixing 
this problem, I would be happy to provide more info that I have.

Yours,

Pengwang
 

> On Jan 9, 2018, at 3:01 AM, Oliver Lemke  wrote:
> 
> Hi Pengwang,
> 
> ARTS hasn't been tested extensively with HITRAN 2016 and thus we don't 
> officially support it yet. However, in general it works. You can work around 
> the error you're seeing by renaming your catalog file and prepend HITRAN2012_ 
> to the filename. In your case for example rename it to 
> HITRAN2012_5a4fe828.par and ARTS will read it.
> 
> When using HITRAN 2016 make sure you're using the latest version from the 
> Subversion repository.
> 
> Cheers,
> Oliver
> 
> 
>> On 6 Jan 2018, at 22:21, Pengwang Zhai  wrote:
>> 
>> Dear ARTS developers:
>> 
>> ARTS is an invaluable tool for the RT community and thanks very much for 
>> your great contribution.
>> 
>> I have recently run into a problem with HITRAN 2016, the newest version of 
>> HITRAN. I have downloaded the O2 par file from the HITRAN website. It is 
>> named as: 5a4fe828.par. I used the example script to calculate the 
>> absorption Look-Up-Table. One function is:
>> 
>> abs_linesReadFromHitran( abs_lines,
>>  “~/Oxygen_HITRAN2016/5a4fe828.par",
>>   1.3e+14,
>>   1.0e+15 )
>> 
>> Then I got the following error message:
>> 
>> Run-time error in method: abs_linesReadFromHitran
>> ‘~/Oxygen_HITRAN2016/5a4fe828.par'
>> does not appear to be a HITRAN 2012 catalogue. The catalog filename
>> must start with HITRAN2012. If you intend to use a HITRAN 2008 catalog
>> run 'cmake -DWITH_HITRAN2008=1 ..' and recompile arts
>> Stopping ARTS execution.
>> 
>> Any suggestion to make this work? Have you attempted to confirm the 
>> compatibility with HITRAN 2016?
>> 
>> My arts version is: arts-2.3.657.
>> 
>> Thanks very much and have a great 2018!
>> 
>> Yours,
>> 
>> Pengwang
> 

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