Code Monkey home page Code Monkey logo

Comments (4)

olemke avatar olemke commented on August 26, 2024

@erikssonpatrick The convention that aa_grid must have a length of 1 for the 1-D case is not a bug, but has been there for a long time. There is an explicit check in DOAngularGridsSet This has been there at least since 2016 when Jana introduced that method.

from arts.

m-brath avatar m-brath commented on August 26, 2024

I agree that aa_grid=[] would be the correct choice for 1D, but only for the case of thermal radiation and DISORT. For DOIT you must have an aa_grid of size greater than 0 even for 1D atmosphere. Furthermore, if you have a direct source, aa_grid must be greater than 0 even for 1D atmospheres in Disort. But I can add a check in the DisortCalc-methods, that the size of aa_grid must be greater than 0.

from arts.

riclarsson avatar riclarsson commented on August 26, 2024

I agree with the idea of simpler interfaces, but I don't know what I can do about this. It seems like an internal Disort-interaction change. So I remove myself from this.

from arts.

olemke avatar olemke commented on August 26, 2024

Closing this for now. Needs to be revisited later with a larger scale refactoring of how all angular grids work.
Assert was fixed in #524.

from arts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.