* arts-2-1-866

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

Add optional parameter fmin. If the line center is below fmin, skip
parsing the whole line. This can speed up catalog reading significantly
depending on fmin (and indirectly fmax).

* src/m_abs.cc (abs_linesReadFromHitran):

Pass fmin to LineRecord::ReadFromHitran2004Stream.

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

	* controlfiles/planetary_toolbox/demos/passive/
	DemoVenus_fullRT_1D_cloudy.arts:
	Added/updated documentation. Slight adjustments to (tentatively)
	demonstrate malfunction of refracted path calculation.

	Added/updated cloud case documentation:
	* controlfiles/planetary_toolbox/demos/passive/DemoScat_[MC,DOIT,FOS]_1D.arts
	* controlfiles/planetary_toolbox/demos/common/DemoVenusClouds1D.arts
	* controlfiles/planetary_toolbox/includes/common/makeclouds1D.arts
	* controlfiles/planetary_toolbox/includes/venus/getclouds_venus.arts

	* controlfiles/planetary_toolbox/demos/common/
	Demo[Venus,Mars,Jupiter]Atmo[1,3]D.arts,
	controlfiles/planetary_toolbox/includes/common/createvars.arts:
	Moved more regularly used WSV creation into createvars.arts.



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

* src/m_atmosphere.cc (AtmFieldsFromCompact):

Fix assertion. Throw runtime error if abs_species only contains the
first n species from atm_fields_compact. (n < number of species in
atm_fields_compact)

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

	* controlfiles/planetary_toolbox/demos/passive/
	DemoMars_fullRT_1D_cloudy.arts, DemoMarsClouds1D.arts,
	controlfiles/planetary_toolbox/includes/mars/getclouds_mars.arts,
	clouds_mars.arts:
	Added. Martian cloud/dust case files.

	* controlfiles/planetary_toolbox/demos/common/DemoMarsSurface1D.arts:
	Use z_surface from 0th z_field level as preset setting (that's the only
	case when DOIT works...).

	* controlfiles/planetary_toolbox/demos/passive/
	DemoVenus_fullRT_1D_cloudy.arts:
	Improved documentation, particularly on scattering solver limitations.

	* controlfiles/planetary_toolbox/demos/passive/DemoScat_DOIT_1D.arts:
	More zenith angles in presetting.

	* controlfiles/planetary_toolbox/demos/passive/
	DemoVenus_fullRT_1D_clearsky.arts: Minor layout adjustment.

	* src/methods.cc: Spell/formulation fixes.



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

* src/interpolation.cc:

Increase FD_TOL from 1e-3 to 1.5e-3 to fix assertion in
gridpos_check_fd called from ppath_end_1d for Manfred's CIRC case.

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

* src/methods.cc:

Add wind_u_field as input to wind_u_fieldIncludePlanetRotation.
It was only defined as output variable but used as input in the
implementation.

* src/m_atmosphere.cc (wind_u_fieldIncludePlanetRotation):

Add missing initialization to 0 after resizing wind_u_field. Otherwise
the += inside the loop is adding to garbage values.

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

            * arts-2-1-871

            * src/ppath.cc (raytrace_1d_linear_basic): It is clear that some
            cases with very strong refraction not is handled. All should be OK
            for Earth, but low altitudes of e.g. Venus is not properly handled
            with refraction. As a temporary solution, added a check that gives
            a runtime error (giving a rough idea about the problem), to not
            end up with an asseert as before. Some tuning of the crieria for
            issuing the error could be needed.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8849 aaf1aab0-4228-0410-ad68-8dceda47f409
ChangeLog was not properly saved...



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

	* src/ppath.cc (raytrace_1d_linear_basic): Improved checks for
	problematic refraction cases. Currently used: check that current
	predicted path point is still within grid cell. Implemented, but
	currently outcommented (switch on & test, please): check that path
	constant rule can be fulfilled over whole grid cell.

	* src/m_refraction.cc (refr_index_airMWgeneral): Minor doc improvement.

	* controlfiles/planetary_toolbox/includes/common/makegeometry3D_*.arts:
	Use refellipsoidForAzimuth for better fitting 1D refellipsoid  to the 3D
	observation geometry. This (almost?) perfectly ensures correct zenith
	angles from tanh for ellipsoidal planet cases (before, north/south were
	undesireably pointing to different effective tangent altitudes than
	east/west for identical tanh requests - indicated by different Tb
	baseline).

	* controlfiles/planetary_toolbox/demos/passive/
	DemoMars_fullRT_3D_clearsky.arts:
	Cleaned up from planet rotation pseudo-wind testing stuff. Corrected
	info on zang-from-tanh limitations. Set an f_grid that is more
	illustrative of wind effects.

	* controlfiles/planetary_toolbox/demos/common/DemoMarsAtmo3D.arts:
	Switch on E-W winds again, now that planet rotation pseudo-wind issues
	fixed.

	* controlfiles/planetary_toolbox/demos/passive/
	DemoVenus_fullRT_1D_cloudy.arts:
	Added more clear doc on limitations of the different scattering solvers,
	specifically in Venus.

	* controlfiles/planetary_toolbox/demos/passive/
	DemoVenus_fullRT_1D_clearsky.arts:
	Add info on refraction issues to header.

	* controlfiles/planetary_toolbox/demos/passive/DemoScat_FOS_1D.arts,
	DemoMars_fullRT_1D_clearsky.arts:
	Minor fixes.



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

	* src/m_ppath.cc (VectorZtanToZaRefr1D, VectorZtanToZa1D):
	Added runtime error catch of sensor position lower than given tangent
	altitude case.



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

* src/file.cc (get_absolute_path):

Workaround a bug in the C-library realpath function on OS X < 10.5 that
leads to a crash. Reported by Patrick.

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

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

* Reverted 2-1-874.

Turns out there are a whole bunch of other problems with OS X 10.5.
As it is EOL anyway, we hereby officially drop support for OS X 10.5.
I reverted the previous fix because the manual allocation introduces a
possible buffer overflow.

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