Hi Ryosuke, I am not familiar with the arts-lecture package in general, but this issue is because you lack the arts-xml-data folder in your path. The arts-xml-data can be downloaded using subversion or as a zip from: https://www.radiativetransfer.org/tools/
You then need to set a system environment variable called ARTS_DATA_PATH to point at the arts-xml-data main folder for the script to find the data. If you go into the arts-xml-data folder, you will see that it contains a path to spectroscopy/Artscat/ where the necessary files are, and ARTS will look there because of the environment variable. If you do not want to set the environment variable, just point basename to the same absolute path. I recommend the environment solution as there is a lot of helper data in arts-xml-data and I suspect that the arts-lecture uses it extensively, as you will also if you use ARTS for other things in the future. Note that you need the version of the arts-xml-data that is for version 2.4 of ARTS as I have changed this a lot since then. With hope, //Richard Den ons 9 nov. 2022 kl 03:39 skrev 田村 亮祐 <tamura.ryohs...@jaxa.jp>: > Dear ARTS members > > > > Nice to meet you. > > I’m Ryosuke Tamura working at Japanese Space Agency. > > Dr Y. Kasai invited me to arts mailing list. > > > > Now, I want to use arts-lecture on github. > > > https://github.com/atmtools/arts-lectures/blob/master/exercises/01-rotational_spectra/absorption.ipynb > > > > To calculate absorption cross section, I have downloaded XML data style > catalog from > > https://radiativetransfer.org/misc/download/stable/2.4/. > > > > Absorption_module.py program inside arts-lecture defines the data catalog > path as follows. > > ws.abs_lines_per_speciesReadSpeciesSplitCatalog( > > basename="spectroscopy/Artscat/" > > ) > > However, the downloaded XLM data (version2.4) doesn’t have the name of > directory “Artscat”. > > To use the arts-lecture program, how to set basename=”” ? > > > > If latest XML data catalog doesn’t have Artscat, > > I’d appreciate it if you tell me the version and its URL of the catalog > which has Artscat. > > > > Best regards > > > > > > ------------------------------------------------ > > RYOSUKE Tamura > > Sensor System Research Group > > Japan Aerospace Exploration Agency (JAXA) > > 2-1-1, Sengen, Tsukuba, Ibaraki, 305-8505, Japan > > tamura.ryohs...@jaxa.jp > > ------------------------------------------------ >