* arts-2-1-391

* src/m_zeeman.cc: Added different Landé constants, gs, for
various molecules to make the frequency shifts closer to 
measurements (previously only free electron case was resolved,
though gs tend toward 2 the 'less free' the electron is from
the nuclear	angular momentum).

* controlfiles/testdata/isoquantum.xml: Should be read together
with all AddZeeman since it contains the values above. Changed
test-file to make it compatible with this new scheme.

* src/absorption.cc: Now reads HITRAN quantum numbers 
differently for various Zeeman species. NO should be possible to
Zeeman split in ARTS as is, whereas OH and ClO still need some work.

* src/methods.cc,src/workspace.cc,src/absorption.h: Small changes.



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

            * arts-2-1-392

            * src/ppath.cc (do_gridcell_3d_byltest): Check of r_v[j] when
            surface inside grid cell was not complete.



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

	* src/m_planets.cc,methods.cc (g0Jupiter, g0Mars, g0Venus):
	Added. Methods for getting z=0 gravity for other planets. They don't
	consider ellipsoid shape of the z=0 body (for now they only set a
	Numeric), but could be added.

	* src/agendas.cc (iy_cloudbox_agenda, surface_rtprop_agenda):
	A bit of polishing of the online documentation.

	* controlfiles/general/planet_[jupiter,mars,venus].arts:
	Added. Helper-includes corresponding to planet_earth.arts for other
	planets. Sets a couple of planet-specific constants/parameters.

	* controlfiles/general/agendas.arts:
	Added iy_cloudbox_agenda predefinitions, and g0_agenda predefinitions
	for other planets. Renamed ppath_agenda__PassiveSensorPath to
	ppath_agenda__FollowSensorLosPath according to Patrick's suggestion.

	* controlfiles/general/agendasDOIT.arts: replace iy_cloudbox_agenda
	setting by copied predefined agenda.

	* controlfiles/[artscomponents,instruments]/*/*.arts: Replaced
	ppath_agenda__PassiveSensorPath -> ppath_agenda__FollowSensorLosPath.
	
	* controlfiles/artscomponents/doit/TestDOIT.arts:
	Adapted compare-to-reference message to actual reference value used.

	* controlfiles/general/general.arts: Minor cleaning/re-sorting.



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

            * arts-2-1-394

            * src/ppath.cc (do_gridcell_3d_byltest): Added test also with
            respect to upper pressure level, for r_v[j]. This after getting an
            assert also in this direction. The z_field was quite crazy, but
            still formerly correct.



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

* src/absorption.cc (LineRecord::ReadFromArtscat4Stream):

Fix for crash when reading catalog files where n and j are
missing.

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

* controlfiles/artscomponents/catalogue/TestReadCataloguePerrin.arts:

Add simple testcase to read the whole Perrin catalogue.

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

* src/parser.cc (ArtsParser::parse_generic_output):

Fix bug reported by Patrick. Wrong logic in if-statement lead to
non-existent output variables being automatically created for WSMs
with names shorter than 7 chars.

* src/m_atmosphere.cc (AtmFieldsCalc):

Turn off zeropadding for t_field in 3D case (was already off for 1D).

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

            * arts-2-1-398

            * src/methods.cc: Added missing \n.



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

	* src/m_abs.cc
	(abs_speciesDefineAllInScenario): Don't add a dot between basename and
	species if basename ends in '/', i.e. is a directory.
	(abs_h2oSet): Don't throw an error, but set abs_h2o to [-1], if H2O is
	not in abs_species (we need abs_h2o only for selected continua. so we
	should at least be able to make lbl calculations without H2O).
	(abs_coefCalc,abs_coefCalcSaveMemory): First call
	abs_xsec_per_speciesAddConts, then abs_xsec_per_speciesAddLines. In case
	continuum calc throws an error due to missing abs_h2o, we want to avoid
	having done a heavy lbl calc before.

	* src/m_abs_lookup.cc (abs_lookupCalc): as for abs_coefCalc (see above).

	* src/absorption.cc (calc_gamma_and_deltaf_artscat4):
	- Instead of throwing an error when broad_spec_vmr_sum <0.9, only send a
	warning to out2 (it's anyway rescaled to vmr=1, hence we don't make big
	errors)
	- catch case that broad_spec_vmr_sum==0 (applying gamma_self for full
	vmr=1). Not in effect yet as after fixing the abs_lookup-wit-artscat4
	bug might make it obsolete (though, a catch of possible div0 seems
	preferable anyways.)

	* src/m_atmosphere.cc (AtmRawRead): Don't add a dot between basename and
	name of atmfield if basename ends in '/', i.e. is a directory.

	* controlfiles/artscomponents/catalogue/TestReadCataloguePerrin.arts:
	Use abs_speciesDefineAllInScenario (instead of manually setting
	abs_species) to catch ALL species with line files to test.

	* controlfiles/artscomponents/clearsky/TestClearSky.arts: Fixed typo.



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

* src/doit.cc (cloud_RT_no_background):

Change averaging between the ppath steps to be consistent with the
clearsky part. Previously, averaging between ppath points was done for
temperature, pressure and vmrs. Now abs_mat_per_species is calculated
on each ppath point and then averaged.

Here are the differences between the old way and the new way:
TestDOIT:
  y_0-y_old OK (maximum difference = -0.0505823).
  y_1-y_old OK (maximum difference = 0.00250382).
TestDOITBatch:
  ybatch[0]-ybatch_old[0] OK   (maximum difference = 0.00277304).
  ybatch[1]-ybatch_old[1] OK   (maximum difference = 0.00306167).
  ybatch[2]-ybatch_old[2] FAIL (maximum difference = -0.0143527).
  ybatch[3]-ybatch_old[3] OK   (maximum difference = 0.00944391).
  ybatch[4]-ybatch_old[4] OK   (maximum difference = -0.00804398).
  ybatch[5]-ybatch_old[5] FAIL (maximum difference = 0.03268).

* controlfiles/artscomponents/doitbatch/TestDOITBatch.ybatch.ref.xml:

Updated reference values.

* src/m_basic_types.cc (Compare):

Don't fail immediately when comparing arrays. Instead, collect all
errors and throw an exception at the end.

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