2012-04-10 Oscar Isoz <oscar.isoz(at)ltu.se>

   * arts-2-1-570

   * src/methods.cc, src/m_sensor.cc
   (sensor_responseGenericAMSU,f_gridFromSensorAMSUgeneric):
   Added workspace methods for implementation of AMSU-A type sensors,

   * controlfiles/instruments/amsu/TestAMSUA.arts,
   controlfiles/instruments/amsu/amsua.arts :
   Added preliminary testcases for AMSU-A type sensor



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8327 aaf1aab0-4228-0410-ad68-8dceda47f409
* arts-2-1-571

* src/m_abs.cc, src/absorption.h (linesElowToJoule):

Removed unused function.

* src/rational.{cc,h}:

Add typedef for ArrayOfRational.

Move implementation of Simplify to cc file.

git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8328 aaf1aab0-4228-0410-ad68-8dceda47f409
* arts-2-1-572

* src/quantum.{cc,h}: Quantum numbers implementation. Unfinished.

* src/absorption.{cc,h}:

Rename QuantumNumbers to QuantumNumbersString. Will be removed once
the new implementation is completed.

Add QuantumNumberRecord to LineRecord.

* src/CMakeLists.txt: Add quantum.cc.

* src/rational.{cc,h}:

Remove assertion for denom>0 (for now). Because we want to use
Rational(0,0) as an undefined value.

Use less controversial names for  member
variables. top -> mnom, low -> mdenom.

git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8332 aaf1aab0-4228-0410-ad68-8dceda47f409
	* arts-2-1-573

	* src/m_extract.h (Extract): Added Extract for Index from ArrayOfIndex.

	* src/m_doit.cc

	(CloudboxGetIncoming, iyInterpCloudboxField): Introduce sanity check for
	radiance field interpolation - throws an error if radiance ratio between
	two interpolation points exceeds a threshold. Can be switched off (and
	old non-check behaviour used instead, which is preferable for very thin
	atmospheres, where radiance field is a step function when going from
	downlooking to limb) via "rigorous" keyword. Only for 1D case
	implemented, though.

	(doit_za_grid_optCalc): Throw level-1 warning instead of runtime error
	if number of zenith angles for grid optimizations seems too low (<500).

	* src/methods.cc: Adapted to the changes in WSM above.

	* src/doit.[cc,h] (iy_interp_cloudbox_field): Sanity check for radiance
	field interpolation (see iyInterpCloudboxField above).

	* src/ppath.cc (ppath_start_stepping): Minor fix: in 3D allow sensor to
	be right on the edge of the defined lon-grid.

	* src/continua.cc
	controlfiles/artscomponents/arts-xml-data/TestAtmScen_Mars.arts:
	Minor spellfixes.

	* doc/uguide/gridded_field_gridnames.txt: Some more specifications.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8334 aaf1aab0-4228-0410-ad68-8dceda47f409
	* arts-2-1-574

	* src/m_extract.h (Extract): Removed Extract for Index from ArrayOfIndex
	as this - according to Oliver - is implicitly included in the template
	function.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8335 aaf1aab0-4228-0410-ad68-8dceda47f409
* arts-2-1-575

* src/arts.h: Add define for isnan an isinf to fix compilation on
g++ (>=4.7) using the new c++11 standard.

* controlfiles/artscomponents/zeeman/yREFERENCE_3D.xml:

Update reference file.

* controlfiles/artscomponents/zeeman/TestZeeman.arts: Remove abs_n2.

* src/m_extract.h: Update docs for Extract template function.

git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8337 aaf1aab0-4228-0410-ad68-8dceda47f409
2013-04-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

            * arts-2-1-576

            * src/ppath.cc (raytrace_1d_linear_basic)
            (raytrace_2d_linear_basic, raytrace_3d_linear_basic): With
            ppath_lmax=-1, lmax was effectively set lraytrace and number of
            path points could differ between geometric and refraction calcs.
            Expanded if-statement, to solve this problem.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8339 aaf1aab0-4228-0410-ad68-8dceda47f409
* arts-2-1-577

* src/CMakeLists.txt: Add test_quantum.

* src/absorption.{h,cc} (LineRecord::ReadFromHitran2004Stream):

Store quantum numbers for O2 in new QuantumNumberRecord.

(find_matching_lines): Search in ArrayOfLineRecord.

* src/m_zeeman.cc (propmat_clearskyAddZeeman):

Use quantum numbers from the QuantumNumberRecord.

* src/rational.h:

Define RATIONAL_UNDEFINED and add isUndefined method.

* src/quantum.{cc,h}:

Add Compare function and simple output operators.

Remove QUANTUM_UNDEFINED and use new RATIONAL_UNDEFINED instead.

git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8341 aaf1aab0-4228-0410-ad68-8dceda47f409