* arts-2-1-757

* src/{continua.{cc,h},species_data.cc,partition_function_data.cc},
controlfiles/general/continua.arts: Added Tretyakov et al. 2005 mpm-like
continua model.  Call "O2-TRE05" to get to it.  This addition is just a
copy of mpm93 with the Tretyakov et al. 2005 numbers instead of the mpm.

* src/{m_zeeman.cc,linerecord.cc}:  Added some quantum number reading
for N and J so Zeeman Hund case b should work now.

* doc/uguide/absorption.tex: Changed text on Zeeman here since NO can do
b-case now.  Also added O2-TRE05 to the right list.



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

            * arts-2-1-758

            * controlfiles/general/agendas.arts: Defined.
            refr_index_air_agenda__GasThayerAndElectrons.

            This as refr_index_air_agenda__GasMWgeneralAndElectrons is NOT
            working for Earth, as water vapour is not considered at all by
            the MWgeneral method.



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

            * arts-2-1-759

            * Jana and I have decided on a general principle for inclusion of
            atmospheres. Basically following what is already in place in eg.
            getatmo_mars.arts, but extend to automatically set p/lat/lon_grid,
            with the option to crop the grids. Some first step to implement
            this:

            * src/m_basic_types.cc (VectorCrop): New WSM. Note default values,
            trying to mimic +-Inf. For example this works:
              VectorCrop( out=p_grid, in=p_grid, min_value=0.1e2 )

              * controlfiles/planetary_toolbox/TestMarsAtmo.arts: Removed
              setting of p_grid, lat_grid and lon_grid.

              * controlfiles/planetary_toolbox/includes/mars/getatmo_mars.arts:
              p_grid, lat_grid and lon_grid are now set here. lat_grid and
              lon_grid set to be empty if not 3D. Values for 3D are just test
              values, things will be improved ...



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

            * arts-2-1-760

            * src/m_refraction.cc (refr_index_airMWgeneral): Commented out
            if-statement demanding that sum(vmr) is close to 1. This is not
            working together with the Mars data. Discussed with
            Jana, and seems difficult to keep the constrain. Note that the
            method applies a "rescaling" to sum(vmr)=1. 

            * controlfiles/planetary_toolbox/includes/mars/getatmo_mars.arts: 
            Found a setting p_grid resulting in an assert error. Not tracked
            down, but setting left as a comment in the file.



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

	* src/m_atmosphere.cc(GriddedFieldPRegrid,GriddedFieldPRegridHelper):
	No attempt of interpolation if old grid is completely outside new grid.
	Rather set everything to 0 if zeropadding (else throw error, as usual).
	Fixes issue reported by Patrick in 2-1-760.



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

	* src/m_refraction.cc(refr_index_airMWgeneral):
	Added H2O with reference refractivity calculated from Thayer.

	* src/methods.cc(refr_index_airMWgeneral):
	Description adapted accordingly.

	* doc/uguide/refr_index.tex, refr_index_theory.tex:
	AUG and ATD on refr_index_airMWgeneral adapted accordingly.



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

	* src/m_atmosphere.cc,methods.cc
	(lat_gridFromRawField, lon_gridFromRawField):
	Added. For extraction of lat_ and lon_grid from data grids. Similar to
	p_gridFromZRaw, but acting on a generic GriddedField3 instead of on
	z_field_raw.

	* controlfiles/artscomponents/helpers/TestGridsExtract.arts:
	Added. Testing above introduced grid extraction including cropped grids
	as introduced in 2-1-759.

	* controlfiles/CMakeLists.txt: Added above test case to the test suite.



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

	* controlfiles/CMakeLists.txt:
	Oops, TestGridsExtract requires arts-xml-data. Moved into the
	corresponding if clause.



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

	* src/m_cloudbox.cc, methods.cc (ParticleTypeAdd, ParticleTypeAddAll,
	ParticleType2abs_speciesAdd):
	Removed p/lat/lon_grid as passed variables. We don't need them in there.
	Whether they are consistent with atmosphere_dim is not necessary to be
	checked HERE!

	* controlfiles/artscomponents/arts-xml-data/TestClouds_Mars.arts,
	TestClouds_Venus.arts:
	Added. Cloud data tests.

	* controlfiles/CMakeLists.txt:
	Cloud data test added to test suite.



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

            * arts-2-1-765

            * controlfiles/artscomponents/radiolink/TestRadioLink.arts:
            Updated reference values, to have a clear reference (data and
            platform given as comment in file). Increased tolerance for y to
            2e-17, following data reported by Nicolas. This is about 2%, but
            impact of numerical inaccuracy on defocuisng results are high (see
            comment for arts-2-1-495)

            * controlfiles/artscomponents/faraday/test_faraday.m: Improved
            comment and accuracy of scaling factor.

            * doc/uguide/faraday.tex: Corrected a citep to citet.



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

* src/methods.cc: Changed documentation on the definition function for
line shapes to include the Faddeeva option.



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

	* controlfiles/planetary_toolbox/includes/mars/getatmo_mars.arts:
	Remove grid settings recently introduced by Patrick. We rather do them
	in a separate include (and they do not belong in here, where we just
	read the raw atmospheric grids).

	* controlfiles/planetary_toolbox/TestMarsAtmo.arts:
	Removed. Gets replaced by the files below.

	* controlfiles/planetary_toolbox/DemoMarsAtmo[1,3]D.arts:
	Added. Demos/templates for getting mars atmospheric data. Separate
	setups for 1D and 3D. They replace the previous TestMarsAtmo.arts.

	* controlfiles/planetary_toolbox/includes/common/getgrids_1D.arts,
	getgrids_3Dsimple.arts, getgrids_3Dspaced5deg.arts:
	Added. Include files that create p/lat/lon grid purely on
	p/lat/lon_min/max specifications by the user (everything else set or
	extracted internally).

	* controlfiles/planetary_toolbox/includes/common/makemagfield.arts,
	makefield1D.arts, makefield3D.arts:
	Use named parameters instead of positional passing.

	* controlfiles/planetary_toolbox/includes/common/createvars.arts:
	A string variable added.

	* controlfiles/artscomponents/doitbatch/TestDOITBatch.arts:
	Added abs_xsec check within outcommented make-LUT part.

	* ChangeLog: Added my forgotten-to-commit last entry and fixed version
	numbering.



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

* controlfiles/general/continua.arts: Added O2-MPM89 support since it is
already in ARTS.



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

	* controlfiles/planetary_toolbox/DemoMarsAtmo3D.arts,
	DemoMarsAtmo1D.arts, getgrids_1D.arts, getgrids_3Dsimple.arts,
	getgrids_3Dspaced5deg.arts, getatmo_mars.arts, atmo_mars.arts:
	Improved documentation.



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

            * arts-2-1-771

            * Removed/changed stuff stopping iyRadioLink to be used with
            ppath_agenda__FollowSensorLosPath. This combination can i fact be
            very useful.

            * src/m_transmitter.cc (iyRadioLink): Removed if statement
            demanding transmitter. rte_los now an input, passed on to
            ppath_agenda.

            * src/rte.cc (defocusing_sat2sat): Changed if-statement detecting
            if limb sounding is being performed. Old one demanded tracking of
            transmitter.



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

	* src/m_atmosphere.cc(GriddedFieldLatLonRegrid):
	Added the true-3D-data check here already to catch mistakenly empty
	grids (else is_cyclic causes an assert).

	* controlfiles/planetary_toolbox/TestJupiterAtmo.arts,
	TestVenusAtmo.arts:
	Removed. Get replaced by the files below.

	* controlfiles/planetary_toolbox/DemoVenusAtmo[1,3]D.arts,
	DemoJupiterAtmo[1,3]D.arts:
	Added. Demos/templates for getting venus and jupiter atmospheric data.
	Separate setups for 1D and 3D. Replace the previous Test*Atmo.arts.

	* controlfiles/planetary_toolbox/DemoMarsAtmo[1,3]D.arts,
	controlfiles/planetary_toolbox/includes/mars/getatmo_mars.arts,
	controlfiles/planetary_toolbox/includes/common/makemagfield.arts:
	Minor fixes.

	* controlfiles/planetary_toolbox/includes/venus/atmo_venus.arts,
	getatmo_venus.arts, jupiter/atmo_jupiter.arts, getatmo_jupiter.arts:
	Improved documentation.

	* controlfiles/planetary_toolbox/includes/mars/getwind_mars.arts,
	controlfiles/planetary_toolbox/includes/jupiter/getmagfield_jupiter.arts:
	Bugfixes.



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

	* controlfiles/planetary_toolbox/includes/venus/getwind_venus.arts,
	controlfiles/planetary_toolbox/includes/jupiter/getatmo_jupiter.arts,
	controlfiles/planetary_toolbox/includes/jupiter/getwind_jupiter.arts,
	controlfiles/planetary_toolbox/includes/jupiter/getmagfield_jupiter.arts,
	controlfiles/planetary_toolbox/includes/mars/getwind_mars.arts,
	controlfiles/planetary_toolbox/includes/common/makemagfield.arts,
	controlfiles/planetary_toolbox/includes/common/makefield1D.arts,
	controlfiles/planetary_toolbox/includes/common/makefield3D.arts,
	controlfiles/planetary_toolbox/includes/common/makeatmo1D.arts,
	controlfiles/planetary_toolbox/includes/common/makeatmo3D.arts,
	controlfiles/planetary_toolbox/includes/common/getgrids_1D.arts:
	Improved documentation.



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

            * arts-2-1-773

            * controlfiles/planetary_toolbox/demos/active/
            demo_earth_fascode_ionosphere.m: A demo script using the new
            atmlab functions.

            * controlfiles/planetary_toolbox/demos/active/
            earth_tropical_false3d_0to64km_lowfreq.arts:
            * controlfiles/planetary_toolbox/demos/active/
            earth_tropical_false3d_0to1000km_lowfreq.arts:
            Updated these two include files.

            * controlfiles/planetary_toolbox/demos/active/DemoLinkBudget.arts:
            Finished this demo file.

            * controlfiles/general/agendas.arts: Defined
            iy_transmitter_agenda__UnitUnpolIntensity.



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

            * arts-2-1-774

            * controlfiles/planetary_toolbox/demos/active/demo_mars_ro.m: Just
            a start.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8680 aaf1aab0-4228-0410-ad68-8dceda47f409
Corrected how the passbands are calculated for AMSU-A

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