hitranonline / hapiest Goto Github PK
View Code? Open in Web Editor NEWA GUI frontend which allows manipulation and processing of data from the HITRAN database.
Home Page: http://hitran.org/
License: Other
A GUI frontend which allows manipulation and processing of data from the HITRAN database.
Home Page: http://hitran.org/
License: Other
The code only has sparse inline comments - we need documentation using some sort of documentation suite like sphinx.
It changes the values if min > max
I installed Hapiest on my windows 10. Every time I run, this error comes up and the program gets stuck. I need your help, and thank you very much!
Done initializing hapi db...
Encountered an error:
'MoleculeMeta' object has no attribute 'id'
Traceback (most recent call last):
File "src/main.py", line 19, in
sys.exit(run())
File "D:\HITEMP\hapiest\src\app.py", line 141, in run
window = MainWindow()
File "D:\HITEMP\hapiest\src\windows\main_window.py", line 8, in init
Window.init(self, MainWindowWidget(self), None)
File "D:\HITEMP\hapiest\src\widgets\main_window_widget.py", line 91, in init
self.cross_section_fetch_widget = CrossSectionFetchWidget(self)
File "D:\HITEMP\hapiest\src\widgets\cross_section_fetch_widget.py", line 72, in init
self.molecule.addItems(CrossSectionMeta.all_names_sorted_by_hitran_id())
File "D:\HITEMP\hapiest\src\metadata\xsc_meta.py", line 68, in all_names_sorted_by_hitran_id
return list(map(lambda m: m.name, sorted(molecules, key=lambda m: m.id)))
File "D:\HITEMP\hapiest\src\metadata\xsc_meta.py", line 68, in
return list(map(lambda m: m.name, sorted(molecules, key=lambda m: m.id)))
AttributeError: 'MoleculeMeta' object has no attribute 'id'
There should be a sort of binary distribution for Windows, Mac, and Linux machines - 32 and 64 bit.
On my machine fetching is extremely slow - a small fetch of about ~2MB can take anywhere from 30s to a minute. Can anyone else confirm?
Hi everyone,
after fetching some date in the line-by-line tab, I tried to plot in the Graphing tab. If you set the Graph Type
to Transmitance Spectrum
and then tick the Wavenumber Step (cm^{-1})
, the program crashes with the error
[Err] Wavenumber Step must be less than Instrumental Resolution
Traceback (most recent call last):
File "/media/sf_vm_share/hapiest/src/widgets/graphing/graphing_widget.py", line 178, in graph
self.graph_ts(standard_params)
File "/media/sf_vm_share/hapiest/src/widgets/graphing/graphing_widget.py", line 287, in graph_ts
self.data_name_error.setText(
AttributeError: 'NoneType' object has no attribute 'setText'
Aborted (core dumped)
While the first line, i.e. [Err] Wavenumber Step must be less than Instrumental Resolution
, indicates that this error occured due to bad user input, crashing the program seems like bad handling of the exception.
Threshold is spelled incorrectly ("Threshhold") on the label for Intensity Threshold
(Also is Halfwidth spelled correctly? I don't know what that is)
When I set the Diluent parameter Diluent={'self':1., 'air': 0.}, the linewidth is broder than the parameter Diluent={'self':0.1, 'air': 0.9}. The other key parameters are Environment={'p': 0.1, 'T': 296.}, gastype='H2O', Conditions=('between', 'nu', 9204, 9210). It is Contrary to reality.
Module imports only work when the program is started with the command 'python src/main.py', and does not work with 'python src'
Sorry, I have never programmed with python, so I have no idea what's wrong...
./run
Traceback (most recent call last):
File "src/__main__.py", line 12, in <module>
from windows.main_window import *
File "hapiest/hapiest-master/src/windows/main_window.py", line 15
self.gui: 'MainWindowGui' = MainWindowGui(self)
^
SyntaxError: invalid syntax
This is Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux
The old version of HAPI needs to be replaced (as soon as the new version is available).
Instead of automatically changing the number if min > max, just add a marker (like a red X or squiggly line or something) if the values are invalid, then if the user tries to fetch with invalid values, instead of fetching, just tell them their values are invalid
I'm using osx 14.6 with Python 3.7.7 that includes pip 20.2.2 that includes numpy 1.19.0 . I am able to plot bands, but when I attempt to plot the other quantities I receive the following
File "/usr/local/lib/python3.7/site-packages/numpy/core/function_base.py", line 113, in linspace
| num = operator.index(num)
|
| 'numpy.float64' object cannot be interpreted as an integer
Error executing work request: 'numpy.float64' object cannot be interpreted as an integer <class 'TypeError'> None
A similar error occurs using HAPI.
Its difficult to use python 3.6 as pip for that version is not compatible with openssl 1.1. Going back to openssl 1.0 causes other issues.
Thus, is there a way to modify hapiest to get around this issue?
About Tab text spacing is funky. Smells like Jazz music.
No cross section filters can be applied because the program crashes. Last lines in terminal read:
WARNING: Traceback (most recent call last):
File "src/widgets/cross_section_fetch_widget.py", line 110, in __on_apply_filters_clicked
self.set_cross_section_list_items(xsc_filter.get_cross_sections())
File "src/data_structures/xsc.py", line 74, in get_cross_sections
if self.molecule_id not in CrossSectionMeta.molecule_metas:
AttributeError: type object 'CrossSectionMeta' has no attribute 'molecule_metas'
Abort trap: 6
Am I just not doing something correctly?
.
Fetch Window Isotopologues, Parameter Groups, and Parameters not resizing with window.
It seems as if the range of the axis doesn't change even when the view selection is changed using the rubber band feature. It appears as if the upper limit in particular does not change.
It appears to be a bug with QtChart.
May I ask you to help me, thank you in advance.
Best Ken
I am trying to run hapiest, I couldn't get it to run by doing the bash command, I had to try to run the hapiest.exe itself. I am doing all of this on a mac.
When I did this, it opened up a prompt to enter my api key, which I did. Then when it tries to run I get a box that says "You do not have a working internet connection. You need to have a working internet connection in order to use hapiest."
I do have an internet connection. Why would this error occur?
I have basically no python or coding knowledge in general, just an fyi. I was very excited to see that hapiest existed instead of trying to run hapi.py.
The graph window only allows for the graphing of absorption coefficient graphs, and no others.
Hello everyone here,
I have been successful in installing all the packages as per the steps mentioned in the manual. I could also run the /src. I entered the API and I got exited from Hapiest. But I am unable to access the GUI.
The last step in the manual: "After you install hapiest, you can start it by calling run in a command prompt or terminal." i am unable to execute (not understanding what needs to be done). I have attached a snapshot of what I did and the error I am getting.
Can someone explain to me how it needs to be done?
Thank You in advance.
Regards!
It makes you feel like nothing is happening, which might cause someone to click the button multiple times
The wavenumber min and wavenumber max fields don't let you input values that would make the min > max, but it makes it basically impossible to type in a max value (and sometimes a min value) without using the up/down arrows
Currently only absorption coefficient graphing is actually supported.
There should be some way to modify the settings found in the config file in the GUI.
Can't enter viewport values greater than 99.99 even when the graph generated extends beyond 100.
The save button will save whatever is currently displayed in the HapiTableView to the source table - not to the table name in the 'output name' field.
Bands are currently graphed using a QScatterSeries
. The QScatterSeries
, when using OpenGL hardware acceleration, does not support different shaped points. We need a work around to this
Upon trying to graph data that was put through select gives the following error:
[Err] [Errno 2] No such file or directory: 'data/kyle.hmd'
hmd files are no longer necessary, there is no need to try and read the .hmd file anymore
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.