radis / radis-lab

Online environment for advanced spectrum processing and comparison with experimental data
https://radis.github.io/radis-lab
5 stars 7 forks source link

Deployment error #34

Open erwanp opened 2 years ago

erwanp commented 2 years ago

Seen during launch of #33

  65536 bytes written to /home/jovyan/.radisdb/hitran/downloads__can_be_deleted/H2O/H2O_7.data
  65536 bytes written to /home/jovyan/.radisdb/hitran/downloads__can_be_deleted/H2O/H2O_7.data
  65536 bytes written to /home/jovyan/.radisdb/hitran/downloads__can_be_deleted/H2O/H2O_7.data
  65536 bytes written to /home/jovyan/.radisdb/hitran/downloads__can_be_deleted/H2O/H2O_7.data
Header written to /home/jovyan/.radisdb/hitran/downloads__can_be_deleted/H2O/H2O_7.header
END DOWNLOAD
                     Lines parsed: 23192
PROCESSED
PROCESSED
Traceback (most recent call last):
  File "download_hitran.py", line 10, in <module>
    fetch_hitran(molecule, parse_quanta=molecule in ['CO', 'CO2'])
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/radis/io/hitran.py", line 1407, in fetch_hitran
    ldb.download_and_parse(download_files, cache=cache, parse_quanta=parse_quanta)
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/radis/io/hitran.py", line 1179, in download_and_parse
    df = hit2df(
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/radis/io/hitran.py", line 208, in hit2df
    mol = get_molecule(int(f.read(2)))
ValueError: invalid literal for int() with base 10: ''
Warning : 3 files were written but not combined. Deleting them.

['/home/jovyan/.radisdb/hitran/H2O_temp000000.hdf5', '/home/jovyan/.radisdb/hitran/H2O_temp000001.hdf5', '/home/jovyan/.radisdb/hitran/H2O_temp000002.hdf5']

Full log in https://github.com/radis/radis-lab/pull/33#issuecomment-1128292955

erwanp commented 2 years ago

Update : in https://github.com/radis/radis-lab/commit/fdd7affd97da58944c5613ae44476c3a737efe2e deploymenet worked; RADIS-Lab worked with HITRAN/HITEMP/GEISA (total time ~5hrs)

image

However the Docker was not saved --> the build process restarted on the next call.

Trying with only GEISA.

erwanp commented 2 years ago

Working in 2ba8b02 minus HITEMP-H2O (not downloaded) ; skipping it out for the moment !