ucl-exoplanets / TauREx3_public

Public release of TauREx3
https://taurex3-public.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

MemoryError #9

Open ck2194 opened 3 years ago

ck2194 commented 3 years ago

Hello,

I am new in TauRex and started with the "Quickstart": https://taurex3-public.readthedocs.io/en/latest/user/taurex/quickstart.html

I downloaded the relative files, but when I run the "taurex -i quickstart.par --plot" command, I get the error shown below.

Does anyone know what I am doing wrong?

Thanks!


C:\Users\me>python -c "import taurex; print(taurex.version)" 3.0.4-alpha

C:\Users\me>taurex -i "C:\Users\me\Desktop\test\quickstart.par" --plot taurex - INFO - TauREx 3.0.4-alpha taurex - INFO - TauREx PROGRAM START AT 2020-12-28 23:28:50.531270 taurex.ParamParser - INFO - Interpolation mode set to linear taurex.ParamParser - WARNING - Xsecs will be loaded in memory taurex.ParamParser - WARNING - Radis is disabled taurex.ParamParser - WARNING - Radis default grid will be used taurex.TransmissionModel - INFO - Building model........ taurex.TransmissionModel - INFO - Collecting paramters taurex.TransmissionModel - INFO - Setting up profiles taurex.TransmissionModel - INFO - Computing pressure profile taurex.ChemistryModel - INFO - Initializing chemistry model taurex.ChemistryModel - INFO - Initializing chemistry model taurex.TransmissionModel - INFO - Setting up contributions taurex.TransmissionModel - INFO - DONE taurex.PickleOpacity:CO2.R15000 - INFO - Loading opacity from /Users/me/Desktop/test/xsec/xsec_sampled_R15000_0.3-15\CO2.R15000.TauREx.pickle Traceback (most recent call last): File "C:\Users\me\AppData\Local\Programs\Python\Python36-32\Scripts\taurex-script.py", line 33, in sys.exit(load_entry_point('taurex==3.0.4a0', 'console_scripts', 'taurex')()) File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\taurex.py", line 96, in main wngrid = model.nativeWavenumberGrid File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\model\simplemodel.py", line 344, in nativeWavenumberGrid [OpacityCache()[gas].wavenumberGrid for gas in active_gases] File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\model\simplemodel.py", line 344, in [OpacityCache()[gas].wavenumberGrid for gas in active_gases] File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\cache\opacitycache.py", line 188, in getitem self.load_opacity(molecule_filter=[key]) File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\cache\opacitycache.py", line 441, in load_opacity self.load_opacity_from_path(opacity_path,molecule_filter=molecule_filter) File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\cache\opacitycache.py", line 387, in load_opacity_from_path op = PickleOpacity(files,interpolation_mode=self._default_interpolation) File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\opacity\pickleopacity.py", line 21, in init self._load_pickle_file(filename) File "c:\users\me\appdata\local\programs\python\python36-32\lib\site-packages\taurex\opacity\pickleopacity.py", line 37, in _load_pickle_file self._spec_dict = pickle.load(f) MemoryError