2014-03-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

            * arts-2-1-838

            * Things fixed, inspired by question from Jana:

            * src/m_sensor.cc (AntennaConstantGaussian1D): The algorithm for
            setting up mblock_za_grid was not perfect. I had selected
            "cumsum", while "cumtrapz" is a better option to avoid what could
            be seen as an edge effect. Also added a runtime check.

            * src/m_sensor.cc (antenna_responseGaussian): Added a runtime
              check.

              * src/methods.cc: Editing to reflect change below, for affected
              methods.

              * src/sensor.cc (gaussian_response_autogrid): The creation of the
              grid slightly changed, from using linspace to nlinspace. To
              ensure
              perfect fit with defined end points. Now the spacing adjusted
              accordingly, downwards. So grid spacing now becomes slightly
              smaller.



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

	* src/m_abs_lookup.cc

	(abs_lookupSetup): Pass atmfields_checked as input. To avoid
	abs_lookupSetup acting on (obviously) buggy data like negative
	temperatures. Remove a bunch of checks that are obsolte now as they are
	checked by atmfields_checkedCalc.

	(choose_abs_nls_pert): Avoid letting maxdev become infinity (as we can
	not divide a range [x,inf] into any number of steps and will forever
	stay in the make-steps while loop). And if it (still) is, throw a
	runtime error.

	* src/m_basic_types.cc (NumericInvScale): Added. A method to perform a
	divide. This as plenty of divide operations can only be represented by
	multiplication in an ugly way.

	* src/methods.cc: Adapt to the above changes.

	* src/species_data.cc: Corrected H2S HITRAN tag assignment. It's
	basically a HITRAN bug: For H2S HITRAN does not follow its own
	convention that tags are sorted in terms of isotopologue abundance.
	However, it's a very old bug, hence probability that HITRAN will fix it
	is low. So, we have to do something to make ARTS work properly with
	buggy HITRAN. If not fixed (i.e., for all previous ARTS	versions!),
	HITRAN-to-ARTSCAT conversion of H2S minor isotopologues is WRONG!

	* src/absorption.h (SpeciesRecord): Removed check for increasingly
	sorted HITRAN tags. This to allow the above change to work.

	* controlfiles/artscomponents/cia/TestRTwithCIA.iy_reference.xml:
	Updated with values matching modified O2 & H2O data in Perrin line data.

	* controlfiles/artscomponents/montecarlo/TestMonteCarloDataPrepare.arts:
	Do atmfields_checkedCalc before abs_lookupSetup.

	* controlfiles/artscomponents/arts-xml-data/spectrotest.py:

	(get_data): Consider that each abs_species entry is an array of tags and
	allow for multi-tag entries.

	(first_substring): Catch case when substring is not found.

	* doc/uguide/absorption.tex:
	In CIA part, added note on CO2-CO2 alternative.



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

* src/m_zeeman.cc:  BUG.  There was a difference between theory in the 
Zeeman paper and code in ARTS.  They way it was coded, horizontal and 
vertical polarization got shift around.  I found this while restructuring
the code to make it easier to compare with theory.


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