You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue prevents loading DB's, even when they are downloaded with HAPI directly. e.g:
import hapi
import os
# start a fresh DB and download CO2=2, isotopologue=10
pathstr = './hapi/test'
hapi.db_begin(pathstr)
hapi.fetch('testme', 2, 10, 2250, 2251)
hapi.db_commit()
# open the DB path, loading the stored databases
hapi.db_begin(pathstr) # !this will cause an Exception
Viewing the data file, it seems HAPI saves the hitran file iso_id's in decimal, unlike the hitran web downloads:
During loads, HAPI expects the iso id's at a fixed location, and 1 digits. The Hitran Web downloads are loaded correctly, but files fetched with HAPI fail.
The text was updated successfully, but these errors were encountered:
The issue prevents loading DB's, even when they are downloaded with HAPI directly. e.g:
Viewing the data file, it seems HAPI saves the hitran file iso_id's in decimal, unlike the hitran web downloads:
During loads, HAPI expects the iso id's at a fixed location, and 1 digits. The Hitran Web downloads are loaded correctly, but files fetched with HAPI fail.
The text was updated successfully, but these errors were encountered: