atmtools / arts-lectures Goto Github PK
View Code? Open in Web Editor NEWProvides a set of practical exercises using the radiative-transfer model ARTS
Home Page: http://radiativetransfer.org/
Provides a set of practical exercises using the radiative-transfer model ARTS
Home Page: http://radiativetransfer.org/
I installed ATRS and Testexample .py worked. But when I tried to run absorption.ipynb its showing like this
Exception Traceback (most recent call last)
/tmp/ipykernel_12347/2548510084.py in
5
6 # Call ARTS to calculate absorption cross sections
----> 7 freq, abs_xsec = calculate_absxsec(species, pressure, temperature)
~/arts-2.4.0/controlfiles-python/example/01-rotational_spectra/absorption_module.py in calculate_absxsec(species, pressure, temperature, fmin, fmax, fnum, lineshape, normalization, verbosity)
59
60 ws.abs_lines_per_speciesReadSpeciesSplitCatalog(
---> 61 basename="spectroscopy/Artscat/"
62 )
63
~/arts-2.4.0/build/python/pyarts/workspace/workspace.py in call(self, *args, **kwargs)
269
270 def call(self, *args, **kwargs):
--> 271 self.m.call(self.ws, *args, **kwargs)
272
273 def repr(self):
~/arts-2.4.0/build/python/pyarts/workspace/methods.py in call(*args, **kwargs)
456 if (e_ptr):
457 raise Exception("Call to ARTS WSM " + self.name + " failed with error: "
--> 458 + e_ptr.decode("utf8").format())
459
460 # Remove temporaries from workspace (in reverse order).
Exception: Call to ARTS WSM abs_lines_per_speciesReadSpeciesSplitCatalog failed with error: Cannot find any bands in the directory you are reading
I installed arts 2.5.8, and I tried to run the examples given. but for all the examples, I am getting an attribute error. How to check
AttributeError Traceback (most recent call last)
/tmp/ipykernel_75718/1219081892.py in <cell line: 3>()
1 # Calculate Jacobians (ARTS)
2 jacobian_quantity = "H2O"
----> 3 calc_jacobians(jacobian_quantity=jacobian_quantity)
4
5 # read in everything
~/arts-lectures-master/exercises/05-jacobian/jacobian_module.py in calc_jacobians(jacobian_quantity, fmin, fmax, fnum, verbosity)
137 """Calculate jacobians for a given species and frequency range."""
138 ws = pyarts.workspace.Workspace(verbosity=0)
--> 139 ws.water_p_eq_agendaSet()
140 ws.PlanetSet(option="Earth")
141 ws.verbositySetScreen(ws.verbosity, verbosity)
~/.local/lib/python3.10/site-packages/pyarts/workspace/workspace.py in getattr(self, name)
479 i = arts_api.lookup_workspace_variable(name.encode())
480 if i < 0:
--> 481 raise AttributeError("No workspace variable " + str(name) + " found.")
482 vs = arts_api.get_variable(i)
483 group_id = vs.group
AttributeError: No workspace variable water_p_eq_agendaSet found.
Master is very outdated. Freddy and/or Oliver, could you update, please.
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.