2012-03-30  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-2-0-2

	* demos/qpack2_demo.m: Q.HSE.P now set to forst element of
	pressure grid. Old setting of 1013 (Pa) strange, confusing and can
	cause that the surface slips outside the atmosphere after applying HSE.

2012-03-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-2-0-1

	* arts/qarts2cfile.m (cfile_Jacobi): Adopted call of
	jacobianAddFreqShiftAndStretch (changed in arts-2-0-40).

	* demos/qpack2_demo.m: Definition of FFIT with stretch now again
	behind %. DF now set to 25e3 (a safer value).

2012-02-22  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-2-0-0

	* Update version number for branch.

	* ChangeLog: Remove conflict marker.

2012-02-16  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-294

	* math/binned_statistics.m: Added an input type check

	* datasets/common_read_patmosx.m (common_read_patmosx): Fixed bug
	in collapsing data, Decided not to throw away negative time
	values, and can now take files that are either hdf gziped
	hdffiles.

2012-02-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-293

	* geodetic/geomtanpoint2d.m (geomtanpoint2d): Now complete (but OK?).

	* geodetic/geomtanpoint.m (geomtanpoint): Internal variables renamed.

	* geodetic/geocentricposlos2cart.m (geocentricposlos2cart): Added
	input checks.

2012-02-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-292

	* geodetic/geomtanpoint.m: Corrected header info.

	* geodetic/geocentric2cart.m: New. Work in progress.

	* geodetic/geocentricposlos2cart.m: Now not calling
	geocentric2cart, to save some time (code instead copied and adopted).

2012-02-10  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-291

	* collocations/TODO: added one item

	* collocations/CollocatedDataset.m (collocate_and_write_date_range):

	- If firstlines do not exist for dates, generate them first, then
	proceed

	* datasets/SatDataset.m:

	(find_granules_for_period): Added

	- Find all granules for indicated period

	(find_granule_first_line): Added

	- Create or expand firstline-database

	(granule_first_line): Expanded

	- Added option 'force' to throw no error, but return empty

	* datasets/find_granules_for_period.m: Now deprecated

2012-02-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-290

	* forwardmodel/pathpoint2sensorposlos.m: Now using new functions
	for conversion between spherical and cartesian coordinate systems.

	* arts/: The following functions are removed, replaced by
	functions in geodetic/: arts_cart2poslos.m, arts_cart2zaaa.m,
	arts_sph2cart.m, arts_cart2sph.m, arts_poslos2cart.m and
	arts_zaaa2cart.m.

	* geodetic/geomtanpoint.m: A function for calculating the 3D
	geomtrical tangent point, handling non-spherical cases.

	* arts/qarts2cfile.m (cfile_AtmSrf): r_geoid now not saved. (This
	to not cause conflicts with the present arts-dev version. I assume
	that nobody pick up the save file.)

2012-02-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-289

	* datasets/common_read_patmosx.m: Fixed bad bug in sorting the
	data. Now also remove all data that has corresponding scan_times that
	are invalid

2012-02-10  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-288

	* datasets/SatDataset.m (read_granule):

		- Bugfix in removal of duplicates

2012-02-10  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-287

	* collocations/CollocatedDataset.m (collocate_granule):

		- Catch here when secondary granule not found, not only in
		collocate_date

2012-02-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-286

	* datasets/common_read_patmosx.m: Commited some of the conflict


2012-02-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-285

	* datasets/read_clavrx_hdf.m: Used by patmos-x read

	* site-specific/kiruna/datasets_init.m: $YEAR-> $YEAR4

	* datasets/common_read_patmosx.m: Added reading routine for
	patmosx

2012-02-09  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-284

	* collocations/AssociatedDataset.m:

	(limit_to): New name for limit, to be not confused with limit_out

	(limit_out): Convert limits as relating to associated to limits as
	related to core

	* collocations/CollocatedDataset.m:

	(process): Fix bug in removing duplicates; should be removed if either
	is duplicate, not only if both are duplicate

	(read): Working on filtering based on additionals. Getting far for
	limits, but filters are more tricky, needs thinking.

	(deal_fields): Also deal indices

2012-02-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-283

	* demos/qarts_scattering_demo.m: 
	* demos/qarts_demo2.m: Adopted to changes below.

	* arts/qarts2cfile.m: Changed for R_GEOID and Z_SURFACE.

	* arts/qarts.m (qarts): Scalar R_GEOID and Z_SURFACE for 2D and 3D
	now not allowed (was an exception!).

2012-02-09  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-282

	* collocations/AssociatedDataset.m (limit): Implemented.

	- Extremely simple in this case, but more complicated when e.g.
	meandata is implemented.

	* collocations/limstruct2limmat.m: Improved

	- Always return nX3 matrix as promised in docs

	* collocations/CollocatedDataset.m(read): Expanded

	- Implement limits for core-collocs
	- Implement filters for core-collocs
	- Todo: imlement those for any fields

2012-02-09  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-281

	* collocations/CollocatedDataset.m(read): Handle empty data well.

2012-02-09  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-280

	* files/loadncfile.m, files/loadncvar.m:

	Don't crash reading variable where one or more dimensions are zero.
	Returns zeros(dimlength1, dimlength2, ...) for those cases.

	Matlab 2011b changed it's behaviour in this case.

	* files/nc_read_varid.m: Put variable reading into separate file.

2012-02-09  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-279

	* collocations/CollocatedDataset.m:

	(collocate_date): Adapt for changed error-identifiers

2012-02-08  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-278

	* collocations/FieldCopier.m:
	
	(FieldCopier): if no name is given, construct one and issue warning

2012-02-08  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-277

	* collocations/CollocatedDataset.m:

	(collocate_and_store_date_range): Bugfix, should consider additionals

	(read): give warning message if nargout too small

	* datasets/common_read_poes_radiometer.m:

	- allow second argument, but ignore it

2012-02-08  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-276

	* collocations/CollocatedDataset.m:

	(read): Now, all fields can be passed in a single cell-array

	(deal_fields): Private method. Deal fields over core, additionals,
	etc.

	* datasets/HomemadeDataset.m (read_single_day): Be more verbose

2012-02-08  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-275

	* site-specific/kiruna/datasets_init.m: removed remaining local code

2012-02-08  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-274

	* collocations/CollocatedDataset.m (read):

	- Read period of collocations. Not finished, temporary implementation,
	but appears to work.

2012-02-08  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-273

	* datasets/HomemadeDataset.m(store): Bugfix when data is empty

2012-02-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-272

	* geodetic/ellipsoidcurvradius.m: New.

	* geodetic/ellipsoidradii2.m: Curvature radius removed as option.
	Moved to the function above. 

	* geodetic/ellipsoidradii2.m: Merged two lines of code for
	curvature radius.

	* geodetic/ellipsoid2d.m: Added check that orbitinc
	is inside [0,180].

2012-02-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-271

	* site-specific/kiruna/datasets_init.m:
	* datasets/datasets_config.m:
	Added work in progress

	* datasets/SatDataset.m: Added a descriptive property

	* collocations/CollocatedDataset.m: Fixed bug related to start and
	end granule index. Temporarily commented out the removing
	duplicates part.

	* collocations/FieldCopier.m: Fixed bug

2012-02-07  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-270

	* collocations/collocate_and_store_date_range.m, collocations/collocate_and_store_date.m: Now deprecated.

	* collocations/TODO: Expanded

	* collocations/CollocatedDataset.m:

	- 'associated' is a cell array of strings, because it can contain both
	FieldCopier and other AssociatedDataset derivates

	(collocate_and_store_date_range): Added, translated from functional
	
	(read_date): Moved to HomedateDataset and now independente of self.cols

	(read): Moved from collocation_read, but unfinished.

	(add_associated): Adapted because associated now cell-array

	* datasets/HomemadeDataset.m:

	(add_field): Removed. Unused.

	(read_single_day): Moved from CollocatedDataset and adapted

	* datasets/SatDataset.m:

	(read_granule): small implementation change

2012-02-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-269

	* retrieval/qpack2/qp2_rel2vmr.m: Rearranged. xa now used to
	determine the retrieval unit. Now also handling measurement response
	and covarainace matrices. Also handling that some species
	retrieved with VMR as unit.

2012-02-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-268

	* retrieval/qpack2/qp2_rel2vmr.m: Preperation for handling all
	variables. Header text updated. (Not yet complete!)

	* arts/arts_oem.m: Rescaling of J for rel-unit now done here.

	* arts/arts_oem_init.m: i_rel now stored in R (i_log not needed
	and removed).

	* retrieval/oem.m: Everything around i_rel and i_log removed. Now
	expected to be handled by *comfun*.

2012-02-06  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-267

	* sensors/cloudsat_read.m: Updated to use read_cloudsat_hdf in its
	core.

2012-02-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-266

	* geodetic/ellipsoid2d.m: Created.

	* geodetic/wgs84.m: Removed. Use ellipsoidmodels + ellipsoidradii.
	(New functions give higher flexibility and make clear what
	latitudes that are expected. In fact, wgs84 mixed expression for
	geocentruic and geodetic latitudes.)

	* geophysics/pt2z.m: Replaced usage of *wgs84* with
	*ellipsoidmodels*.

	* arts/qarts.m: Removed reference to WGS84 method as it will be
	removed.

	* geodetic/ellipsoidradii2.m: Old ellipsoidradii renamed. This
	function takes geodetic latitudes as input.

	* geodetic/ellipsoidradii.m: Created. Uses geocentric latitudes as
	input.

	* geodetic/ellipsoidmodels.m: Clarification in header about radius
	used for spherical Earth.

	* geodetic/radii2sphere.m: Removed (was just a test function).

2012-02-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-265

	* arts/scenegen/asg_use_v2.m: Created.

	* demos/asg_demo_new.m: Just started.

2012-02-01  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-264

	* collocations/FieldCopier.m(process_granule):

	- Dynamically assign dimensions for NetCDF, based on data. Store this
	along with the members-structure.

	* collocations/AssociatedDataset.m(members2cols):

	- Two bugfixes

	* collocations/Holl10Data.m(process_granule):

	- Added processing routine, also serves as example

	* collocations/CollocatedDataset.m: cleanup

	* datasets/list_datasets.m: Now deprecated

	* datasets/datasets.m: Small improvement:

	- Warning if re-assigning member to same object
	- Error is re-assigning member to other object

	* datasets/HomemadeDataset.m: Bugfixes

	(store): Bugfix

		- Bugfix, return struct with attrs, not cell array

	(cleanup): protected, not private, subclasses must access

	* datasets/SatDataset.m: Bugfix

	(SatDataset): Bugfix

		- Bugfix, do not register name twice

	* collocations/TODO: expanded


2012-02-01  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-263

	* datasets/SatDataset.m: improved

	- Register with global structure whenever dataset is created or
	name is (re)defined.

	* datasets/datasets.m: added

	- Contains persistent structure to keep track of datasets

	* datasets/find_info_from_granule.m: improved

	- Use new-style if possible, otherwise fall-back to old style

	* collocations/CollocatedDataset.m: bugfix

	(collocate_and_store_date):

	- Fix error identifier checking

	* time/iso_timestamp.m: Added

	- Return string with current ISO date-time.

2012-02-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-262

	* arts/qarts2cfile.m (cfile_Sensor): The replacement of 'mixer'
	and 'backend' in *parts* did not work (reported by Carlos).
	Changed, now with 'multimixer' put in position of 'mixer' (not at
	end). (Just recoding, no practical test made.)

2012-02-01  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-261

	* collocations/CollocatedDataset.m: Improved

	(collocate_and_store_date): small bugfix

	(overlap_granule): bugfix
		- Was not finding any if all granules were fine

2012-02-01  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-260

	* datasets/HomemadeDataset.m: Added

	- Forgot to commit this one. Contains stuff shared by
	CollocatedDataset and AssociatedDataset and so.

2012-01-31  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-259

	* collocations/FieldCopier.m:

	- clean up properties
	- remove explicit 'store' method, is implemented elsewhere

	(process_granule):

		- No need for cc1, cc2.
		- Try to automatically add dimensions. Unfinished, untested.

	* collocations/AssociatedDataset.m:

	- Also derive from HomemadeDataset
	- clean up properties
	- removed 'store', implemented elsewhere

	(AssociatedDataset):

		- implement differently allow for either static or dynamic constructor
		signature

	(members2cols):

		- Added, makes .cols-structure from .members-structure

	* collocations/write_collocations_netcdf.m,
	collocations/collocate_granule.m:

	- Adapt for changed error-ids

	* collocations/Holl10Data.m: Added

	- Started implementation of 'my own dataset'. Unfinished.

	* collocations/CollocatedDataset.m:

	- Also derive from HomemadeDataset
	- clean up properties

	(collocate_and_store_date):
	
		- Add global attributes for both core and associated

	(read_date): Bugfix

	(cleanup) (store): Moved elsewhere

	* datasets/SatDataset.m:

	- Add 'defaults'

	(SatDataset):

		- Implement 'defaults'

	(find_granule_by_datetime):
		
		- Changed errorid

	
2012-01-31  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-258

	* geoplots/gmt/getAnnotFormat.m: Fixed bug, so that it is more
	robust and can handle negative numbers

	* geoplots/gmt/append_tickannotations.m: Fixed bad regexp

	* geoplots/gmt/gmt_plot.m: Commented out warning that was annoying me

	* handy/combine_pdfs.m: slightly optimized

	* geoplots/gmt/psscale.m: Small edits

2012-01-30  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-257

	* collocations/FieldCopier.m:

	(process_granule): shut up m-lint

	(store): don't fail TOO early, be versatile with inputs for now

	* collocations/AssociatedDataset.m:

	(process_delayed): Bugfix

	* collocations/CollocatedDataset.m:

	(collocate_and_store_date): More verbose

	(cleanup): WAAAAA! YET ANOTHER CHANGED ERRID!!!!!

	* datasets/SatDataset.m:

	(find_datadir_by_date): Less crashy

	(find_granule_by_datetime): Bugfix

	(read_granule): More verbose

2012-01-30  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-256

	* handy/intersect_unsorted.m: Added
		- Like Matlab's intersect, but does not sort the result. Pretty
		much brute-force algorithm, slow, but okay for short cellstr.

	* datasets/common_read_cpr_2BCWCRO.m:
		- Convert all 1-D fields into column vectors. This is needed for
		later processing.

	* datasets/SatDataset.m:

	(find_granule_by_datetime):
		- make default tolerance 0.01 seconds, due to nasty rounding
		issues with unixsecs2datetime and datetime2unixsecs. Also pass
		seconds, for the same reason.

	* collocations/CollocatedDataset.m:

	(collocate_granule): tiny change
		- explicitly tell read_granule not to force it (e.g. should still
		throw an error if it fails)
	
	(collocate_and_store_date):
		- pass info on to process_delayed

	(process): bugfix
		- add correct granule starting times. Round this to prevent later
		rounding errors / precision-loss errors
	
	(read_date): added
		- read collocations for a day. Return those, possibly in exactly
		the same way as they would have been read in the first place.

	* collocations/AssociatedDataset.m:

	(process_delayed):
		- renamed from process_day
		- Divide collocated data in segments, pass each segment in turn to
		  .process(), reading data1/data2 in where needed, as indicated by
		  new abstract methods .needs_primary_data() and
		  .needs_secondary_data()

	(needs_primary_data) (needs_secondary_data): Added two abstract
	methods

	* collocations/FieldCopier.m:

	(process_granule):
		- Only access data-structures if needed, so that the method can be
		called from delayed-processing routines where not all data is
		actually read in.

	(needs_primary_data) (needs_secondary_data): Implement these methods (short)

	(store):
		- Method not implemented yet; make one-liner generating error
		message because it's an abstract method in the parent-class, and I
		want this class to be instantiable
	
	* datasets/common_read_collocation_cpr_mhs.m: Fixed typo

2012-01-30  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-255

	* files/loadncvar.m: small improvement

	- Make function work regardless as to whether passed cell-array is
	row-vector or column-vector.

2012-01-27  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-254

	* collocations/FieldCopier.m:

	- Minor changes

	* collocations/AssociatedDataset.m:

	- Small cleanup

	* collocations/write_collocations_netcdf.m:

	- Added depracating warning now that this is (partially) possible with
	the new method
	- Removed redundant comment-marker

	* collocations/collocate_and_store_date.m: tiny change

	- Added 'end' to function

	* collocations/CollocatedDataset.m:

	- Fixed type for scanline (int not short)
	
	(collocate_granule):
		- new output 'also' with any additional info to be passed on to
		  writing routine
	
	(collocate_date):
		- small changes

	(collocate_and_store_date):
		- collocate one day and store results

	(store):
		- write collocs to NetCDF

	(cleanup):
		- moved from one of the oldies

	* site-specific/kiruna/datasets_init.m:
		
	- Added some info on collocations_cpr_mhs

	* handy/logtext.m:

	- Added support for methods in classes (functionname is not filename)

	* datasets/SatDataset.m:

	- removed 'data' and 'version' properties

	* datasets/common_read_cpr_2BCWCRO.m: tiny change


2012-01-26  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-253

	* collocations/FieldCopier.m:

	- Class to be used when interested in copying fields from source
	granules (primary and secondary) to result dataset (one dataset).
	Writing to disk (NetCDF) is not implemented yet in the new system, but
	matrices are output correctly in CollocatedDataset.collocate_granule.
	For an example usage, see the top help text in FieldCopier.
	
	* collocations/AssociatedDataset.m:

	- Added 'dependencies' member to later determine in what order
	additional datasets should be processed, and for what additional
	datasets the output should be passed on to the next processor.

	* collocations/CollocatedDataset.m: 

	(collocate_granule):
		- Call correctly the additional processing functions

	* datasets/datasets_config.m:

	- Don't instantiate AssociatedDataset directly; should eventually make
	subclasses and instantiate those.

	* datasets/common_read_cpr_2BCWCRO.m:

	- Bugfix with row/column cell arrays.

	* datasets/SatDataset.m: move 'dependencies' to AssociatedDataset

2012-01-25  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-252

	* collocations/AssociatedDataset.m:

	- Is now an abstract class

	- Added abstract methods to be implemented by subclasses

	* collocations/CollocatedDataset.m:

	(collocate_granule):
		- Pass additionals to reading routines
		- Wrote more thoughts on additionals processing

	* datasets/SatDataset.m:

	(read_granule):
		- Prepare for 'additionals'

	* datasets/common_read_cpr_2BCWCRO.m:

	- Optionally add more fields to read

2012-01-24  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-251

	* collocations/collocate_date.m: deprecated, use OO way

	* collocations/CollocatedDataset.m:

	(CollocatedDataset): Create 'cols'-structure

	(collocate_granule):
		- Bugfix, collect data from all granules
		- Started work on additional datasets for processing

	(collocate_date): Added, mostly from collocate_date.m

	* sensors/cloudsat_read_zipped.m:

	- Added cleanup object
	- Use Salomons lower-level reading routine

	* datasets/SatDataset.m:

	- Have a 'satname' for single-satellite datasets

	(granule_first_line): Bugfixes, should have output, filenames new scheme

	* datasets/datasets_config.m:

	- Add satname for cpr

	* datasets/common_read_cpr_2BCWCRO.m:

	- Convert lat and lon to double

2012-01-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-250

	* sensors/read_cloudsat_hdf.m: make sure that the output fields
	are not a 1x1 cell array, strings values are now always row vectors.

2012-01-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-249

	* sensors/cloudsat_read.m (unitconv) Changed to correct name of
	function. vec2row was written as col2row.

2012-01-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-248

	* sensors/cloudsat_read.m (unitconv): Added a fix that should
	make the function OK independently if HDF returns strings as
	columns or rows. Row strings now enforced locally in sub-function.

	No time for testing. Please, report if any problems.

2012-01-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-247

	* sensors/cloudsat_read.m: Added note to help section that this
	function doesn't work from matlab 2011b ->, and suggest to use
	read_cloudsat_hdf.m instead, although this function returns the
	desired fields and there attributes as is, i.e. without scaling,
	converting etc.

	* sensors/read_cloudsat_hdf.m: Added alternative cloudsat reading
	routine.

2012-01-23  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-246

	* collocations/TODO: Add some items

	* collocations/CollocatedDataset.m: Bugfixes

	* datasets/SatDataset.m: Bugfixes

	* datasets/datasets_config.m: Add mhs/mhs

2012-01-20  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-245

	* collocations/CollocatedDataset.m:
	
	  (overlap_granule): Added, based on function
	  	- Works, but support for 'POES' shortcut dropped

	  (collocate_granule): Added, based on function
	  	- Not finished

	* datasets/SatDataset.m:

	  (find_datadir_by_date): Added, based on function
	  	- Works, but support for 'POES' shortcut dropped

	  (find_granules_by_date): Added, based on function
	  	- Works, but support for 'POES' shortcut dropped
	  
	  (find_granule_by_datetime): Added, based on function find_datafile_by_date

	  (read_granule): Added, based on function

	  (granule_first_line): Added, based on function

	* collocations/overlap_granule.m, collocations/collocate_granule.m,
	datasets/read_granule.m, datasets/find_datadir_by_date.m,
	datasets/find_granules_by_date.m, datasets/granule_first_line.m:
	
	  - Those are now Deprecated at expense of their OO brothers

	* collocations/write_collocations_netcdf.m: Fix buglet

	* site-specific/kiruna/datasets_init.m: regexp -> re

	* datasets/datasets_config.m: expand cpr example

2012-01-19  Gerrit Holl <gerrit.holl@ltu.se>

	* atmlab-1-0-244

	* collocations/AssociatedDataset.m: Add to "parent".

	* collocations/TODO: Expanded a bit.

	* datasets/SatDataset.m, datasets/datasets_config.m, collocations/CollocatedDataset.m: Work in progress.

2012-01-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-243

	* site-specific/kiruna/datasets_init.m: Fixed incorrect regexp

	* geoplots/gmt/gmt_plot.m: Fixed typo bug

	* geoplots/gmt/equidistant_contours.m: This is no longer used

2012-01-18  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-242

	* Started refactorisation of collocation codes.

		Aims:
		- More easily add collocation pairs
		- More easily specify fields of interest when collocating
		- Get/add additional data for existing collocations
		- Increase maintainability
		- Increase robustness w.r.t. duplicate scanlines

		Means (work in progress):
		- Redesign datasets configuration and implementation in an
		  object-oriented way
		- Split 'core' from additional data
		- More will follow

		So far, all is compatible, but for users of collocation or
		datasets codes, this will break some backward-compatibility!

	* datasets/SatDataset.m, collocations/AssociatedDataset.m,
	  collocations/CollocatedDataset.m:
		
		- Added, classes will replace datasets_* cruft and
		  find_granules_...  etc. functions, ultimately.

	* site-specific/kiruna/datasets_init.m, datasets/datasets_config.m:

		- Started adaptation to new system

		
2012-01-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-241

	* math/polycoeffit.m: New function.

	* math/polysinfit.m: Now check that x and y have same size. And
	now working as polyfit, also row vectors are handled. Possibility
	to specify fitting weights added.

2012-01-03 	Bengt Rydberg 	<bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-240

	* geodetic/circle_plane_intersect.m: fixed a problem

2011-12-30 	Bengt Rydberg 	<bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-239

	* geodetic/geocentric2geodetic.m: fixed a typo

2011-12-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-238

	* physics/constants.m: Forgot the promised output structure

2011-12-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-237

	* physics/constants.m: Made some fundamental changes, but kept it
	'nearly' backwards compatible. 'nearly' since I changed the values
	of quite a few constants, as they were unreferenced and I found
	other values, changed the values in the function, and included my
	reference.

	One major difference is that if you can call the
	function without inputs and a structure with all the constants and
	their unit are returned. Now, if you have 2 output arguments, the
	value and its unit is returned.

2011-12-15  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-236

	* geoplots/gmt/pstext.m: Added function that enables added text to
	your map centered at the input lat/lon

	* geoplots/gmt/cpt_from_colorrange.m: Fixed bug is in color table
	if you press it to the limit

	* geoplots/gmt/create_gmt_earth.m: Adapted for pstext inclusion

	* geoplots/gmt/gmt_inputs.m: forgot in.locations

	* geoplots/gmt/test_gmt.m: Added little test using pstext

	* geoplots/gmt/gmt_plot.m: Added help text for pstext. Fixed bug
	that was never triggered in gmt_inputs



2011-12-14  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-235

	* geoplots/gmt/test_gmt.m: Added fancy strings in test title

	* math/land_sea_mask.m: Made compatible with older matlabs (~)

	* geographical/resample_geodata.m: Fixed interpolating crashing if
	data are logicals

	* math/sphdist.m: Added output unit to help

	* geoplots/gmt/gmt_plot.m:
	- Fixed an error in determining the
	region size in certain cases.
	- fixed error in help section
	- listed number of default color levels with the other defaults


2011-12-13  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-234

	* handy/combine_pdfs.m: Convert outdir to fullpath.

2011-12-09  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-233

	* math/land_sea_mask.m: Improve documentation

2011-12-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-232

	* physics/constants.m:
	Changed functionality a bit, although totally backwards
	compatible.
	1) if nargin == 2, the unit is also provided.
	2) if nargin == 0, the list of available constants, their value
	and unit are shown.

	* math/sphdist.m: Added h1 line, author (Patrick), and date to header

2011-11-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-231

	* geoplots/gmt/getAnnotFormat.m: Added function to
	automatically pick the 'best' format string depending on the size
	of the value in question

	* geoplots/gmt/create_gmt_earth.m: Fixed bug if your in.tickval
	values don't fit in %.3f. Now use getAnnotFormat to get the right format

	* geoplots/gmt/reference_maps: Deleted, since I reckon they're not
	needed.

	* geoplots/gmt/xtra_nan_legend.m: Stopped frivolously appending the
	temporary direct to the file paths

	* geoplots/gmt/gmt_plot.m: Stopped frivolously appending the
	temporary direct to the file paths

	* geoplots/gmt/makecpt.m: Now use getAnnotFormat instead. Stopped
	frivolously appending the temporary direct to the file path

	* geoplots/gmt/cpt_from_colorrange.m: Added two assertions to
	catch bad input, of which just cost me some time to debug and
	find. Don't want to do that again

	* geoplots/gmt/makepolar.m: Stopped frivolously appending the
	temporary direct to the file paths

2011-11-23  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-230

	* math/binning_fast: Fixed bug if newgrid is not monotonous.

	* time/dayofyear_inverse.m: cosmetics

	* handy/catstruct.m: cosmetics

	* physics/planck_wlength.m: fixed incorrect function name

2011-11-23  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-229

	* geodetic/line_plane_intersect.m: added. returns intersection points 
	of a line and a plane
	
	* geodetic/circle_plane_intersect.m: added. returns intersection points 
	of a circle and a plane
	
	* geodetic/circle_sphere_intersect.m: added. returns intersection points 
	of a circle and a sphere

2011-11-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-228

	* geographical/resample_geodata.m:

	Fixed bug in area weighting

2011-11-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-227

	* files/loadncfile.m:

	Add check if the user's matlab version supports netcdf groups.

2011-11-15  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-226

	* geodetic/line_sphere_intersect.m: added. returns intersection points 
	of a line and a sphere (or circle)
	
	* geodetic/circle_intersect.m: added. returns intersection points of   two 	  circles in two dimensions
	

2011-11-15  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-225

	* geodetic/radii2sphere.m: Modified.

2011-11-15  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-224

	* geodetic/radii2sphere.m: Modified.

	* geodetic/geocentric2cart.m: modified header.

2011-11-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-223

	* geodetic/radii2sphere.m: Still just tests. 

2011-11-15  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-222

	* geodetic/cartposlos2geocentric.m: Converts cartesian POS/LOS to 		spherical coordinates.  

2011-11-15  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-221

	* geodetic/Contents.m: added local line of sight definitions

	* geodetic/cart2geocentric.m: now using only atmlab functions

	* geodetic/geocentric2cart.m: now using only atmlab functions 

	* geodetic/geocentricposlos2cart.m: now using only atmlab functions 

	* geodetic/cart2geodetic.m: now using only atmlab functions
 
	* geodetic/geocentric2geodetic.m: now using only atmlab functions

	* geodetic/geocentric2geodetic.m: now using only atmlab functions

	* geodetic/geodetic2cart.m: now using only atmlab functions 

2011-11-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-220

	* geodetic/ellipsoidradii.m: Created.

	* geodetic/ellipsoidmodels.m: Created.

	* geodetic/geodetic2cart.m: Now using ellipsoidmodels.

	* atmlab/atmlab_init.m (atmlab_init): Added geodetic folder.

	* geodetic/radii2sphere.m (radii2sphere): Started. So far just a test.

2011-11-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-219

	* geodetic: New folder.

	* geodetic/Contents.m: Short description of folder content.

	* geodetic: Moved wgs84.m, cart2*, geocentric* and geodetic2*
	functions to this folder.

2011-11-08  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-218

	* (forgot version number)

2011-11-08  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* tests/make_check.m: Wrong name of function in error message for
	qarts_scatting_demo.
	Changed target values for test with MC. (Don't understand the old
	values. Too high deviation from DOIT. And far too high Q
	considering that spherical particles used. For safety, made a test
	also with arts-2.0.0.)

2011-11-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-217

	* handy/freeRAM.m: Added function that checks how much RAM your
	computer has available [MB].

	* geoplots/gmt/create_gmt_earth.m: Implemented newly added freeRAM function

	* geoplots/gmt/gmt_plot.m: Changed subfunction name 'cleanup' to 'gmt_cleanup'

	* site-specific/kiruna/datasets_init.m: Had to adapt this for MSPPS

	* files/loadncfile.m: Added ugly work around so this function
	still works for the student version (2009a)

	* files/getfiles_matching_regexp.m: Replaces '~' with $HOME in path

2011-11-01  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-216

	* geoplots/gmt/gmt_plot.m: Fixed help section a bit, but most
	significantly, no it also checks all the inputs (that a options
	to gmt_plot)

	* geoplots/gmt/gmt_inputs.m:
	Added function containing all the GMT inputs and their
	corresponding test functions.

	* geoplots/gmt/psscale.m:
	Changed input type for legend.shift_tick_annotations

	* geoplots/gmt/test_gmt.m:
	fixed small bug

2011-10-31  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-215

	* geophysics/geodetic2geocentric.m: modified
        fixed small bug.
	
2011-10-31  Bengt Rydberg  <bengt.rydberg@alumni.chalmers.se>

	* atmlab-1-0-214

	* geophysics/cart2geocentric.m: added
	converts from cartesian to geocentric coordinate systems

	* geophysics/geocentric2cart.m: added
	converts from geocentric to cartesian coordinate systems

	* geophysics/geodetic2geocentric.m: added
	converts from geodetic to geocentric coordinate systems

	* geophysics/geocentric2geodetic.m: added
	converts from geocentric to geodetic coordinate systems

	* geophysics/geocentricposlos2cart.m: added
	converts a geocentric position and line of sight 
	into cartesian coordinate systems

	* geophysics/cart2geodetic.m: modified
        most important changed y and z dimensions
	
	* geophysics/geodetic2cart.m: modified
        most important changed y and z dimensions
	
2011-10-29  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-213

	* geographical/getPredefinedRegions.m: 
	Fixed region

2011-10-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-212

	* geographical/test_generate_data_sin_cos.m:
 	generates data gridded and ungridded in a sin cos pattern.

	* geographical/resample_geodata.m: Allow the user to specify other
	interpolation methods if they don't want to use 'linear'. But this
	will only be used if you are going from a coarse grid to a fine
	grid.

	* geoplots/gmt/test_gmt.m: Changed to use new test_data function

2011-10-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-211

	* geoplots/gmt/gmt_plot.m: Added to help section how to use
	special characters in the title, unit etc. Also stopped
	unnecessarily masking a bunch of characters for the title.

	* geoplots/gmt/makepolar.m: Fixed errId's

2011-10-17  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-210

	* geoplots/gmt/makepolar.m: Fixed small bug.

2011-10-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-209

	* demos/qpack2_demo.m (y_demo): Added an alernative definition of
	Y.TNOISE, then set to a vector.

	* retrieval/qpack2/qpack2.m (qp2_y2Q): The code for non-scalar
	TNOISE used a removed variable. Fixed a problem reported by our
	new ARTS friends Fredy and David.

	* arts/qarts.m: Added comment in ABS_LINES regarding cases with no
	lines.

2011-10-10  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-208

	* gridcreation/annealing/find_best_freq_set_anneal.m: Rollback
	  
	  Commiting this change was in error, rolling back.

2011-10-10  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-207

	* datasets/granule_blacklisted.m: Added

	- Check whether a particular granule is blacklisted, e.g. due to
	  geolocation issues.
	  Will be used.
	
	* site-specific/kiruna/datasets_init.m, datasets/datasets_config.m:

	- Add field for location of file containing blacklisted granules for
	  pair of satellite/sensor (satellite/dataset)

2011-09-30  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-206

	* geographical/geo_single_localtime.m:
	Added assertion to make sure that utcvec has enough values for a
	specified interpolation method.

	* geoplots/gmt/create_gmt_earth.m: small edit

2011-09-30  Carlos Jimenez  <carlos.jimenez@obspm.fr>

	* atmlab-1-0-205

	* /obspm/datasets_init.m: Adding a folder and corresponding file
	with our (LERMA, Paris Observatory) specific paths. So far
	configured only to start using the collocations mscripts. We take the
	opportunity here to congratulate developer Gerrit Holl for coding
	such a nice and usefull piece of work.

2011-09-30  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-204

	* handy/exec_system_cmd.m: Added an extra output variable the
	returns the return value from the system command, if you set a 3rd
	input argument to true
	(continueOnError). In essence it lets the function keep going even
	if the system command fails. This does not break backward
	compatibility.

	* geographical/standardize_geodata.m:
	Fixed hilariously bad assertion

2011-09-30  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-203

	* geographical/geo_single_localtime.m:
	Fixed the cyclic interpolation.

2011-09-28  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-202

	* datasets/find_datafile_by_unixtime.m: Added

	- Converts unixtime to seconds, rounding seconds to the nearest minute
	  if rounding errors occur in the process. Then finds datafile.

2011-09-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-201

	* geographical/standardize_geodata.m: Replaced
	homogenize_datalatlon with this function. This function is more or
	less the same as the previous, but comments from the programming
	meeting were incorporated including a function name change. The
	functions listed below were only changed due to adapt to the new
	function name.

	* geographical/regionize.m:
	* geographical/resample_geodata.m:
	* geoplots/gmt/gmt_plot.m:
	* geoplots/gmt/test_gmt.m:
	* geographical/resample_geodata.m:
	* geographical/geo_single_localtime.m:

	* geoplots/gmt/create_gmt_earth.m: fprintf to display the
	resolution of the data (if verbose)

2011-09-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-200

	* geoplots/gmt/test_gmt.m: Even nicer still.

2011-09-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-199

	* geoplots/gmt/test_gmt.m:
	Nicer programming to generate strings for info cell.

	* site-specific/kiruna/datasets_init.m: Fixed 2 erroneous entries

2011-09-21  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-198

	* geographical/homogenize_datalatlon.m (homogenize_datalatlon):
	Made a little nicer before programming meeting (without changing
	any behaviour)

	* geographical/geo_single_localtime.m: Puny edit

2011-09-21  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-197

	* geoplots/gmt/gmt_plot.m:
	1) Fixed lame test to see if the data is centered.
	2) Updated the help section to only say that the data
	should preferably be centered for speed (otherwise
	resample_geodata will be called upon)

2011-09-20  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-196

	* geographical/resample_geodata.m:
	1) reference out structure to in structure so also unused fields
	pass through the function.
	2) no longer use == to check if the resolution of the new and old
	grid id the same (use eps = 1e-5).

	* geoplots/gmt/gmt_plot.m (gmt_plot):
	1) Decided to silently allow the input data to be on a grid
	defined by its edges. I now internally call resample_geodata to
	shift such a grid to a centered grid. This is OK since no data leaves
	gmt_plot anyway.
	2) Implemented a nicer way of automatically defining the region
	using suitable formatstrings.
	3) Made a subfunction for this, since it was already doing this
	when deciding how to annotate the legend (how many decimals etc.)

	* geoplots/gmt/test_gmt.m: cosmetics

2011-09-20  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-195

	* geoplots/gmt/test_gmt.m: Cosmetics


2011-09-20  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-194

	* geoplots/gmt/test_gmt.m:
	1) Fixed so the user can input in.cols for the combine_pdfs call
	2) Added 2 more ungridded tests
	3) demonstrated in.legend.tick_spacing to test 3, and made the
	legend nicer

	* geoplots/gmt/gmt_plot.m:
	1) changed input name in.nearneighbor.increment to
	in.nearneighbor.resolution
	2) Use logtext instead of fprintf.

	* geoplots/gmt/makecpt.m:
	Adapted to new conditions

	* geoplots/gmt/create_gmt_earth.m:
	1) fixed nearneighbor bug
	2) smarter automatic resolutions. Max automatic global resolution is
	1 minute (1/60 deg).
	3) use logtext instead of fprintf

2011-09-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-193

	* geoplots/gmt/test_gmt.m: More desirable behaviour.

	* geoplots/gmt/gmt_plot.m: Added option: plotPlacement to indicate
	the X and Y position of the plot. default is '-Xa5 -Ya5'

	* geoplots/gmt/pspoly.m:
	* geoplots/gmt/grdcontour.m:
	* geoplots/gmt/psscale.m:
	* geoplots/gmt/psbox.m:
	* geoplots/gmt/create_gmt_earth.m:
	* geoplots/gmt/pslocations.m:
	* geoplots/gmt/pscoast.m:
	* geoplots/gmt/grdimage.m:
	Fixed bug in the placement of the plot, which was unveiled by new GMT version

2011-09-16  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-192

	* geoplots/gmt/create_gmt_earth.m:

	Add memcheck for mac. Change order of tests: First check 'ismac', then
	'isunix'. Because both are true on mac.

2011-09-14  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-191

	* collocations/TODO: add one item

2011-09-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-190

	* geophysics/pt2z.m: Format string was incorrect.

	* arts/qarts.m: Fixed a spelling mistake.

2011-09-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-189

	* geoplots/gmt/create_gmt_earth.m: 
	1) Sets a maximum resolution if the automatic resolution is too
	high compared to the available RAM.
	2) Throws an assertion that tells the user that this is an
	internal function to gmt_plot, if it is called without arguments.

2011-09-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-188

	* geographical/data2rectgrid.m: Fixed bug

2011-09-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-187

	* geoplots/gmt/makecpt.m: Fixed bug for format string if min and
	max values are far from each other.

	* math/binned_statistics.m: Added optional 4th argument to be insert into
	empty cell elements if you want. Default is unchanged

	* math/binning_fast.m: Fixed bug if in.region does not encompass
	all data points.

2011-09-09  Marston Johnston  <marston@chalmers.se>

	* atmlab-1-0-186
	
	* h2o/thermodynamics/e_eq_water_gg.m: Changed the equation formulations
	  to make them a little more clear.	
	
	* h2o/thermodynamics/e_eq_ice_gg.m: Same as above.
	

2011-08-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-185

	* arts/arts_y2Y.m: Removed

	* arts/arts_Y2y.m: Removed.

	* arts/arts_y2tensor.m:
	* arts/arts_tensor2y.m: New name of functions above. Had to change
	as Mac OS is not case sensetive! (Pointed out by Oliver)

2011-08-29  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-184

	* geographical/resample_geodata.m: Bad assertion fixed

2011-08-29  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-183

	* geographical/resample_geodata.m: Fixed some assertions and
	clarified the help section further.

2011-08-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-182

	* arts/arts_y2Y.m: Created.

	* arts/arts_Y2y.m: Created.

2011-08-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-181

	* arts/qarts2cfile.m (cfile_Generl): Y_UNIT is now set here. Some
	methods called before yCalc also require this variable.

	* arts/qartsSensor.m (qartsSensor): Added field SENSOR_POL.

	* arts/qarts2cfile.m (cfile_Sensor): Added handling of SENSOR_POL.

2011-08-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-180

	* arts/qarts2cfile.m (cfile_Jacobi): Changed iybinterp to interp
	(following change in arts).

2011-08-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-179

	* math/binning_fast.m: Fixed an assertion and allowed a little
	more flexibility with the in data.

2011-08-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-178

	* retrieval/qpack2/qp2_l2.m (qp2_l2): Added "atmfield = true;" for
	temperature (pointed out by Oliver S).

2011-08-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-177

	* retrieval/qpack2/qp2_l2.m: Corrected 'rqre_datatype(out,...)'.
	Incorrect variable (vname) was used in some places.

2011-08-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-176

	* retrieval/qpack2/qpack2.tex: Removed EXTRAP.

	* retrieval/qpack2/qpack2.m: Removed old stuff in header and not
	used code for CalcTable.

2011-08-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-175

	* files/create_tmpfolder.m: replace '~/' with [getenv('HOME'),'/']

2011-08-10  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-174

	* files/create_tmpfolder.m:

	Throw an error if WORK_AREA is not an absolute path.

2011-08-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-173

	* geoplots/gmt/nearneighbor.m:

	Use -N1/1 instead of just -N1. Works around a bug in gmt 4.5.6 but
	it's good to set it explicitly anyway.

2011-08-03  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-172

	* geoplots/coastlines.m: Added comment about mysterious topo file
	that is loaded.

	* geoplots/gmt/makepolar.m: Fixed bug in back/foreground colors
	(and nan_color)

	* atmlab/atmlab_init.m: Added new directory

	* geographical:
	Created a new directory 'geographical' that is not related to
	plotting, and moved such functions out of geoplots/

2011-08-01  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-171

	* collocations/colloc_process_cpr_avhrr.m,
	  collocations/colloc_process_data_cpr_avhrr.m: Bugfix
	  - Adapted to fields renamed a while ago

2011-08-01  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-170

	* files/loadncfile2.m:

	Started reimplementing the loadncfile function using the new
	high-level NetCDF API in Matlab 2011a because netcdf.open and friends
	don't work with NetCDF version 3 files anymore.

2011-07-29  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-169

	* collocations/colloc_concatenate_colloc_data_mean.m: Reduction
	  - Commented out a test that was failing, not sure why I need this
	  test really.
	
	* collocations/collocate_granule.m: Bugfix
	  - Don't fail on invalid data in primary.
	
	* sensors/find_scanline_overlaps.m: Improved
	  - Use existing data, don't recalculate all.

2011-07-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-168

	* geoplots/full_pressure_levels.m: Included Marston's function for
	making a pressure matrix (lvls,lat,lon) based on a suface pressure
	matrix (2D), number of levels, and conversion coefficient vectors
	A & B used for creating the matrix P = A + B*surfacePressure

	* geoplots/modlev2presslev.m: Included Marston's function for
	converting model levels to some desired pressure levels. For this
	you have data on model levels and a pressure matrix of the same
	size. The pressure matrix can be made using full_pressure_levels.m

	* geoplots/gmt/gmt_plot.m: Fixed bug in determined if
	the data is centered or not.

2011-07-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-167

	* geoplots/gmt/gmt_plot.m: Added an assert if your data is gridded
	but not centered.

	* geoplots/resample_geodata.m: Added an assert if your input data
	is not centered AND you use a scalar value to set the
	newgrid. Note: You can still make un-centered data centered by
	setting the new grid to vectors. e.g. if in.lat = -90:90 and you
	want a 1deg centered grid, newgrid = {[-90+.5:90-.5],[lons]}

	* geoplots/getPredefinedRegions.m: Added extra regions for
	Marston's article.

2011-07-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-166

	* demos/qarts_scattering_demo.m: Adopted to arts-1.17.3.

2011-07-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-166

	* Work to sync qarts with arts-1-17-2.

	* arts/qarts2cfile.m (cfile_SctMth): 

	* arts/arts_y.m (arts_y): Removed usage of IY_AUX_DO.

	* arts/qarts.m (qarts): Removed IY_AUX_DO.

	* arts/qarts2cfile.m: Removed handling of IY_AUX_DO. Replaced some
	DoNothing with Ignore.

2011-07-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-165

	* Two changes that can affect your files:

	1. interpd.m and regrid removed (as planned and warned). 

	2. The atmlab setting EXTRAP is removed. If set, you need to
	remove it from atmlab_conf. This setting was mainly implemented
	through pointinterp.m and gridinterp.m. These functions now has
	*extrap* as an optional argument. All interpolation inside qarts
	and gformat is made with extrap set to true. That is, if you are
	not using pointinterp or gridinterp directly, you don't need to
	set anything.
	
	* arts/qarts_vmr_field.m: Changes of different kind to match
	* covmat/covmat1d_from_cfun.m: the changes below regarding EXTRAP.
	* geophysics/p2z_cira86.m: 
	* geophysics/z2p_cira86.m: 
	* gformat/gf_regrid.m: 
	* gformat/Contents.m: 
	* demos/qarts_demo2.m: 
	* demos/asg_demo2.m: 
	* demos/asg_demo.m: 
	* arts/arts_regrid.m: 
	* arts/scenegen/amsu/asg_amsu.m: 

	* math/pointinterp.m (pointinterp): extrap is now function input.

	* math/gridinterp.m (gridinterp): extrap is now function input.

	* math/interpd.m: Removed (see ChangeLog message for 1-0-91).

	* math/regrid.m: As above.

	* atmlab/atmlab.m: EXTRAP removed as setting.

	* arts/arts_oem_init.m: For consistency with other R-fields,
	changed R.SENSOR_RESPONSE to R.sensor_response.

	* arts/arts_x2QR.m: As above.
	
2011-07-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-164

	* arts/qarts.m (qarts): Added WIND_U/V/W_FIELD.

	* arts/qarts2cfile.m: Now handling wind_u/v/w_field and 
	basics/cloudbox_checked.
	
	* demos: Updated scripts using arts to changes related to winds and
	basics/cloudbox_checked.

2011-06-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-163

	* retrieval/qpack2/qp2_rel2vmr.m: Mapping of errors for logrel was
	incorrect. Multiplicated with vmr0 instead of retrieved vmr.
	Pointed out by Ole-Martin.

2011-06-22  Ole Martin Christensen  <olem@chalmers.se>

	* atmlab-1-0-162
	
	* retrieval/qpack2/qpack2.tex: qp2_rel2logrel changed to
	qp2_rel2vmr (reported by René).

	* retrieval/qpack2/qpack2.pdf: Updated.

2011-06-21  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-162

	* retrieval/qpack2/qpack2.tex: Two T.ATMDATA were T_ATMDATA
	(reported by René).

	* retrieval/qpack2/qpack2.pdf: Updated.
	
2011-06-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-161

	* retrieval/qpack2/qpack2.pdf: Updated, with latest change in tex
	file.

2011-06-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-160

	* demos/qpack2_demo.m: A priori uncertianty now defined for several
	units and assumptions. Can be tested by changing a switch
	statement, but, please, make this in a copy outside atmlab (to avoid
	commiting with the switch statement changed).

	* retrieval/qpack2/qp2_rel2vmr.m: Averaging kernels were not
	converted, for same reason as bug fixed in 1-0-154. Fixed.
	Thanks to Ole-Martin that reminded me about this function.

	* retrieval/qpack2/qpack2.tex: Description of Y.F corrected. 

	* retrieval/qpack2/qp2_l2.m: Setting of Y.F did not work in case
	of SENSOR_DO==0. Bug reported by René. Fixed. 

2011-06-16  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-159

	* geoplots/gmt/test_gmt.m:

	Change tick annotation format to %.1f because %.1lf doesn't work.

2011-06-16  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-158

	* handy/exec_system_cmd.m: Changed behaviour, code may break!
	  - CHANGE IN BEHAVIOUR: Default behaviour is now non-verbose rather
	    than verbose!
	  - CHANGE IN BEHAVIOUR: Outputs only the command outputs. Previously,
	    had a second output that was always equal to 0.
	  - Improved documentation.

2011-06-16  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-157
	
	* collocations/collocation_read.m: Adapted
	  - Now that I use exec_system_cmd instead of gunzip for gunzipping,
	    also adapt the appropiate error identifier
	
	* collocations/read_collocs_data_mean.m,
	  datasets/common_read_collocation_cpr_mhs.m,
	  datasets/common_read_avhrr.m, datasets/common_read_hirscs.m: Adapted
	  - Use exec_system_cmd
	
	* handy/exec_system_cmd.m: Adapted
	  - WARNING: CHANGED ERROR IDENTIFIER!
	    amtlab:exec_system_cmd:shell -> atmlab:exec_system_cmd:shell

2011-06-16  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-156

	* geoplots/gmt/makecpt.m:
	* geoplots/gmt/gmt_plot.m: 
	Fixed annotation format

2011-06-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-155

	* demos/arts_oem_demo.m: Soem test code had not been removed.

2011-06-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-154

	* retrieval/oem.m: Averaging kernal matrix was incorrect if
	O.sxnorm == true. However, could be correct for some conditions
	(my old test falled into this category). Bug found after
	input from Ole-Martin. The proper scaling is now made. 

	* demos/arts_oem_demo.m: Added code for tests with varying a priori
	uncertainty. Activated by changing an if-statement.

2011-06-16  Gerrit Holl  <gerrit.holl@ltu.se>
	
	* atmlab-1-0-153

	* collocations/collocation_read.m: Adapted
	  - Only filter doubles if a filter is defined, don't crash otherwise
	  - Adapt for error identifiers changed in #6777
	
	* collocations/colloc_constants.m: Bugfix
	  - no_hirs_hirs -> no_amsua_amsua
	
	* datasets/common_read_poes_radiometer.m: Adapted
	  - Check that time-axis is not empty. Throw error if it is.
	
	* datasets/datasets_config.m: Adapted
	  - Adapt for error identifiers changed in #6777
	
	* datasets/find_datadir_by_date.m: Adapted
	  - Adapt for error identifiers changed in #6777

2011-06-14  Gerrit Holl  <gerrit.holl@ltu.se>

	* atmlab-1-0-152

	* collocations/colloc_process_x_to_x.m,
	  collocations/colloc_process_data_x_to_x.m: Added
	  - Moved common part for processing collocations between two
	    identical sensors.

	* collocations/colloc_process_poes_poes.m,
	  collocations/colloc_process_data_poes_poes.m: Deleted
	  - This is now done via fanciness in colloc_constants.
	
	* collocations/colloc_constants.m: Adapted
	  - Used a subfunction with a nested function to do partial function
	    application, so colloc_process_x_to_x and ..._data_x_to_x are used
		for all where sensor pairs are identical.
	  - Moved common stuff to "generic" definitions
	  - Changed the following field names (for consistency):
	  	CPR/AVHRR:
			SZA -> AVHRR_SZA
			H_I -> HCS_I
			H_ZEN -> H_SZA
			C_ROW -> C_I
		HIRSCS/MHS:
			H_LINE -> H_I
			H_POSI -> H_C
			SZA -> MHS_SZA
			SAA -> MHS_SAA
		CPRPOES/AVHRR:
			SZA -> AVHRR_SZA

	* tests/verify_colloc_constants.m: Added
	  - Test whether colloc_constants is somewhat consistent.
	
	* collocations/collocate.m: Adapted
	  - lat and lon are no longer automatically flattened by binning_fast,
	  so I need to do this explicitly.
	
	* sensors/find_scanline_overlaps.m: Added
	  - Finds first line in granule N not occuring in granule N-1.
	
	* datasets/datasets_config.m: Expanded
	  - Added collocations amsu/amsu and hirs/hirs
	
	* site-specific/kiruna/datasets_init.m: Expanded
	  - Added default Kiruna locations for collocations amsu/amsu and
	  hirs/hirs.
	
	* datasets/find_datadir_by_date.m: Minor change
	  - Corrected error message; basedir may be correctly defined, but the
	  directory not created.
	
	* collocations/collocate_and_store_date.m: Minor change
	  - Make error message more useful.

2011-06-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

        * atmlab-1-0-151

	* arts/xml/xmlWritePpath.m (xmlWritePpath): Adopted to recent
	changes of the Ppath structure.

	* arts/xml/xmlReadPpath.m (xmlReadPpath): Adopted to recent
	changes of the Ppath structure.

2011-06-10  Marston Johnston  <marston@plushstone.rss.chalmers.se>

        * atmlab-1-0-150

	* geoplots/getPredefinedRegions.m (getPredefinedRegions):

	Improved the names of regions ('north_trop','south_trop') to
	appropriate 'boreal_trop', 'austral_trop'

2011-06-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-149

	* geoplots/getPredefinedRegions.m:

	Changed names of recently introduced regions ('nh','sh') to more
	appropriate 'trop_north', 'trop_south'

2011-06-09  Marston Johnston  <marstonjohnston@Marston-Johnstons-MacBook.local>

	* atmlab-1-0-148

	* geoplots/getPredefinedRegions.m:

	Added new regions: NH, SH

2011-06-09  Marston Johnston <marston@chalmers.se>

	* atmlab-1-0-147

	* geoplots/regionize.m:

	Fixed some grammar errors

2011-06-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-146

	* retrieval/qpack2/qp2_rel2vmr.m: Added a few comments.


2011-06-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-145

	* geoplots/regionize.m:

	Decided on a change of behavior. Ready to be announced

2011-06-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-144

	* geoplots/regionize.m: Now fixed properly....


2011-06-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-143

	* geoplots/regionize.m:
	Fixed bug with edges and repmat of longitudes.

2011-06-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-142

	* geoplots/regionize.m:

	Added useful function that singles out user-defined lat/lon
	regions in data. The function will replace grid boxes that are
	outside the given region or regions with NaNs for easy statistical
	applications. A weighting matrix is output along with the output
	data so that grid boxes that are only partially in the specified
	region can be weighted accordingly. E.g. for a grid box(i,j) that
	is completely in the specified region, weights(i,j) = 1, and a
	grid box(i,j) that is partially in, 0 < weights(i,j) < 1

	* geoplots/getPredefinedRegions.m:

	This function is more or less a list of predefined
	regions. Expected Input is a cell of strings or a string. Each
	string is either the 'short name' of one of the predefined
	regions, or is a user defined region ('lon1/lon2/lat1/lat2'). The
	output is a matrix of [bottom left corner, top right corner]
	(e.g. [lat1,lon1,lat2,lon2;...] ).

	The list of shortnames of the regions will be listed if you call:
	list = fieldnames(getPredefinedRegions)';

	The attributes of all the predefined regions is:
	attr = getPredefinedRegions;


2011-06-09  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-141

	* geoplots/gmt/gmt_plot.m:

	Change rules a bit. If no second argument 'field' is given, and
	the in their is no data field called 'data' in the structure,
	continue the function with in.nodata = true (i.e. can still
	draw coastlines, etc)

	* geoplots/gmt/create_gmt_earth.m:

	A better way of determining the search radius if nearneighbor is
	used.

	* geoplots/resample_geodata.m:

	Fixed output variable name that got screwed in the last commit of
	the function.

2011-06-09  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-140

	* geoplots/gmt/gmt_plot.m (getdatarange):

	Convert min/max to double otherwise log10 will fail if data is int.

2011-06-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-139

	* geoplots/resample_geodata.m:

	Complete overhaul after improvement suggestions from the programming meeting.
	- Now handles data sets with unlimited dimensions.
	- newgrid can either be a scalar, vector of 2 values for lat or
	lon, or they can be latitude and longitude vectors to map to.
	- Function determines from the resolutions of the input grid and
	the desired output grid which method to use.

	* geoplots/gmt/gmt_plot.m: 

	Better error message

2011-05-31  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-138

	* geoplots/geo_single_localtime.m: Shortened at tad using modulo

2011-05-30  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-137

	* sensors/ssmt2_read.m:

	Check dsname in header to verify that the file is an SSM/T-2 file.

	Create cleanupObj2 only after verifying that fid is valid.

	Throw an error if the number of records read doesn't match the record
	number in the file header.

	Change apply_calibration to bool.

	Update docs.

2011-05-27  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-136

	* files/read_openmtp_uth.m: Add reading routine for Open MTP UTH data.

2011-05-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-135

	* geoplots/gmt/test_gmt.m:
	Fixed data so that lat/lons describe the center of a gridbox as
	gmt_plot requires.

	* geoplots/gmt/gmt_plot.m:
	Better description of in.ticks.
	Fixed bug in determining automatic region.

	* geoplots/geo_single_localtime.m:
	Fixed bug permuting the final output

	* geoplots/gmt/gmt_plot.m:
	* geoplots/gmt/grdimage.m:
	* geoplots/gmt/create_gmt_earth.m:
 	Make sure all tmp files end up in the tmp directory.

2011-05-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-134

	* geoplots/gmt/test_gmt.m: Fixed newly introduced bug

2011-05-26  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-133
	
	* handy/combine_pdfs.m: Add -f option to mv.

2011-05-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-132
	
	* retrieval/qpack2/qp2_l2.m: Added handling of 'ex', that now can
	be obtained through L2_EXTRA.

	* retrieval/oem.m (oem): Added 'ex' as possible output. This is
	the standard deviation of the a priori uncertainty.

2011-05-23  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-131

	* math/binning_fast.m: Substantial update of binning_fast.

	- It now handles multi dim data, but size(data,1) = length(lat) and
	length(data).

	- input in.gridsize may now be a scalar (as before), a 2 element
	vector(Latgridsize,Longridsize), or full lat lon vectors {[lat],[lon]}.

	* math/binned_statistics.m: Added 'UniformOutput', false so that
	it also works for matrixes in cells.

	* math/taylor_diagram.m: Cleaned up a bit

2011-05-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-130

	* retrieval/qpack2/qpack2.tex: Fixed several spelling mistakes.

2011-05-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-129

	* Important for Qpack users. L2 output for ABS_SPECIES now follows
	the selected unit strictly. More information in qpack2.pdf and
	email to qpack mailing list.

	* retrieval/qpack2/qpack2.tex: Modified to reflect changes below.
	The information for L2 'ptz' was old.

	* retrieval/qpack2/qp2_rel2vmr.m: Created.

	* arts/arts_regrid.m (extract_grids): Introduced qname, to improve
	error message.

	* arts/qarts.m (qarts): Added L2_RANGE as sub-field to ABS_SPECIES
	and T.

	* retrieval/qpack2/qp2_l2.m (qp2_l2): For absorption species, the
	conversion to VMR for 'rel' and 'logrel' is removed. That is, the
	output follwos now throughout the retrieval unit. This is also the
	case for errors estimates. 
	Added handling of L2_RANGE (and this part of the function revised).

	* arts/arts_x2QR.m (arts_x2QR): "Extrapolation" was done for VMR
	independently of retrieval unit selected. This follows now the
	retrieval unit. For example, if "rel" is selected and the end
	value is 1.1, the VMRs on this side of the grid are scaled with
	1.1. Before the end VMR value was used out to the atmospheric limit.

	* arts/arts_oem_init.m (arts_oem_init): Improved header. Revised
	the set of variables that are stored as part of R.

	* geophysics/nd2vmr.m: Spelling mistake in header.

2011-05-20  Mathias Milz  <mathias.milz@ltu.se>

	* sensors/ssmt2_read.m: 
	  included date-related switch between different scaling factors.

Ω2011-05-20  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-128

	* sensors/ssmt2_read.m:

	Fix bug in date calculation.

	Get rid of the try...catch block.

	Use a second cleanupObj to call fclose.

2011-05-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-127

	* geoplots/gmt/makecpt.m: Fixed bug rounding values smaller than
	1e-6 to 0

	* geoplots/gmt/test_gmt.m: Tested 2 more projections and removed
	the high resolution test.

2011-05-19  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-126

	* sensors/ssmt2_read.m:

	Use onCleanup.
	
	Initialize calibration coefficients only once.

	Fix S.dsname. The ebcdic_ascii table had one element too many.

2011-05-19  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-125

	* sensors/ssmt2_read.m:

	Separate year and day of year into two structure elements.

	Add 86400 to ols if midnight is passed.

	Calculate timestamps (S.recs.timestamp) for each scan value.

	Add documentation on how to get the exact timestamps.

2011-05-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-124

	* geoplots/geo_single_localtime.m: Added function that returns a
	global map of data with the same local time.

2011-05-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-123

	* sensors/ssmt2_read.m: Update doc.

2011-05-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-122

	* sensors/ssmt2_read.m:

	Add optional experimental per channel offset calibration.

2011-05-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-121

	* demos/qarts_demo2.m: Now works even if user not has set EXTRAP
	to true (as suggested by Oliver).

	* arts/qarts2cfile.m: Added Ignore(rte_doppler) when setting up
	abs_scalar_gas_agenda.

	* tests/make_check.m: Some error messages gave wrong name on
	tested script. 

2011-05-12  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-120

	* handy/exec_system_cmd.m: bug in my if-statement

2011-05-12  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-119

	* handy/exec_system_cmd.m: no longer look for specific return
	codes (except 0)


2011-05-12  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-118

	* handy/exec_system_cmd.m:  New return value for error

2011-05-12  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-117

	* handy/exec_system_cmd.m: Added extra error catch

2011-05-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-116

	* geoplots/gmt/test_gmt.m: if nargout == 0, don't return anything

	* geoplots/gmt/gmt_plot.m: No longer check if outdir is defined
	properly or not. Fixed buggy implementation of onCleanup

	* site-specific/kiruna/datasets_init.m: Added (?<end>) in some
	places.

	* time/dayofyear_inverse.m: Added some asserts and updated header.

2011-05-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-115

	* tests/make_check.m: Updated. 

	* tests/test_arts_qpack2: 
	* tests/test_arts_jacobians.m: Removed both(code very old). 

	* demos/qarts_scattering_demo.m: Added some now needed Ignores for 
	MC in IY_CLEARSKY_AGENDA.

	* retrieval/qpack2/ChangeLog: Removed this file. Just confusing to
	have a second ChangeLog. This file will be used in the future.
        As a consequence there will be no special version number for qpack2.
	The changes done under 2011 (to keep the latest history): 
	* qpack2.tex (subsubsection{General features}): Was Q=qpack2 which
	is old stuff. Now Q = qarts. Error reported by Stefan.
	* qpack2.m: Now using onCleanup to remove work folder.
	* qpack2.m: The option CalcTable is now not allowed for
	ABSORPTION. Too difficult to handle safely in a general manner.
	This must be handled by the user (and then using LoadTable). Use
	set ABSORPTION to 'OnTheFly' (in fact, can be the quickest
	option).
	* qpack2.tex: Adopted to change above.
	* qpack2.m (qp2_y2Q): Setting of Z_FIELD through HSE requires now
	that Q.HSE.ON is true. Added handling of Q.HSE.
	* qpack2.tex: Added text explaining that t_field etc. are ignored.
	Added text explaining the HSE part (see 6.1.2).
	* qp2_l2.m: Added output info from temperature retrievals
	* qpack2.tex: Added comments about the units of the returned fields

2011-05-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-114

	* demos/qpack2_demo.m: The example was not updated with respect to
	HSE and CalcTable. (Reported by Stefan, thanks)

2011-05-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-112

	* math/binning_fast.m: Added 2 asserts to make sure
	the function is used correctly.

	* handy/exec_system_cmd.m: Fixed bug in if-statement

2011-05-06  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-112

	* geoplots/gmt/gmtlab.m:

	Set OUTDIR by default to atmlab('WORK_AREA').

	* handy/combine_pdfs.m:

	No need for outdir nan check anymore.

	Make the doc even clearer about where output files are written
	by default.

2011-05-06  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-111

	* handy/exec_system_cmd.m: Added special error check if there is a
	problem with the libraries called. The error output gives
	mitigating instructions on how to fix this for linux and MAC.

	* geoplots/gmt/gmt_plot.m:
	- Use which gmtset instead to test if it is installed, and then give
	the appropriate error message.
	- Fixed bug for legend when plotting subset regions
	- By default no longer allow more colors levels than unique data values.

2011-05-04  Ole Martin Christensen  <olem@chalmers.se>

	* atmlab-1-0-110

	* gformat/griddedfield2gf: added method to convert from griddedfield
	  to gformat

	* gformat/gf2griddedfield: modified with more sanity checks

	* retrieval/oem.m: added breakpoint to correctly exit if inversion
	  fails to converge

2011-05-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-109

	* geoplots/gmt/gmt_plot.m: fixed display plot bug

2011-05-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-108

	* geoplots/homogenize_datalatlon.m: Changed the usage a bit. Now
	also output a structure of flags to indicate which issue the
	function addressed.

	* geoplots/resample_geodata.m: Fixed small bug

2011-05-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-107

	* geoplots/resample_geodata.m: updated error messages. A new
	version of this function based on feedback from programming
	meeting is in the pipeline (half finished)

	* geoplots/gmt/test_gmt.m: try to open final merged.pdf even if
	'pdfviewer', or 'open_command' is not set in gmtlab. Uses system
	'which' to see if xpdf, or evince, or okular is installed and
	picks the first hit to view the pdf.

	* geoplots/gmt/gmt_plot.m: Removed workaround for 'work_area'. and
	make sure tmp files end up in tmpdir

	* geoplots/gmt/makecpt.m:
	* geoplots/gmt/grdimage.m:
	* geoplots/gmt/makepolar.m:
	* geoplots/gmt/nearneighbor.m:
	* geoplots/gmt/create_gmt_earth.m:
	* geoplots/gmt/xtra_nan_legend.m:

	Make sure tmp files end up in tmpdir

2011-05-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-106

	* files/delete_tmpfolder.m: Update doc.

2011-05-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-105

	* files/create_tmpfolder.m:

	Prepend instead of append 'atmlab-' to tmpfolder name for better
	sorting. Also add the username to the tmpfolder name if available.

	* files/delete_tmpfolder.m:

	Use rmdir(...,'s') instead of system-dependent commands.

2011-05-02  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-104

	* atmlab/atmlab_init.m: Removed "force_reinit" stuff. Just causing
	problems after e.g. 'clear all' (as reported by Oliver). Now no
	restriction in calling the function repeatedly.

2011-05-02  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-103

	* handy/list_colors.m: Added useful function to get color
	vectors. From a cell of string arguments it creates a cell of rgb
	vectors, or if nargin == 0, 10 rgb vectors are output.

	* geoplots/homogenize_datalatlon.m: Moved general function to sort
	and rearrange data,lat,lon to common format, from gmt to geoplots

	* handy/exec_system_cmd.m: Moved from geoplots/gmt/exec_gmt_cmd.m

	* handy/combine_pdfs.m:
	* files/getfiles_matching_regexp.m:
	* geoplots/gmt/gmt_plot.m:
	* geoplots/gmt/test_gmt.m:
	* geoplots/gmt/makecpt.m:
	* geoplots/gmt/create_gmt_earth.m:
	Changed exec_gmt_cmd to exec_system_cmd

2011-05-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-102

	* files/path_replace_tilde.m:

	New function to replace ~/... with the home directory path.

	* handy/combine_pdfs.m: Use path_replace_tilde.

2011-05-02  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-101

	* geoplots/resample_geodata.m: Fixed so that it also work for
	logical data sets.

2011-05-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-100

	* atmlab/atmlab.m: Change default for WORK_AREA from Nan to tempdir().

2011-05-01  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-99

	* geoplots/resample_geodata.m: Fixed another 5D bug

2011-05-01  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-98

	* geoplots/resample_geodata.m: Fixed bug if dealing with 5D data.

	* geoplots/gmt/gmt_plot.m: Added squeeze in one place.

2011-04-30  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-97

	* geoplots/area_weighting.m: Added function that returns a
	latitude area weight matrix to be applied to data for area weighting.

	* site-specific/kiruna/datasets_init.m: Fixed bug in patmos-x regexp


2011-04-29  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-96

	* geoplots/resample_geodata.m: Catch error if data is not
	data(lat,lon,...) or data(lon,lat,......)

2011-04-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>


	* atmlab-1-0-95

	* atmlab/atmlab.m: Added functionality for taking direct action
	when setting fields. This is now done for RAND_STATE and SITE.

	* atmlab/atmlab_init.m: Default now is that a second call will
	result in an error. Can be overridden. Handling of RAND_STATE
	moved to atmlab. Header improved.

	* atmlab/addsite.m: Now using atmlab_path. SITE re-set to NaN in
	case of "unknownsite".

	* atmlab/atmlab_example_data.m: Now using atmlab_path.

	* atmlab/atmlab_path.m: Created.

2011-04-28  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-94

	* geoplots/resample_geodata.m:
	* geoplots/gmt/homogenize_datalatlon.m:
	Adapted so they can handle data arrays with 2 -> 5 dimensions.

2011-04-28  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-93

	* datasets/datasets_config.m:
	* site-specific/kiruna/datasets_init.m:
	Added patmos-x datasets

2011-04-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-92

	* math/gridinterp.m: Missed to make add for the new functions!
	* math/pointinterp.m: Sorry.

2011-04-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-91

	* PLEASE NOTE: The name of the functions REGRID and INTERPD will
	be changed (to avoid the confusion around "regrid"). The new names
	are *gridinterp* and *pointinterp*. Both versions will exist for
	some time. So far you get a warning if you use the obselete version.

	* gformat/gf_regrid.m (gf_regrid): regrid -> gridinterp
	* arts/arts_regrid.m (arts_regrid):

	* math/gridinterp.m: Copy of regrid, with polished header. This
	is the version that will be kept.

	* math/pointinterp.m: Copy of interpd, with polished header. This
	is the version that will be kept.

	* arts/arts_oem.m: "Clean" option removed and try-catch in
	function removed. Both due to change below.

	* arts/arts_oem_init.m: Workfolder is now mandatory input. This
	function can not ensure that it is removed properly, and the task
	is moved to the calling function.

	* arts/arts_abcde.m:
	* arts/arts_abstable.m:
	* arts/arts_atmfields.m:
	* arts/arts_batch.m:
	* arts/arts_sensor.m:
	* arts/arts_y.m: All now using onCleanup to remove work folder.
	This made it possible to remove catch/try.

	* atmlab/atmlab.m (atmlab_defs): Rearranged to keep things in
	alphabetical order.

2011-04-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-91

	* geoplots/resample_geodata.m:
	Added useful re-gridding function for geodata.

	* site-specific/kiruna/datasets_init.m: Continued adding datasets.

2011-04-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-90

	* files/create_tmpfolder.m: Removed my workaround from this. The
	function is now as it was before my meddling.

	* geoplots/gmt/gmt_plot.m: Temporarily set atmlab('work_area') to
	/tmp if it is not initialized. I uninitialize it again in the
	onCleanup call.

	* geoplots/gmt/test_gmt.m: Use the backup viewer option
	gmtlab('open_command') if gmtlab('pdfviewer') is not defined

2011-04-27  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-89

	* geoplots/gmt/test_gmt.m:

	'all_tests'->'all_tests.pdf', combine_pdfs requires the file suffix now.

2011-04-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-88

	* geoplots/gmt/gmt_plot.m:
	- fixed bug in in.region.
	- changed default basemap_axis to WSne.
	- Fixed automatic legend. Better default behaviour if using
	in.projection = 'Q' (default projection).
	- fixed in.datarange to exclude inf when finding the maximum
	value.
	- change many: if bla, error('str'), end to assert(~bla, 'str')

	* geoplots/gmt/homogenize_datalatlon.m:
	Fixed bug where data was flipped if the input data is square
	(i.e. can't determine if it's (lat,lon) or (lon,lat))

	* geoplots/gmt/gmt_nc_save_gridded.m: Make sure that z is single
	for netcdf.putVar

	* geoplots/gmt/test_gmt.m:
	- changed order of output
	- added more explanatory and up-to-date output describing figures.
	- testing some more gmtlab features

	* handy/catstruct.m: fixed bug by typo

	* geoplots/gmt/makepolar.m: Fixed bug for special case.

	* geoplots/gmt/create_gmt_earth.m: Puny update


2011-04-26  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-87

	* handy/combine_pdfs.m:

	As LaTeX is very picky about the filenames it allows in
	includegraphics (no spaces, no %, etc), the pdf files are now copied to
	the tmpfolder with sensible names to avoid problems.

	Use dir() instead of system call to ls to generate file list.

	Fix pdfinfo call.

2011-04-26  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-86

	* handy/combine_pdfs.m:

	Update docs. Include error indentifiers in asserts. Use fullfile.
	Make pdflatex behave well with dots in pdf filenames.

2011-04-21  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-85

	* datasets/datasets_config.m: 
	* site-specific/kiruna/datasets_init.m:

	Added more datasets with paths and regexps to the list

2011-04-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-84

	* geoplots/gmt/gmt_plot.m: Use create_tmpfolder(tempdir) instead
	of create_tmpfolder in case atmlab('WORK_AREA') is uninitialized

	* geoplots/gmt/gmt_catstruct.m: Deleted. adapted handy/catstruct.m
	instead.

	* handy/catstruct.m: Now also works recursively properly fields in
	a structure that are also structures.

	* geoplots/gmt/{ test_gmt.m, create_gmt_earth.m}:
	gmt_catstruct->catstruct

	* geoplots/gmt/psscale.m: changed error message

2011-04-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-83

	* handy/combine_pdfs.m: Fix file ending.

2011-04-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-82

	* handy/combine_pdfs.m:

	Update docs.

	Use create_tmpfolder/delete_tmpfolder to make the LaTeX run safer.
	This way we don't have to call rm on unsanitized input.

	* ChangeLog: Add missing version number for previous commit.

2011-04-18	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-81

	* collocations/read_collocs_data_mean.m,
	  datasets/common_read_collocation_cpr_mhs.m,
	  datasets/common_read_avhrr.m,
	  datasets/common_read_hirscs.m: Changed implementation
	  - Reluctantly realised system('zcat foo>bar') is three times faster
	    than gunzip('foo') and changed the latter to the former

	* atmlab/addsite.m: Added
	  - Move this functionality to seperate function, as this too needs to
	  be called only when needed.

	* atmlab/atmlab.m: Expanded
	  - Added ATMLAB_PATH. This can be used to override the path derived
	  from the location of atmlab_init, but is otherwise used to store the
	  ATMLAB_PATH by atmlab_init for usage in postponed initialisation
	  functions.

	* atmlab/atmlab_init.m: Expanded
	  - Set ATMLAB_PATH for later postponed initialisation.

	* datasets/datasets_config.m: Expanded
	  - Do postponed initialisation, including calling addpath when
	  needed.

2011-04-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-80

	* files/create_tmpfolder.m: Allow user to bypass the need for
	atmlab('WORK_AREA'), by optionally providing an alternative
	directory to use. 

	* handy/combine_pdfs.m: Make sure there is a valid outdir

2011-04-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-79

	* geoplots/gmt/{gmt_plot.m, pscoast.m, create_gmt_earth.m}
	Added new option to change the color of the coastline and rivers

	* geoplots/gmt/test_gmt.m: Test coastlines

2011-04-17  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-78

	* geoplots/gmt/
	{test_gmt.m, psscale.m, pspoly.m, pslocations.m, pscoast.m,
	psbox.m, polygoninize_regions.m, nearneighbor.m, makepolar.m,
	list_colors.m, grdimage.m, grdcontour.m, xtra_nan_legend.m,
	gmt_unicode_converter.m, gmtlab.m, gmt_get_nctype.m,
	cpt_from_colorrange.m, equidistant_contours.m}

	Fixed headers

	* geoplots/gmt/pscontour.m: Removed deprecated

	* geoplots/gmt/plot_empty_regions.m: Removed deprecated

	* geoplots/gmt/gmt_splitstring.m: Removed deprecated

	* geoplots/gmt/create_gmt_earth.m: Removed gmt_splitstring

2011-04-17  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-77

	* datasets/datasets_config.m: Added missing '\n' to logtext

	* AUTHORS: Small edit

	* geoplots/gmt/test_gmt.m:
	1) Added a tick_spacing test.
	2) Use combine_pdfs to put all the output figures in one file.

	* geoplots/gmt/makepolar.m: Refined and fixed new bug.

	* geoplots/gmt/gmt_plot.m:
	1) Change the default datafield to plot from 'datafield' to 'data'
	2) Stopped using gmt_optargs_struct
	3) Included onCleanup function to make sure that gmt_plot is not
	left hanging in a temporary directory.
	4) Include a quickstart example at the end of the help section.

	* geoplots/gmt/
	{homogenize_datalatlon.m, list_colors.m, create_gmt_earth.m,
	cpt_from_colorrange.m, append_tickannotations.m}:

	Fixed headers.

	* geoplots/gmt/gmt_optargs_struct.m: No longer use this. Use
	atmlabs version instead

2011-04-16  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-76

	* handy/combine_pdfs.m: Ensure that pdffiles is a non-empty row vector.

2011-04-16  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-75

	* handy/combine_pdfs.m: Return full path to output file.

2011-04-15  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-74

	* handy/combine_pdfs.m: Don't add fullpath to default filename.

2011-04-15  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-73

	* handy/combine_pdfs.m: Fix bug in doc.

2011-04-15	Gerrit Holl	<gerrit.holl@ltu.se>
	
	* atmlab-1-0-72

	* handy/optargs_struct.m: Expanded
	  - Now handles structures recursively. If both the default and the
	    provided are a struct, they are both passed on to optargs_struct.

2011-04-15  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-71

	* handy/combine_pdfs.m: Code cleanup.

2011-04-12	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-70

	* graphs/satboxplot.m: Updated
	  - Also return plot handle
	  - Update documentation

	* collocations/collocation_read.m: Changed behaviour
	  - Take away functionality for HDF5-reading. This is really not
	    working well yet.

	* collocations/write_collocations_netcdf.m: Expanded
	  - Also add the date for which the collocations are to the NetCDF.

	* collocations/README: Updated
	  - Update link to web-documentation

	* collocations/collocation_read_frompipe.m: Updated
	  - Update path to server
	  - Added warning that this is EXPERIMENTAL

	* collocations/TODO: Expanded
	  - Added some TODO-items

	* sensors/atovs/atovs_read_data.m: Whitespace changes
	  - Fixed tabbing in doc.

	* datasets/datasets_config.m: Changed behaviour
	  - When run for the first time, try to run datasets_init first.
	
	* datasets/find_datadir_by_date.m: Small change
	  - Improve error message
	
	* datasets/TODO: Expanded
	  - Added one TODO-item.

2011-04-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-69

	* collocations/collocate.m: Bugfix
	  - Also find collocations more than 2 longitude-cells away
	  - Made error messages understandable for people with limited
	    experience with civilised programming languages.
	  - Clarified documentation on longitude-ranges
	  - Rather than calling max(...) twice, call max and abs on flattened
	    copy of matrix.
	  - Adapt to Atmlab convention of having name.

2011-04-11  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-168

	* handy/combine_pdfs.m:

	Add function to combine several PDF files on one page.

2011-04-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-167

	* geoplots/gmt/gmt_plot.m:
	- Now cd into a tmpdir to let loose the temporary files there. This
	directory is deleted afterwards.
	- Fixed option to make a pdf out of only the legend.

	* geoplots/gmt/test_gmt.m:
	- Updated locations section to new input rules.
	- Dropping the idea of making gmtlab self sustained. i.e. don't
	test temporarily removing the atmlab paths.

	* geoplots/gmt/gmtlab.m:
	No longer case sensitive

	* geoplots/gmt/exec_gmt_cmd.m:
	Edited help section

	* geoplots/gmt/create_gmt_earth.m:
	Small update

	* geoplots/gmt/list_colors.m:
	default to create 10 colors vectors if ~nargin

2011-04-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-166

	* files/create_tmpfolder.m:

	Use matlab's tempname function to generate foldername. Append -atmlab
	to tmpfolder name. Add error identifiers. Avoid possible endless loop
	by bailing out after 100 failed attempts to create a unique folder.

2011-03-29  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-165

	* files/getfiles_matching_regexp.m:
	Added function that collects all files in a given directory (also
	checking its sub directories) that match a given regular
	expression.
	Usage files = getfiles_matching_regexp(dir,regularexp)

2011-03-17  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-164

	* geoplots/gmt/gmt_plot.m: 
	- Added input in.measure_unit to toggle the default unit all
	functions will use if the units are not explicitly given.
	- Changed in.legend.dimensions to in.legend.position for
	consistency with gmtdocs.
	- Added xpos, ypos, length, and width as arguments for legend.
	- Replaced ~ with getenv('HOME'), because some netcdf-functions
	don't like ~.
	- Now use the plot region dimensions rather than lat lons to
	decide if a legend should default to horisontal or vertical.
	- Removed frivolous mv command.

	* geoplots/gmt/create_gmt_earth.m: Adapted to changes explained
	for gmt_plot.m

	* geoplots/gmt/makepolar.m: Catch error if in.nwhite >	in.nlevels.

	* geoplots/gmt/psscale.m: Adapted to new legend options.

2011-03-16  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-163

	* geoplots/gmt/exec_gmt_cmd.m: Throw error for exit code ~= 0.

	* geoplots/gmt/gmt_plot.m: Fix mv command.

2011-03-10	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-162

	* collocations/collocation_read.m: Bugfix

2011-03-09  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-161

	* files/loadncfile.m: First version to support reading groups.

2011-03-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-160

	* geoplots/gmt/{gmt_plot.m,pslocations}:
	Changed option in.locations.shape to only handle the shape of
	points on a map and not the size. Added option in.locations.size
	for the size of the point on the map.

	* geoplots/gmt/{create_gmt_earth.m,makecpt.m:}:
	Now supports giving a vector of tick values to use for manual data
	intervals. The tick values are saved temporarily in a txt-file,
	used in the -T option in makecpt and the file is later removed
	from outdir.

	* geoplots/gmt/cpt_from_colorrange.m: Clarified a bit better in
	the header.

2011-03-02  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-159

	* geoplots/gmt/makerainbow.m: removed unused function.

	* geoplots/gmt/gmtlab.m: replaced all depricated getfield and
	setfield using dynamic arguments.

	* geoplots/gmt/{save_nc_gmt_input.m, psscale.m, gmtlab.m,
	polygoninize_regions.m, exec_gmt_cmd.m, append_tickannotations.m}:
	changed error identifiers to gmtlab from atmlab

	* geoplots/gmt/create_gmt_earth.m: Puny change.

	* geoplots/gmt/gmt_plot.m: Changed the default outdir to tempdir
	(which looks for the system tmp dir). This for speed, permissions,
	etc. Now looks for if xpdf is installed is no viewer is set and
	the figure is pdf, but it still warns that you should define a
	viewer. Fixed bug so the in datarange rounding in the plot also
	work for unusual value ranges.

	* geoplots/gmt/test_gmt.m: Adapted to new outdir conventions

	* geoplots/gmt/gmt_nc_save_ungridded.m: Changed function name from
	save_nc_gmt_input.

	* geoplots/gmt/makepolar.m: Fixed for special case if reference
	value is outside or on the edge of the datarange (caused crash).

	* geoplots/gmt/gmt_nc_save_gridded.m: Changed function name from
	write_gmt.

	* geoplots/gmt/xtra_nan_legend.m: adapted to new outdir.

	* geoplots/gmt/makecpt.m: small bug

2011-02-28  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-158

	* geoplots/gmt/gmt_plot.m: Fixed bug if in.outdir = NaN (default
	is gmtlab('OUTDIR') is not set), using isdir

2011-02-28  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-157

	* geoplots/gmt/gmt_plot.m:
	Added Oliver to created by, and my email for correspondence.
	Check if outdir exists.
	Get a default tick_annotation_format if none is given.
	Fixed bug where someone inputting in.legend=true stops the
	assignment of options to legend.

	* geoplots/gmt/makepolar.m: Fixed bug where RGB is sometimes
	negative (due to data precision)

2011-02-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-156

	* demos/qarts_scattering_demo.m: The emission WSM was used for
	IY_CLEARSKY_AGENDA even for the BL case. Works, but the dedicated
	BL WSM is better (of course) and is used now.

2011-02-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-155

	* geoplots/gmt/gmt_optargs_struct.m: Changed header

	* geoplots/gmt/gmt_plot.m: Fixed minor bugs

2011-02-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-154

	* math/get_ascend_decend_node.m: Changed header

	* atmlab/atmlab_init.m: Futile change.

	* handy/splitstring.m: Added 'builtin' to exist for Octave.

2011-02-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-153

	* geoplots/gmt/{homogenize_datalatlon.m,create_gmt_earth.m,gmt_catstruct.m}:
	Changed header.

	* geoplots/gmt/save_ungridded4GMTplot.m: adapted to new
	default.outdir convention.

	* geoplots/gmt/{gmt_splitstring.m,write_gmtgrid.m,save_ungridded4GMTplot.m}:
	Added 'builtin' to exist for Octave.

	* geoplots/gmt/gmt_plot.m: Edited header, adapted to new
	default.outdir convention.

	* geoplots/gmt/test_gmt.m: Fixed bug where input was being ignored.

	* geoplots/gmt/cpt_from_colorrange.m: Better help text

	* geoplots/gmt/gmtlab.m: Changed default in.outdir to NaN instead of '.'

	* geoplots/gmt/gmt_get_nctype.m: Added function that gets the
	correct netcdf type for the data variable. This enables the
	possibility of plotting logicals.

2011-02-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-152

	* geoplots/gmt/makecpt.m): Added verbosity to system command

	* geoplots/gmt/gmt_plot.m: Edited help section, fixed
	some things for octave people

	* geoplots/gmt/gmtlab.m: Added psviewer to gmtlab (for eps and ps
	files)

	* geoplots/gmt/test_gmt.m: Had to add
	"'uniformoutput',false" to all cellfuns for octave users.

	* geoplots/gmt/create_gmt_earth.m: suppressed
	some output with verbosity

2011-02-21  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-151

	* geoplots/gmt/gmtlab.m: unbroke it
	
2011-02-21  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-150

	* geoplots/gmt/test_gmt.m (test_gmt): Added some info output about
	every test.

	* geoplots/gmt/create_gmt_earth.m (create_gmt_earth): Changed
	splitstring/catstruct/optargs_struct to
	gmt_splitstring/gmt_catstruct/gmt_optargs_struct
	
	* geoplots/gmt/cpt_from_colorrange.m (cpt_from_colorrange): Changed splitstring to gmt_splitstring

	* geoplots/gmt/psscale.m: Fixed bad if-statement

	* geoplots/gmt/xtra_nan_legend.m: Changed splitstring to gmt_splitstring

	* geoplots/gmt/gmt_plot.m: Call gmtlab defaults instead of atmlab
	defaults. Added verbosity as a default argument.

	* geoplots/gmt/gmt_splitstring.m: Cloned from atmlabs splitstring
	by Oliver Lemke. This is necessary for gmtlab to be standalone.
	
	* geoplots/gmt/gmt_optargs_struct.m: Cloned from optargs_struct.m
	by Gerrit Holl in atmlab. This is necessary for gmtlab to be standalone.

	* geoplots/gmt/reference_maps: Added directory with figures and
	README showing what the figures output from test_gmt should look like.

	* geoplots/gmt/gmt_catstruct.m: Added a more or less cloned
	version of catstruct. Important difference is that this version of
	catstruct also works recursively!

2011-02-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-149

	* geoplots/gmt/homogenize_datalatlon.m: Forgot this one.

2011-02-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-148

	* geoplots/homogenize_datalatlon.m: moved this file to the gmt
	directory instead

2011-02-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-147

	* atmlab/atmlab.m: Decided to remove try catch. People using gmt
	will have to change atmlab('gmtoption','something') to
	gmtlab('gmtoption','something') in their startup file instead.

	* handy/prstnt_struct.m: Found another error without an
	identifier.

2011-02-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-146

	* atmlab/atmlab.m: Removed options related to gmt from atmlab_defs
	and put them into gmtlab.m. Added a try catch around @atmlab_defs
	to instead call gmtlab if the desired option is missing. If option
	is also missing in gmtlab, throw the usual error. I've done this
	for backward compatibility, in case people have added gmt options
	via the old atmlab('gmtoption','something')

	* geoplots/gmt/gmtlab.m: Added function based on atmlab.m, but
	specifically for gmt options only. This is necessary if one only
	wants the gmtlab repository and not the atmlab repository. The
	gmtlab functions are now independent of atmlab (but still part of
	atmlab)

	* geoplots/gmt/gmt_plot.m: Added check to see if gmt is not going
	to run, e.g. if gmt is not installed on the computer or if the
	gmt path is not set. Suggests how to set the environment in matlab.

	* geoplots/gmt/nearneighbor.m: Removed default -F option to be
	compatible with gridded data (assume gridbox centers)

	* geoplots/gmt/exec_gmt_cmd.m: Added identifier to error.

	* handy/prstnt_struct.m: Fixed the error messages so that they are
	usable (identifiers)

2011-02-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-145
	
	* arts/qarts2cfile.m (cfile_AtmSrf): HSE.P and HSE.ACCURACY saved,
	if set, even if HSE.ON false. This add jacobianCalcTemperature
	have these variables as input, even if not used. 
	Improved error message for ABSORPTION.

	* Qpack2: CalcTable is now not allowed for ABSORPTION! 

2011-02-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-144

	* This commit can brake some old q-files. But it should just be to
	remove USE_RAW_ATMOSPHERE. You should also remove calls of
	atm_checkedCalc.
	Note also changes qpack2.

	* demos/qarts_demo.m: Added demonstration on how to use HSE.

	* arts/qarts.m (qarts): Added field HSE.

	Modification of existing features:
	---
	* arts/qarts2cfile.m (cfile_AtmSrf): A call of atm_checkedCalc is
	now always included. No need anymore to include this by
	WSMS_BEFORE_RTE!

	* arts/arts_get_atmfields.m: Removed. The same function as
	arts_atmfields.m!

	* demos/qarts_demo.m: Adopted several demos to change below. And
	removed calls of atm_checkedCalc.

	* arts: Adopted several functions to change below.

	* arts/qarts.m (qarts): Removed USE_RAW_ATMOSPHERE. A "raw"
	atmosphere is now included if RAW_ATMOSPHERE is set. And in
	contrast to before, this does not override settings of T_FIELD
	etc. Any data in T_FIELD, Z_FIELD or VMR_FIELD are put in after a
	raw atmosphere has been read. Thus, more flexible now.

2011-02-08  Ole Martin Christensen  <olem@chalmers.se>

	* atmlab-1-0-143

	* gformat/gf2griddedfield.m: Created

2011-02-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-142

	* geophysics/pt2z.m: Added z_acc, and some polishing.

	* arts/qarts_hse.m (qarts_hse): Removed demand and checks
	associated with lon_grid, as not used.

2011-02-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-141

	* geophysics/pt2z.m (z2g): Added information about source of
	expression.

2011-02-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-140

	* geophysics/pt2z.m (lat2g0): Replaced table+interpolation, with
	an analytical expression for g0.

	* gformat/Contents.m: Removed text referring to older version
	(having D).

2011-02-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-139

	* arts/xml/xmlReadArray.m:

	Make sure the elements inside the array match the array's type
	attribute.

	* arts/xml/xmlReadTag.m: Add optional argument expected_tag.

	* arts/xml/xmlLoad.m:

	Use && instead of &, remove unnecessary sprintf from error calls.

2011-02-02  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-138

	* Some work to add temperature as retrieval quantity. HSE part is
	lacking. 

	* arts/qarts2cfile.m (cfile_Jacobi): Added handling of new T
	jacobian fields.

	* arts/arts_oem_init.m (arts_oem_init): 
	* arts/arts_x2QR.m (arts_x2QR): 
	* arts/arts_sx.m (arts_sx): Added handling of temperature as
	retrieval quantity.

	* arts/qarts.m (qarts): Q.T introduced. Q.T_ATMDATA removed, now
	handled by Q.T.

2011-02-02  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-137

	* geoplots/gmt/gmt_plot.m: Fixed bug where input
	in.legend.orientation was being ignored.

2011-02-01  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-136

	* geoplots/gmt/gmt_plot.m:

	Redirect output of viewer command to /dev/null to avoid blocking issue
	in Octave.

2011-02-01  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-135

	* geoplots/gmt/gmt_plot.m, geoplots/gmt/create_gmt_earth.m:

	Don't use curly brace expansion in system commands for more octave
	compatibility.

2011-01-31  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-134

	* arts/qarts2cfile.m (add_rtecalcstart): Removed code around J_UNIT.

	* arts/qarts.m (qarts): Removed Q.J_UNIT (as now removed from arts).

2011-01-28  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-133

	* gridcreation/grid_weightspaced.m: Created. (In Sep., missed to
	add it!)

2011-01-27  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-132

	* test_gmt now also works in Octave. Only one issue remaining where
	the font size of some titles is different in plots generated from
	Octave compared to the plots generated from Matlab.

	* handy/catstruct.m:

	Pass 1 (dim) as third argument to cell2struct to make Octave happy.

	* handy/splitstring.m:

	Added function to split a string into tokens at the given separator
	which works in Matlab and Octave. In Matlab the function uses
	regexp(...,...,'split'), in Octave it uses strsplit().

	This is necessary because Octave doesn't support the 'split' option in
	regexp, but Matlab doesn't have Octave's strsplit function.

	* geoplots/gmt/cpt_from_colorrange.m, geoplots/gmt/xtra_nan_legend.m,
	geoplots/gmt/create_gmt_earth.m:

	Use splitstring instead of regexp directly.

	* geoplots/gmt/save_nc_gmt_input.m: Modified to also work in Octave.

	* geoplots/gmt/create_gmt_earth.m:

	Replace another textscan with sscanf.

	* geoplots/gmt/pscoast.m, geoplots/gmt/create_gmt_earth.m,
	geoplots/gmt/gmt_plot.m:

	Replace %d with %f where applicable. Matlab outputs %d values as
	floats although the documentation says it should output them as
	integers which would also be consistent with the sprintf function in
	the C library.

	Matlab: sprintf('%d', 1.5') -> ans = 1.500000e+00
	Octave: sprintf('%d', 1.5') -> ans = 1;

2011-01-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-131

	* demos/qarts_scattering_demo.m: Extended range of lat and lon
	grids, to pass new check in arts. 

2011-01-26  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-130

	* geoplots/gmt/makecpt.m:

	Use floats not integers for makecpt's -T option.

	* geoplots/gmt/create_gmt_earth.m:

	Use sscanf to parse the region string instead of textscan or
	cellfunned regexps.

2011-01-26  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-129

	* geoplots/gmt/write_gmtgrid.m:

	Detect if we're called inside Octave and automatically
	switch to an Octave compatible implementation (requires octcdf to be
	installed).

2011-01-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-128

	* geoplots/gmt/save_nc_gmt_input.m: Rephrased error message a bit.

	* geoplots/gmt/gmt_plot.m: Throw an error if min(data)==max(data).
	Changed the isgridded test to not be duped by data where
	length(in.lat)==length(in.lon)

2011-01-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-127

	* geoplots/gmt/gmt_plot.m (gmt_plot): Change the order of
	commands to facilitate for data with lons between 0:360

2011-01-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-126

	* geoplots/gmt/test_gmt.m: Added difference plot test (new test1)

	* geoplots/gmt/gmt_plot.m: Changed name of field: in.white_boxes
	to in.nwhite

	* geoplots/gmt/create_gmt_earth.m: Now automatically decide the
	annotation for the legend from the tick values if none is
	in.legend.annotation_format is not given.

	* geoplots/gmt/makepolar.m: Updated function for difference plots.

2011-01-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-125

	* arts/qarts.m: Fixed multiple spelling errors.

2011-01-24  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-124

	* geoplots/gmt/gmt_plot.m: Reviewed docs.

2011-01-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-123

	* physics/fresnel.m: Output arguments were in wrong order in the
	FORMAT text string.

	* handy/optargs.m: Last user example had wrong name for function.

2011-01-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-122

	* geoplots/gmt/gmt_plot.m: Substantionally updated the help
	section to make it easier to understand for new users. Also group
	some input arguments together for clarity. Removed the test_input
	section as it needed to be changed. The correct input is given in
	the help section.

	* geoplots/gmt/test_gmt.m: Added extra test, where I test drawing
	polygons on the map. Also  did some small adaptations

	* geoplots/gmt/psscale.m: Adapted to changed variable names

	* geoplots/gmt/create_gmt_earth.m: Cleaned up a bit and removed
	some frivolous sub functions.

	* geoplots/gmt/polygoninize_regions.m: Cleaned up a bit. updated help

	* geoplots/gmt/grdimage.m: Demands input cpt-file as second
	argument

	* geoplots/gmt/hardcoded_colors.m: This function and colortable is
	unnecessary as in.colorrange allows you make your own custom colortable

2011-01-21  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-122

	* arts/qarts.m: Added field ABS_WSMS.

	* arts/qarts2cfile.m: Added handling of field ABS_WSMS.

2011-01-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-121

	* geoplots/gmt/gmt_plot.m (gmt_plot):Fixed small bug that I just
	introduced in the last commit.

2011-01-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-120

	* geoplots/gmt/test_gmt.m: Cleaned up a bit, especially making
	each test a subfunction and included the option to run a subset of
	tests if you want. e.g. in.tests = [1 2 4]. Default is to run all
	tests. Also included some additional tests.

	* geoplots/homogenize_datalatlon.m: Catch error if the function is
	called with ungridded data as input.

	* geoplots/gmt/gmt_plot.m: in.grid is now in.gridded and option
	in.varname is removed

	* geoplots/gmt/create_gmt_earth.m: Automatically pick a suitable
	map tick interval, if in.ticks is not given.

	* geoplots/gmt/nearneighbor.m: removed -O -K

2011-01-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-119

	* geoplots/gmt/test_gmt.m: Added another test (locations), and
	output the location of all files produced.

	* geoplots/gmt/gmt_plot.m: Fixed bug if in.nodata=1

	* geoplots/gmt/pslocations.m: removed contour around text

2011-01-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-118

	* geoplots/gmt/test_gmt.m: Change -HSV to HSV.

	* geoplots/gmt/gmt_plot.m: Update color_model docs.

2011-01-18  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-117

	* geoplots/gmt/test_gmt.m: Add another test case.

2011-01-18  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-116

	* geoplots/gmt/append_tickannotations.m: Added function that makes
	it easy to change the legend annotations to whatever you want.

	* geoplots/gmt/cpt_from_colorrange.m: Added function to create
	your own color table (see help gmt_plot))

	* geoplots/gmt/gmt_plot.m:

	- in.colorrange.colors: Included shiny new option to easy create
	    your own color table. Basically, if you want a color table that
	    goes from e.g. blue-red-black, define where these colors should be
	    between 0-1, where 0 refers to min(datarange) and 1 to
	    max(datarange).
	    Usage: e.g. {{0,'0/0/255'}{.5,'255/0/0'}{1,'0/0/0'}}.
	    in.colorrange.color_model is used to specify '+HSV','-HSV',or
	    'RGB' (default='RGB')
	- in.ctable: Removed my own colortable except for mypolar, which
	             is a well suited color table for difference plots.
	- in.stepsize: Replaces in.ctable_cspaceing. in.stepsize is for
 	               the data-color levels.
	- in.sidebar: For triangles indicating data outside datarange in
	              legend. 0 (none), 1 (below), 2 (above), 3 (bellow and
	              above). This is determined automatically by default.
	-in.ctable:    default has changed to GMT's 'rainbow' palette.
	-in.nanlegend: default is true only if there are NaNs in the data.
	-in.datarange: For data range > 10, use floor and ceil for cleaner
	               data intervals.

	See help section for more details.

	* geoplots/gmt/makecpt.m: Added user options: COLOR_NAN (for NaN
	values), COLOR_FOREGROUND (for data > max(datarange)), and
	COLOR_BACKGROUND ((for data < max(datarange))).

	* geoplots/gmt/create_gmt_earth.m: Automatically scale the legend
	according to the map size.

	* geoplots/gmt/xtra_nan_legend.m: Always call this function,
	unless userspec in.nanlegend = 0 or there are no NaNs in the data

	* geoplots/gmt/psscale.m: Only display sidebars to legend if there
	is data outside the given data range.

	* geoplots/gmt/hardcoded_colors.m: rm frivolous stuff. Basically
	this whole function is frivolous now due to the introduction of
	geoplots/gmt/cpt_from_colorrange.m, and I'll probably remove it
	later on.

	* geoplots/gmt/test_gmt.m: Added more test runs.

	* geoplots/gmt/*.m: svn:keywords "Date Author Id"

2011-01-14  Ole Martin Christensen  <olem@chalmers.se>

	* atmlab-1-0-115

	* retrieval/oem.m: fixed small bug related to the J and G matrices.

2011-01-14    Ajil Kottyil    <ajil.kottyil@ltu.se>
        * atmlab-1-0-114

         * geoplots/gmt/create_gmt_earth.m: fixed small bug.
 
2011-01-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-113

	* retrieval/oem.m: Scaling of J and G with xnorm assumed variable
	now moved to another sub-function. 

2011-01-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-112

	* sensors/atovs/unpack_bip.m: Added
	- Unpack Band-Interleaved-by-Pixel data (as used in AVHRR GAC)

	* sensors/atovs/avhrr_gac_read_raw.m: Adapted
	- Don't be too smart trying to use Matlabs 10-bit reading-and-skipping
	functionality, it doesn't do what I want.
	- Fix bug, now once again possible to get only the header 
	- Preserve type (don't silently convert to double)

2011-01-04	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-111

	* geoplots/land_sea_mask.m -> math/land_sea_mask.m: Moved
	- I really don't think land_sea_mask belongs in geoplots. Math is not
	ideal either but already better, as it's quite generic (e.g. shouldn't
	be in 'sensors' or so either).

	* math/land_sea_mask: Adapted
	- Added functionality to read new land-water-masks from atmlab-data,
	as well as functionality to list all of those. Retains backward
	compatibility. I chose to add it here rather than to create a new
	function to prevent balkanisation.

2011-01-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-110

	* ChangeLog: Removed some conflict markers.

2011-01-03	Isaac Moradi	<isaac.moradi@ltu.se>

	* atmlab-1-0-109

	* h2o/thermodynamics/potential_temperature.m:
	- Amended the documentation

2010-12-30  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-138

	* geoplots/gmt/test_gmt.m: A bit more

	* geoplots/gmt/gmt_plot.m: Fixed check input for scalars or logicals

	* geoplots/gmt/pspoly.m: Use -R and -J from psbasemap instead

	* geoplots/gmt/create_gmt_earth.m: fixed small bug related to
	plotting only coastlines.

2010-12-30  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-137

	* geoplots/gmt/create_gmt_earth.m:

	Cosmetic fix: Change the vertical offset of the NaN legend for vertical
	colorbars from -1.3 to -0.5 cm to align it with the bottom of the plot.

2010-12-30  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-136

	* geoplots/gmt/create_gmt_earth.m:

	Fix plot alignment and position of NaN legend for horizontal colorbars.

2010-12-29  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-135

	* geoplots/gmt/test_gmt.m:
	Added function to test gmt_plot. To make sure it is still working
	if changes have been made to it. It is supposed to test
	everything, but I've only just started this one.

	* geoplots/gmt/gmt_plot.m (check_optional_input):
	Introduced input error checks to minimize weird behavior if the
	input type is incorrect.
	(hunt_down_errors): 
	Now keep track of errors and warnings invoked when calling GMT.

2010-12-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-134

	* geoplots/homogenize_datalatlon.m: 
	Need to remove duplicate data at zeros and instead introduce
	duplicate data for -180 and 180, if converting 0:360 lon to -180:180

2010-12-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-133

	* atmlab/atmlab_init.m: Changed threshold value for including V7-4
	folder, due to change below. 

	* handy/nversion.m: The function mixed up 7.10 and 8.0. To fix
	this, e.g. 7.5 and 7.10 are now returned as 7.05 and 7.10,
	respectively. That is, the function shoulds be OK for sub-version
	numbers up to 99.

2010-12-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-132

	* geoplots/gmt/create_gmt_earth.m: Suppressed mlint warning

	* geoplots/gmt/gmt_plot.m (gmt_plot): Updated help

	* atmlab/atmlab.m: Forgot to add OPEN_COMMAND to help

	* geoplots/gmt/pslocations.m: Fixed bug

2010-12-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-131

	* geoplots/gmt/create_gmt_earth.m:
	Made some configure changes.

	* atmlab/atmlab.m:
	Added persistent variable: OPEN_COMMAND. As there are many file
	types available for the output figure it makes sense to open the
	figure using something like 'gnome-open'. e.g. set
	atmlab('OPEN_COMMAND','gnome-open') in startup.m

	* geoplots/gmt/exec_gmt_cmd.m:
	Updated in order to keep track of GMT output messages

	* geoplots/gmt/hardcoded_colors.m:
	* geoplots/gmt/makepolar.m:
	Smarter color tables. More desirable behaviour.

	* geoplots/gmt/grdimage.m:
	* geoplots/gmt/pscoast.m:
	* geoplots/gmt/nearneighbor.m:
	* geoplots/gmt/psscale.m:
	* geoplots/gmt/pscontour.m:
	Use psbasemap to open and close the ps-file and to define the
	region and projection. Commands that follow the psbasemap call
	now only need to specify -R -J

	* geoplots/gmt/pslocations.m:
	Enabled geo-located text without markers

	* geoplots/gmt/grdcontour.m:
	Fixed so that you can easily plot named contour levels.

	* geoplots/gmt/gmt_plot.m:
	1) Added short example in help section on how to create a figure
	2) Added more options to fine tune the appearance of the figure.
	3) More output figure types: in.figuretype supports pdf,ps,eps,tif, and png
	4) Catches errors in GMT script call

2010-12-15	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-130

	* sensors/atovs/avhrr_gac_read_raw.m: Adapted
	- Also read scans. Still raw data. Actual measurements still
	incorrect.

2010-12-14	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-129

	* sensors/atovs/avhrr_gac_read_raw.m: Added
	- Initial version. Appears to read headers correctly. Did not start on
	actual scanlines yet.

	* sensors/avhrr_define_gac_l1b.m ->
	sensors/atovs/avhrr_define_gac_l1b.m: Moved
	- Fits better with AMSU.

2010-12-14	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-128

	* sensors/avhrr_define_gac_l1b.m: Added
	- Define structure of AVHRR GAC L1B header and line

	* atmlab/atmlab.m: Adapted
	- Added field ATMLAB_DATA_PATH


2010-12-13  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-127

	* geoplots/gmt/gmt_unicode_converter.m: fixed bug

	* geoplots/gmt/gmt_plot.m: Directly catch if input
	field to plot is missing

2010-12-13  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-126

	* geoplots/gmt/hardcoded_colors.m: Added color
	table creator, based on a manually input colors. ncolors has to be
	equal to nlevels.

2010-12-10	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-125
	
	* sensors/calculate_footprint_size_amsu.m: Added
	- Calculates the size of an AMSU/MHS footprint as a function of
	viewing position. Can do AMSU-A and -B. Uses an elliptical
	approximation for the half-power-bandwidth based on Bennartz (2000).

2010-12-08  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-124
	
	* geoplots/gmt/gmt_unicode_converter.m: Converts strings so that
	many special characters can be given in title and legend. (oneliner)

	* geoplots/gmt/makepolar.m: Smarter options and handling of this
	color table

	* geoplots/gmt/equidistant_contours.m: Better default format string

	* geoplots/gmt/psscale.m:
	* geoplots/gmt/gmt_plot.m: 
	* geoplots/gmt/create_gmt_earth.m: 
	Added a multitude of more options from gmtdefaults, mostly related
	to the contour levels and plot lables

2010-12-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-123

	* demos/qarts_scattering_demo.m: A test setting was left.

2010-12-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-122

	* arts/qarts2cfile.m: Basic support for Beer-Lambert calculations.

	* demos/qarts_scattering_demo.m: Now also handling transmission
	calculations.

2010-11-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-121

	* geoplots/gmt/gmt_plot.m (gmt_plot): Included new options:
	1) in.gmtset: a cell of one or more gmtset commands to be called
	additionally.
	e.g.
	in. gmtset={'gmtset HEADER_FONT_SIZE 15p','gmtset BASEMAP_AXES 	NsWE'}

	2) in.tick_annotation_format: Directly specify the format for
	legend annotations (e.g. in.tick_annotation_format='%3.1e')

	3) in.shift_tick_annotations: Move the tick annotations in
	reference to the legend in inches (e.g in.shift_tick_annotations=0.5)

	* geoplots/gmt/create_gmt_earth.m (create_gmt_earth): Included
	possibility to pass additional gmtset commands.

	* geoplots/gmt/psscale.m (psscale): Included options
	in.tick_annotation_format, and in.shift_tick_annotations

	* geoplots/gmt/equidistant_contours.m: didn't support very small
	numbers. Now uses format %d.

2010-11-25 Ole Martin Christensen <olem@chalmers.se>

	* atmlab-1-0-120

	* fixed lacking ChangeLog entry

2010-11-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-119
	
	* geoplots/gmt/makerainbow.m (makerainbow): rm bug

	* geoplots/gmt/psscale.m (psscale): 
	Removed equalboxsize option (-L) and adapted to tickspacing
	option.

	* geoplots/gmt/create_gmt_earth.m (create_gmt_earth): 
	Updated legend section for tickspacing. Fixed NaN legend. If data
	can be determined to be global fix lon-region to -180/180.

	* geoplots/gmt/gmt_plot.m (gmt_plot): 
	
	Added option to manually decide how the ticks in the legend should
	be spread. in.tickspacing: x=> every xth data value, 1=>same
	number of ticks as datarange, []= one tick per contour level
	(default behaviour)

	Fixed option in.center, so that the user can define at which
	longitude to center the map (only for global data).

	Using homogenize_datalatlon, internally ensure that lat & lons are
	ascending, lons are in the -180:180 regime, and make sure that
	data has the dimensions data(lat,lon)

	Removed subfunctions unnecessary now that I use
	homogenize_datalatlon.

	Added more defaults to the setup section for better overview on
	gmt defaults. 

	Updated Help.
	

2010-11-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-118

	* geoplots/homogenize_datalatlon.m: Added geo-function For
	gridded data. Makes sure lat lons are ascending, lons are in
	-180:180 regime, and makes sure that data has the dimensions
	data(lat,lon).

2010-11-24  Ole Martin Christensen  <olem@chalmers.se>

        * atmlab-1-0-117

        * geophysics/profile2column.m: changed bug and info

2010-11-23  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-116

	* handy/catstruct.m (catstruct):
	A very useful function for merging structures:
	
	X = CATSTRUCT(S1,S2,S3,...) concates the structures S1, S2,
	... into one structure X.

	CATSTRUCT(S1,S2,'sorted') will sort the fieldnames alphabetically.

	If a fieldname occurs more than once in the argument list, only
	the last occurence is used, and the fields are alphabetically
	sorted.

	To sort the fieldnames of a structure A use: A =
	CATSTRUCT(A,'sorted') ;

	http://www.mathworks.com/matlabcentral/fileexchange/7842

2010-11-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-115

	* gmt/gmt_plot.m: something small.

2010-11-22  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-114

	* files/loadncvar.m: Added note about loadncfile in help section,
	removed frivolous in argument and use v{1} instead of char(v)

2010-11-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-113

	* geoplots/gmt/save_nc_gmt_input.m (save_nc_gmt_input): As this
	requires ungridded data, immediately through an error if it is not.

	* geoplots/gmt/grdimage.m (grdimage), 
	geoplots/gmt/pscoast.m (pscoast), 
	geoplots/gmt/nearneighbor.m (nearneighbor), 
	geoplots/gmt/pslocations.m (pslocations), 
	geoplots/gmt/pscontour.m (pscontour), 
	geoplots/gmt/create_gmt_earth.m (create_gmt_earth), 
	geoplots/gmt/psscale.m (psscale), 
	geoplots/gmt/pspoly.m (pspoly): 

	Execute all gmt commands at the end of gmt_plot wrapper. No longer
	locally. All gmt commands have the -O and -K set as there is now
	dummy opening .ps and a closing .ps files in create_gmt_earth.m

	* geoplots/gmt/psbox.m (psbox): change from lat,lon to lon, lat
	to match x,y conventions.
	
	* geoplots/gmt/equidistant_contours.m (equidistant_contours):
	Adapted to new datarange

	* geoplots/gmt/makecpt.m (makecpt): Adapted to new datarange


	* geoplots/gmt/gmt_plot.m (gmt_plot): 
	- Now datarange in defined as a 2 element vector [dmin,dmax] (as
	xlim, etc.)  - Added subfunction to created a separate legend.pdf
	file if requested. - Disabled option in.center as it doesn't work
	with the way I define the plot region. I'll fix it at some later
	date.  - Now always quietly put data in -180:180 format to
	simplify things.
	

2010-11-15	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-112

	* graphs/satboxplot.m: Added (helptext repeated here)
	Alternative boxplot. Bins the data (in y) according to bins (in xbin).
	For each bin, plots the median (by default a horizontal red line),
	a box connecting to the 25th and 75th percentile, and whiskers extending
	to the 1st and 99th percentile. All other data are considered outliers
	and plotted individually. To change what the result looks like, add
	additional arguments that will be passed on to <a href="matlab:help boxplot">boxplot</a>

	FORMAT

	  satboxplot(x, y, xbin, outlierstyle, ...)

	IN

	  x               numeric array
					  Data according to which y is binned.
	  y               numeric array
					  Data for which statistics are carried out, binned
					  according to the values of x, etc.
	  bincentres      Bin centres for x 
	  outlierstyle    Style for outliers, e.g. 'kx'
	  ...     all additional arguments passed on to <a href="matlab:help boxplot">boxplot</a>

	* math/bin.m: Added (helptext repeated here)
	Bin the contents of y in the bins x according to the values in x.
	E.g. y(i) is binned according to the value of x(i). Binning rules
	as for <a href="matlab:help histc">histc</a>.

	FORMAT

	  values = bin(x, y, xbin)

	IN

	  x       numeric array
				  values determine how y is binned
	  y       numeric array
				  values to bin. Must be the same size as x.
	  xbin    numeric array, monotonously increasing
				  bin edges (as for histc)

	OUT

	  values  cell array
				  Binned values.

	* collocations/colloc_constants.m: Expanded
	- Add CLOUDFLAG to CPR/AVHRR, also when stored in NetCDF

	* collocations/read_collocs_data_mean.m: Bugfix
	- Wrong case when calling netcdf.getVar

	* collocations/colloc_process_cpr_mhs.m: Bug-introduction
	- Comment out annoying assertion...

	* collocations/colloc_process_collocation_cpr_poes_avhrr.m: Bugfix
	- Fix bug in collection of raa, sza, lza.

	* collocations/collocate_granule.m: Expanded, wartfix
	- Add some logtext if not all collocations are selected, due to date
	boundaries
	- Remove redundant (error-prone?) second dimension slicing for time
	variables.

	* circular/circ_mean.m: Bugfix
	- Fix bug (not in my code) when getting confidence intervals on
	non-standard dimension.

	* datasets/common_read_collocation_cpr_mhs.m: Bugfix
	- Use cloudsat time to determine if we're on one day. That doesn't have to
	be the case for amsub-time (that is output) but must be for cloudsat time.


2010-11-12	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-111

	* circular/*: Added
	- Added Circular statistics toolbox by Philipp Berens (BSD license).

	* circular/circ_meand.m, circular/circ_distd.m: Added
	- Those two written by me, counterparts to circ_mean and circ_dist that
	take angles in degrees, not radians.

	* AUTHORS: Adapted
	- Added Philipp Berens

	* atmlab/atmlab_init.m: Adapted
	- Add circular/ to path

	* datasets/common_read_poes_radiometer.m: Adapted
	- Read angles

	* datasets/common_read_collocation_cpr_mhs.m: Adapted
	- Read all data from collocation file.
	
	* datasets/common_read_avhrr.m: Adapted
	- Read angles and interpolate (and extrapolate) to entire scanline.
	- Read cloudflag and 3A3B fields.
	- Move sat2netcdf to datasets_constants

	* datasets/common_read_cpr_2BCWCRO.m: Adapted
	- Adapt to changed format in dayofyear_inverse

	* datasets/datasets_constants.m: Adapted
	- Move sat2netcdf here, and add flags to also read cloudflag.

	* collocations/colloc_process_cpr_mhs.m: Adapted
	- Add angles

	* collocations/colloc_process_data_cpr_avhrr.m: Adapted
	- Add cloudflag

	* collocations/colloc_process_cpr_avhrr.m: Adapted
	- Add angles
	- Thought about selecting only the nearest one, but commented out this
	code on second thought.

	* collocations/colloc_process_data_poes_poes.m: Adapted
	- Fix bug: only find data where originals were selected (i.e. no doubles)

	* collocations/colloc_process_hirscs_poes.m: Adapted
	- Add angles

	* collocations/colloc_process_collocation_cpr_poes_avhrr.m: Adapted
	- Renamed fields
	- Add angles
	- Find closest CPR inside MHS to AVHRR 

	* collocations/colloc_process_data_collocation_cpr_poes_avhrr.m: Adapted
	- Added cloud flag
	- Don't mix 3A and 3B, rather have it in 3rd and 4th column, as with
	CPR/AVHRR, and set the 'wrong ones' to nan.

	* collocations/colloc_process_meandata_collocation_cpr_poes_avhrr.m: Adapted
	- Takes into account that nans are not valid, and that AVHRR has in one
	way six channels.
	- Renamed fields in collocation cpr/poes/avhrr

	* collocations/colloc_process_poes_poes.m: Adapted
	- Add angles (LAA, LZA, SAA, SZA)

	* collocations/collocation_read.m: Adapted
	- Fix bug in string formatting in error message.

	* collocations/colloc_constants.m: Adapted
	- Add angles (SZA, SAA, LZA, LAA, RAA) where applicable.
	- Add cloudflag where AVHRR.
	- Renamed fields in collocation cpr/poes/avhrr
	- Add cpr/avhrr to netcdf stored formats

	* collocations/write_collocations_netcdf.m: Adapted
	- Add new error identifier (for closing NetCDF already closed)


2010-11-12	Gerrit Holl <gerrit.holl@ltu.se>

	* atmlab-1-0-110

	* math/angular2D.m: Removed
	- This really is too incorrect to be of any use.

2010-11-12	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-109

	* math/angular2D.m: Added
	- Calculate some angular/circular statistics. This is actually more tricky
	than I thought so this may be completely wrong, although it appears to be
	correct at least for mean and interpolation. Not sure if a generic
	approach to this (by converting to "linear space") is actually possible.

2010-11-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-108

	* sensors/atovs/avhrr_gac_read_data.m: Added
	- Read SOME data from AVHRR GAC. Actually no brightness temperatures as
	those are uncalibrated. So far reads just some pretty angles. In the
	future, it would be nice to calibrate this stuff natively.

2010-11-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-107

	* sensors/atovs/atovs_define_hirsl1c.m,
	sensors/atovs/atovs_define_amsual1c.m,
	sensors/atovs/atovs_define_amsubl1c.m: Adapted
	- Fix off-by-one error in angles.

2010-11-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-106
	
	* sensors/atovs/atovs_define_hirsl1c.m,
	sensors/atovs/atovs_define_amsual1c.m,
	sensors/atovs/atovs_define_amsubl1c.m,
	sensors/atovs/atovs_read_data.m: Adapted
	- Also return angles (lza, laa, sza, saa). This makes amsu_fov2za
	redundant for most purposes.

2010-11-10  Bengt Rydberg  <bengt.rydbergn@chalmers.se>

	* atmlab-1-0-105

	* demos/asg_demo.m: updated, this demo generates atmospheric states 

	* arts/scenegen/asg_create_gfs.m: updated, the function can now
	generate both 1 and 3 dimensional atmospheric states 

	* arts/scenegen/asg_cloudsat_ecmwf.m: updated.

	* math/binning.m: updated, removed an errorcheck

	* handy/fun2dwrapper.m: updated, removed an errorcheck 
	
2010-10-28  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-104

	* time/dayofyear_inverse.m: 
	Changed the output structure fields back to year,month instead of
	yr,mn. This is for consistency with the output name conventions of
	find_info_from_granule, which output year,month, etc of a file
		

2010-10-28	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-103

	* collocations/collocation_read.m: Adapted
		- Implemented support for reading meandata via server.

2010-10-27	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-102

	* collocations/collocation_read.m: Typo.

	* collocations/collocation_read_frompipe.m: Adapted
		- Also print the remaining contents of the logfile.

2010-10-27	Gerrit Holl	<gerrit.holl@ltu.se>
	* atmlab-1-0-101

	* handy/wait_for_existence.m: Added
		- Sleep until a file jumps into existance.

	* collocations/collocation_read_frompipe.m: Added
		- Read collocations from Pytables collocation server

	* collocations/collocation_read.m: Adapted
		- Use Pytables collocation server when available
	
	* datasets/datasets_config.m,
	site-specific/kiruna/datasets_init.m: Adapted
		- Add paths for HDF5-collocations.

	* collocations/read_collocs_data_mean.m,
	collocations/write_collocations_netcdf.m: Adapted
		- Register cleanup-object for closing the NetCDF file

	* datasets/datasets_constants.m: Adapted
		- Add angles for different instruments.

	* datasets/find_granules_by_date.m: Adapted
		- Turn into ASCII (experimenting with mlabwrap)


2010-10-26      Marston Johnston    <marston@chalmers.se> 
	        * atmlab-1-0-100 
	 
	        * gridcreation/p_merge.m: change 
	                 - Added some comments when using variable "debug" 

2010-10-22	Marston Johnston     <marston@chalmers.se>
	* atmlab-1-0-99

	* h2o/thermodynamics/e2spechum.m
	  - function to convert partial pressure to specific humidity 

2010-10-22	Marston Johnston    <marston@chalmers.se>
	* atmlab-1-0-98

	* gridcreation/p_merge.m: added
		 - function to merge two vertical profiles (eg., AIRS and MLS) using
		   the uncertainties of each profile to create a weighted mean.


2010-10-19	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-97

	* handy/homedir.m: Adapted
		- Smarter implementation (don't do a system call, just use getenv
		directly). Also add error identifier.

2010-10-15	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-96

	* collocations/collocation_read.m: Adapted
		- @#$%$#@ Matlab changes error identifiers between versions!

	* collocations/write_collocations_netcdf.m: Adapted
		- @#$%$#@ Matlab changes behaviour between versions; redefining
		dimension no longer permitted
		- use try/catch to close file no matter what

	* collocations/collocate_granule.m: Adapted
		- Make sure secondary version is defined even if no secondary file is
		read; set to '?' in that case.


2010-10-15  Claudia Emde  <claudia.emde@lmu.de>

	* atmlab-1-0-95

	* scattering/box_pnd_mono_size_1d.m: Corrected documentation.

2010-10-15	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-94

	* files/loadncvar.m: Adapted
		- Fix matlab2010b warning by replacing inqVarId with inqVarID.

	* datasets/common_read_avhrr.m: Adapted
		- Fix matlab2010b warning by requesting 3 rather than 4 output
		arguments from fileparts.

	* collocations/write_collocations_netcdf.m: Adapted
		- Use random temporary filename
		- Check for existance of dimension before creating a new one; this
		caused an error in matlab2010b.

2010-10-15  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-93
	
	* math/isditto.m: Removed
	
2010-10-15  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-92
	
	* math/isditto.m: Make sure the arguments have the same size. This
	function may be pointless as there is an isequal built in
	function, but I don't know what that is doing do I'll keep this one

2010-10-15  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-91

	* math/isditto.m: Made a replacement function for obsolete
	"issame" function

2010-10-14	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-90

	* handy/struct2string_compact.m: Adapted.
		- Now also handles values that are not scalar numbers, but vectors or
		cells containing those.

	* collocations/limstruct2limmat.m: Adapted.
		- Now also handles cases where the limits only apply to a subset of
		channels.

2010-10-14	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-89

	* handy/optargs_struct.m: Added.
		This function provides a simply way to define default values for
		function inputs where this input consists of a structure. It takes two
		structures, one consisting of default values and one of user-provided
		values. It returns a structure containing the user values where
		provided and the default values otherwise.

2010-10-13	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-88

	* collocations/read_collocs_data_mean.m:
		- Fix bug occuring when requesting an aliased field for which channels could
		be, but weren't. Now correct for this by inserting the corresponding
		channels.

2010-10-13	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-87

	* collocations/collocation_read.m:
		- Return actual limmat and filters applied.
		- Add option to NOT apply those (but still return them).
		- Use new function cols_cell_to_cols_struct to get name_struct.

	* collocations/write_collocations_netcdf.m:
		- First write collocations to atmlab('WORK_SPACE'), only copy them to
		the final storage location when compressing (thus reducing the
		bandwidth used significantly).

	* collocations/cols_cell_to_cols_struct.m: ADDED
		- Mostly internal use, converts a cell array of column names (with
		possibly channel numbers in it as well) to a structure describing the
		same thing.

	* collocations/collocation_read_dual.m:
		- Adapt to modernity
		- Make sure at least one mean-field is requested
		- Correctly apply limits and filters
		- Improve documentation

2010-10-13  Ajil Kottayil  <ajil@ubuntu4>

	* atmlab-1-0-86

	* math/get_ascend_decend_node.m: 
	Fixed bug when ascend = NaN and clarified help section. 

2010-10-13  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-85
	
	* math/get_ascend_decend_node.m: Fixed help section. ascend=NaN if
	latitude is empty or has only one element.

2010-10-13  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-84
	
	* math/get_ascend_decend_node.m : Added function the outputs a
	logical if a pixel belongs to the ascend or descending node

	* geoplots/gmt/create_gmt_earth.m: in.rivers is flagged with a
	numeric and not a string from now on.

2010-10-12	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-83

	* collocations/colloc_constants.m: Define links differently.

	* datasets/common_read_collocation_cpr_mhs.m: Add comment about what is
	read.

	* datasets/common_read_avhrr.m: Don't cast epoch to uint32.

2010-10-12	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-82

	* collocations/colloc_process_*: Fix bug in time calculation. This bug
	affects the most recent collocation run.

	* collocations/write_collocations_netcdf.m: Add global attribute
	'Conventions'.

	* collocations/collocate_granule.m: Determine version before giving up on
	collocations, making secondary version 'N/A' if primary is empty; thus
	guaranteeing a version is always indicated.

	* site-specific/kiruna/datasets_init.m: Have one regexp for all POES,
	returning also the type.

	* datasets/common_read_collocation_cpr_mhs.m: Don't be silly, don't use
	uint32, that's asking for bugs.

	* datasets/common_read_poes_radiometer.m,
	datasets/common_read_cpr_2BCWCRO.m: Include the epoch. But not in uint32
	please.

2010-10-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-81

	* collocations/colloc_process_data_collocation_cpr_poes_avhrr.m:
	Pre-allocate based on M_c rather than on collocs, as doubles were removed
	from the former. Replace unused input arguments by ~.

	* collocations/collocation_read.m: When a multi-channel field is requested
	without specifying the channels, return all channels rather than just one
	or crash.

	* collocations/colloc_constants.m: FIRST and LAST don't fit in short, make
	it int instead. Also add mandatory aliases field.

	* collocations/read_collocs_data_mean.m: Fix bug, flag for
	var-is-column is actually -1, not 0.

	* collocations/colloc_process_collocation_cpr_poes_avhrr.m: Remove doubles
	after collocating.

	* collocations/collocate_granule.m: Check for emptiness /before/ rather
	than after fixing time.

	* datasets/common_read_collocation_cpr_mhs.m: Use C_TIME rather than
	B_TIME, as this has a better 'resolution' and as this one is used to sort
	per day.

	* ChangeLog: Document my changes.

2010-10-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-80

	* collocations/colloc_process_data_collocation_cpr_poes_avhrr.m,
	collocations/colloc_process_meandata_collocation_cpr_poes_avhrr.m,
	collocations/colloc_process_collocation_cpr_poes_avhrr.m: Adapt
	to changed nomenclature in colloc_constants (still from the move from
	colloc_config).

	* collocations/collocate_date.m: If a granule takes exactly one day,
	assume it doesn't contain data for more than one day, and don't take the
	previous day in find_granules_by_date.

	* collocations/colloc_constants.m: Add HIRSCS/MHS and
	collocation_cpr_mhs_avhrr. 

	* collocations/collocate_granule.m: Increase number of overlap checks from
	2 to 3: one overlap check when I have the primary data, but not the
	secondary. If only a small fraction of the primary granule actually
	contains data (as is often the case with collocations), we can refrain
	from reading many of the secondary granules. Use epoch field instead of
	buggy unify_time_axis.

	* time/unify_time_axis.m: Get rid of buggy function. Use epoch field
	instead.

	* time/dayofyear_inverse.m: Use simpler and faster approach. Convert to
	double to prevent rounding errors.

	* files/loadncvar.m: Rather than using a readattr argument, simply look at
	nargout te determine if the second output argument should be assigned.

	* datasets/common_read_collocation_cpr_mhs.m: Adapt to collocations that
	are now in NetCDF. Add version string and epoch field.

	* datasets/common_read_avhrr.m: Add version string and epoch field. Adapt
	to modernity. Use atmlab('WORK_AREA') rather than /tmp/.

	* datasets/datasets_constants.m: Include abbreviated satellite names so
	that amsub_or_mhs also works for N15, N16, etc.

	* datasets/TODO: TODO: add epoch fields to all reader functions.

	* ChangeLog: Document my changes.

2010-10-11	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-79

	* collocations/collocation_read.m: Check for legacy calling signature.
	Issue a warning but proceed if this is the case.

	* collocations/write_collocations_netcdf.m: Write trailing newline to
	atmlab('OUT') rather than always to stdout (fid 1).

2010-10-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-78

	* collocations/colloc_select_good_lines.m: Put back ugly special-case
	hack, I was too optimistic "don't need it any longer" when I removed it.

2010-10-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-77

	* collocations/colloc_constants.m: For POES/POES-data, I'm storing
	AMSU-B/MHS, not all of AMSU. Also fix dimensions.

	* collocations/read_collocs_data_mean.m: Bugfix: 0 is a valid varid, so
	cannot be used as a flag. Use -1 as a flag instead.

	* collocations/write_collocations_netcdf.m: Don't define a dimension
	already defined before, rather just reuse it. Optionally define extra
	attributes to be stored.

	* math/combine_rows.m: Fix typo in helpstring.

	* datasets/datasets_config.m, site-specific/kiruna/datasets_init.m: Add
	'legacy' datasets (old-style collocations).  

	* datasets/common_read_avhrr.m: Update to split colloc_config.

	* ChangeLog: Document my changes


2010-10-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-76

	* datasets/datasets_config.m, site-specific/kiruna/datasets_init.m: Add 4
	more CloudSat CPR datasets and alias the old one to cloudsat_2B_CWC_RO.
	Also add docs on how to add new datasets.

	* collocations/colloc_process_poes_poes.m: Fix bug, called _mhs_mhs, not
	_poes_poes.

	* collocations/write_collocations_netcdf.m: Fix bug, POES has no meandata.

	* datasets/README: Add note on where to find help for adding new datasets.

	* datasets/TODO: cleared two items that are DONE.

2010-10-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-75

	* site-specific/kiruna/datasets_init.m: Match either full path or just
	basename.

	* datasets/find_info_from_granule.m: Update documentation according to
	change in datasets_init

	* datasets/find_granules_by_date.m: Update call according to changed
	regexp in datasets_init.

2010-10-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-74

	* datasets/find_info_from_granule.m: Added: returns information about a
	granule based on its filename. E.g. the hour and the minute for a MHS
	granule, the year, day of your, hour and minute for a CloudSat CPR
	granule, etc. For more information, please read the help-text.

	* datasets/list_datasets.m: Added: return a list of all datasets that can
	be used in functions like find_info_from_granule, find_granules_by_date,
	etc.

	* handy/prstnt_struct.m: CHANGED BEHAVIOUR in case no arguments are
	passed. Instead of printing the structure to the screen, return its value.
	In theory, this can break existing code, but also in theory, any
	programmer eval-ing stuff written to the screen deserves crushing by
	elephant. In the new behaviour, the caller can actually find out fields
	that are valid. If this changed behaviour causes problems in well-designed
	code, please write to atmlab-dev@www.sat.ltu.se.

	* datasets/read_granule.m: Add a 'force' option: instead of raising an
	error, a failure in reading will give "just" a warning and return an empty
	array.

	* collocations/colloc_process_cpr_mhs.m,
	collocations/colloc_process_data_cpr_mhs.m: Don't crash if HIRS or AMSU-A
	missing or broken.

	* datasets/find_granules_by_date.m, datasets/find_granules_for_period.m,
	datasets/find_datafile_by_date.m, datasets/find_datadir_by_date.m,
	datasets/read_granule.m, datasets/find_info_from_granule.m: Advertise
	list_datasets here.

2010-10-08  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-73

	* atmlab/atmlab_init.m: Throws a warning message if there are no
	directories for specified site (from atmlab('SITE') in atmlab_conf
	if configured). e.g. 'Kiruna' instead of 'kiruna'

2010-10-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-72
	
	* geoplots/gmt/makepolar.m (makepolar): accidentally left a 'keyboard'


2010-10-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-71

	* geoplots/gmt/polygoninize_regions.m (polygoninize_regions):
	Small changes. This function is for plotting lines (e.g. for
	region boundaries) using GMT.

	* geoplots/gmt/makepolar.m: Completely overhauled. Manually
	generates .cpt-file where contours less than a reference value
	(e.g. in.reference=0 for difference plots) are blue and contours
	for values higher than reference are red. Contours around the
	reference values are white. Smooth transition of colors even if
	the reference value is no where near the middle.

	* geoplots/gmt/create_gmt_earth.m: Cleaned up and commented.

	* geoplots/gmt/equidistant_contours.m: Cleaned up and commented.

	* geoplots/gmt/gmt_plot.m: Updated help section for difference plots

2010-07-07	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-70
	
	* collocations/colloc_constants.m: Add POES/POES for NetCDF. Untested.

	* collocations/colloc_process_data_cpr_mhs.m: Log less.

	* datasets/find_granules_for_period.m: Also return paths.

	* datasets/find_granules_by_date.m: If no regexp, look for exact match
	  based on filename and string replacement.
	
	* (various): Set $Id$ tag.

2010-07-07	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-69

	* collocations/collocate_date.m: Less confusing logging.

	* collocations/overlap_granule.m: Fix typo: dataset -> datasets

	* collocations/collocate_and_store_date.m: Correctly check for existance,
	  even with poes/poes

	* collocations/collocate_granule.m: Less logging but more information.

	* datasets/find_granules_for_period.m: Work in progress to also return
	paths.

2010-07-07	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-68

	* .cvsignore, physics/.cvsignore: Removed, not necessary anymore.

	* AUTHORS: Expanded list of my own contributions and added a note that
	  the list of authors is not exhaustive.

	* CONFIGURE, README, INSTRUCTIONS: Added info on site-specific and mailinglist.
	
	* collocations/colloc_colname2no.m: After the transition to NetCDF, column
	  numbers are no longer used, so nor is this function.
 
	* collocations/colloc_get_path_cpr_poes_radiometer.m,
	  collocations/colloc_get_path_cpr_avhrr.m,
	  collocations/colloc_get_path_poes_poes.m,
	  collocations/colloc_get_path_collocation_cpr_poes_avhrr.m,
	  colloc_get_path_hirscs_poes_radiometer: Removed, now handled
	  fully  by find_datafile_by_date
	
	* collocations/collocation_read.m, collocations/read_collocs_data_mean.m: Move fully to NetCDF, will temporarily
	  break reading other kinds of collocations. 

	* collocations/colloc_constants.m: Rename POES to MHS. Use
	replace_aliases.

	* collocations/overlap_granule.m: Adapt for split colloc_config

	* collocations/write_collocations_netcdf.m: Adapt for new
	find_datafile_by_date.

	* collocations/collocate_and_store_date.m: Adapt for new
	find_datafile_by_date and split colloc_config.

	* collocations/colloc_select_good_lines.m: Remove ugly special-case hack,
	declare out-of-alpha.

	* collocations/collocate_granule.m: Changed message identifier.

	* atmlab/atmlab_init.m: Use whichfiles.

	* site-specific/kiruna/datasets_init.m: CPR now per day, and point direct
	to /storage4, not to ~gerrit/... (symlink there).

	* handy/replace_aliases.m: Added. Replaces aliases.

	* datasets/datasets_config.m: Catch error, try again with replaced
	aliases.

	* datasets/find_datadir_by_date.m: Error in error-string...

	* datasets/find_datafile_by_date.m: Elaborate documentation.

	* datasets/datasets_constants.m: Move some constants from colloc_constants
	here.

	* datasets/strrep_variables.m: Issue warning if replacing $SAT when $SAT1
	is present.

	* datasets/TODO: Added function suggested by Salomon.

	* datasets/number_sats_in_dataset.m: Added. Gives the number of satellites
	needed to characterise a particular dataset fully.

2010-10-07	Bengt Rydberg	<bengt.rydberg@alumn.chalmers.se>

	* atmlab-1-0-67

	* arts/scenegen/: updated asg (atmospheric state generator)
	functions to work with the current gformat structure
	asg_2d23d.m
	asg2q.m
	asg_create_gfs.m
	asg_dbz2pnd.m
	asg_dimadd.m
	asg_hydrostat.m
	asg_iwc_relhumid.m
	asg_pathiwc.m
	asg_regrid.m
	asg_rndmz.m
	asg_zeropad.m

	* arts/scenegen/asg_bin.m: added 
	bin data on gformat structure
	
	* arts/scenegen/asg_crop.m: added
	picks out data inside specified regions
	on gformat structure
	
	* arts/scenegen/asg_cloudsat_dBZe.m: added
	reads in relevant (for asg) data fields from cloudsat data
	
	
2010-10-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-66

	* datasets/: Directory added with some new content, but mostly moved from
	  elsewhere.

	* The Big Move:
	  collocations/find_granules_by_date.m, handy/find_datafile_by_date.m,
	  handy/find_granules_for_period.m, handy/amsub_or_mhs.m,
	  sensors/read_granule.m, sensors/granule_first_line.m,
	  handy/find_datafile_by_date.m, sensors/read_granule.m
	  --> datasets/

	  collocations/colloc_read_* -> datasets/common_read_*
	  collocations/colloc_read_cpr.m -> datasets/common_read_cpr_2BCWCRO.m

	* collocations/colloc_get_filename_hirscs.m: Deleted, treated by revised
	  datasets/find_datafile_by_date.m

	* collocations/colloc_config.m, collocations/colloc_constants.m,
	  datasets/datasets_config.m, datasets/datasets_constants.m: Split
	  collocations/colloc_config.m in 4, trying to fit all where it best
	  belongs.

	* site-specific, /kiruna, /datasets_init.m: Started a site-specific
	  directory along with a site-specific Kiruna initialisation with
	  constants for the datasets.

	* handy/alias.m: Added. Define aliases.

	* handy/strrep_multi.m: Added. Multi-string replacement.

	* datasets/strrep_variables.m: Added. Replaces particular strings. Here
	rather than in handy/ because it's so specific.

	* datasets/find_datadir_by_date.m: Split off code from
	  find_datafile_by_date, is this is also useful for find_granules_by_date.

	* datasets/README: Start README for this section. To be expanded.

	* datasets/TODO: Start TODO for this section. To be expanded.

	* datasets/find_granules_by_date.m, datasets/find_datafile_by_date.m:
  	  Complete rewrite, more flexible approach, no more need for get_filename_* etc.
	  Latter can also return non-existing (to-be-written) paths.

	* datasets/common_read_poes_radiometer.m: Assert monotonically increasing
	time-axes. Was causing problems when locating meandata.
	
	* collocations/colloc_process_data_collocation_cpr_poes_avhrr.m,
	collocations/colloc_process_poes_poes.m,
	collocations/colloc_process_meandata_collocation_cpr_poes_avhrr.m,
	collocations/colloc_colname2no.m, collocations/collocate_date.m,
	collocations/colloc_process_data_cpr_mhs.m,
	collocations/read_collocs_data_mean.m,
	collocations/colloc_process_cpr_mhs.m, collocations/overlap_granule.m,
	collocations/write_collocations_netcdf.m,
	collocations/colloc_process_data_hirscs_poes.m,
	collocations/collocation_read_dual.m,
	collocations/colloc_process_data_cpr_avhrr.m,
	collocations/colloc_process_data_hirscs_poes.m,
	collocations/collocate_and_store_date_range.m,
	collocations/collocation_restrain.m,
	collocations/colloc_process_meandata_cpr_mhs.m,
	collocations/colloc_process_cpr_avhrr.m, collocations/collocate_granule.m, 
	  Adapt for split colloc_config.

	* collocations/colloc_get_path_cpr_poes_radiometer.m,
	collocations/colloc_get_path_cpr_avhrr.m,
	collocations/colloc_get_path_poes_poes.m,
	collocations/write_collocations.m,
	collocations/colloc_get_path_collocation_cpr_poes_avhrr.m,
	collocations/colloc_get_path_hirscs_poes_radiometer.m, 
	  Deprecated, will be removed ASAP.
	
	* collocations/collocation_read.m,
	collocations/write_collocations_netcdf.m,
	collocations/collocate_and_store_date.m
	  Added note: needs rewrite after todays mayhem.

	* collocations/collocate_granule.m: Check for invalid data.

	* atmlab/atmlab.m: Added OUT and ERR options, to redirect logging.

	* atmlab/atmlab_init.m: Added directory for datasets. Resort paths
	anti-alphabetical. Added framework for SITE: in the site-directory, any
	_init will be executed after atmlab_init.m.

	* datasets/read_granule.m: Don't flood screen with logging.

	* ChangeLog: Documented my changes, including this on.
	

2010-10-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-65

	* handy/rqre_nargin.m: Header text described another function.
	(Gerrit: I made this set of functions to make the input checks
	more compact. nargchk is more advanced than this function, but as
	it just returns an error message, you need an if statement etc. in
	the calling function. With this function, you just need one line
	of code.)

	* gformat/gf_set.m: gf_set fields was set incorrectly.

	* atmlab/atmlab_init.m: atmlab('defaults') now called only if no
	atmlab_conf found.

	* math/getdims.m: Removed demand that A has to be numeric.
	Unesseary limitation.

2010-01-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-64

	* collocations/write_collocations_netcdf.m: Don't crash if there is no
	  meandata. There may actually be no meandata if all occasions with
	  B_DIST<7.5 km have flagged values for ROIWP, as happens for collocations
	  with NOAA-16 on 18 January 2008.

2010-01-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-63

	* collocations/colloc_process_meandata_cpr_mhs.m,
	  collocations/colloc_process_meandata_collocation_cpr_poes_avhrr.m: Fixed
	  bug. The bug was caused by using length(foo) instead of size(foo, 1),
	  causing a bug if the number of averaged collocations would be less than
	  the number of fields that I was unique-ing on, in this case 2. This is
	  rare, but happened for CloudSat-CPR 2008-01-12 04:58 with NOAA-15 AMSU-B
	  2008-01-12 04:28.

2010-01-05	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-62
	
	* handy/find_datafile_by_date.m: Can specify a tolerance in seconds if the
	  starting date/time is not exact. Use case: MSPPS granules may start a
	  minute /after/ the corresponding AMSU granule. Highly annoying, but with
	  by specifying a sufficiently large tolerance one can now still use the
	  AMSU starting time to locate the MSPPS granule.

	* collocations/colloc_process_data_cpr_mhs.m: Use the tolerance as
	  described above. Assert that MSPPS should have the same number of rows
	  as AMSU. If not, ignore the entire granule. I store things by
	  row-number, so if MSPPS is larger or smaller due to one extra or missing
	  row, I risk getting the wrong data everywhere.

2010-01-05	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-61

	* collocations/colloc_concatenate_colloc_data_mean.m: Fixed bug,
	difference between any(foo) and any(foo(:), 'if any(foo)' is actually 'if
	all(any(foo))'; this led to bugs when concatenating structures with very
	few averaged collocations (those would be considered to be 0).

2010-01-05	Gerrit Holl <gerrit.holl@ltu.se>

	* atmlab-1-0-60

	* collocations/collocation_read.m: Catch error if file cannot be
	gunzipped.

	* collocations/read_collocs_data_mean.m: Use atmlab('WORK_AREA') rather
	than '/tmp/'

	* collocations/overlap_granule.m: Do not add a column with satellite
	numbers. This is bug-prone and not generic.

	* sensors/cloudsat_read_zipped.m: Use atmlab('WORK_AREA') rather than
	tempdir.

	* sensors/granule_first_line.m: Add a bit more documentation on what
	should or shouldn't happen.

2010-01-05	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-59
	
	* collocations/find_granules_by_date.m: Also return filename list.

2010-01-04	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-58

	* collocations/colloc_concatenate_colloc_data_mean.m: Include data
	versions.

	* collocations/read_collocs_data_mean.m: Always gzipped, simpler approach
	to ignoring numbers, 

	* collocations/write_collocations_netcdf.m: Always gzipped, include data
	versions, put rows first in multi-column data.

	* collocations/colloc_config.m: Always gzipped.

	* collocations/collocate_granule.m: Include versions.


2010-01-04	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-57

	* collocations/collocation_read.m: NetCDF should be gzipped

	* collocations/colloc_read_poes_radiometer.m, colloc_read_cpr: Add path
	and version for data.

	* collocations/find_granules_by_date.m: Raise error if basedir not found.

	* collocations/read_collocs_data_mean.m: Add support for reading only
	particular columns. Add warning that this is in transition. NetCDF should
	be gzipped.

	* collocations/write_collocations_netcdf.m: NetCDF should be gzipped.

	* collocations/colloc_config.m: Add aliases MHS = AMSU(16:20) and more.

	* collocations/colloc_read_cpr.m: Add path and version for data.
	
2010-01-04	Gerrit Holl	<gerrit.holl@ltu.se>


	* atmlab-1-0-56

	* sensors/cloudsat_read.m: Can now return global attributes. Note: IMHO
	this function can use some improval, it's slightly messy at places.

2010-10-01	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-55

	* math/combine_rows.m: Added. Returns matrix with all combinations of rows
	from all arguments.

	* handy/struct2string_compact.m: Added. Returns compact string
	representation of scalar structure (all values must be scalar numbers).

2010-09-24	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-54

	* collocations/collocation_read.m: Temporary hack to check whether we're
	doing NetCDF or not

	* collocations/read_collocs_data_mean.m: Start implementing NetCDF
	reading.

	* handy/structsearch.m: Return the first if only one is found.

	* ChangeLog: Add my own AND Ole's previous one, as Ole forgot to commit
	his ChaneLog (but fortunately it was on the SVN-list :P)

2010-09-24  Ole Martin Christensen  <olem@chalmers.se>

    * atmlab-1-0-53

    * geophysics/profile2column.m: Function for calculating the column
      values given retrived profile(s)

2010-09-24	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-52

	* collocations/colloc_get_path_cpr_poes_radiometer.m: Transition to
	NetCDF: function can return either the new style (nc) or old style
	(colloc/data/mean) collocation files.

	* collocations/read_collocs_data_mean.m: Fix bug occuring in case one
	requests data columns, but no overlap columns.

	* collocations/write_collocations_netcdf.m: Transition to NetCDF: function
	to write collocations to NetCDF. Only tested for CloudSat so far. Will be
	merged into write_collocations at a later date.

	* collocations/collocate_and_store_date.m: Use write_collocations_netcdf.

	* collocations/colloc_config.m: Move firstline-granules default location
	away from my own home-directory. Transition to NetCDF, add 'stored style'
	field to cols_cpr_poes

	* collocations/collocation_read_dual.m: Disable this function as it's
	currently not working, due to the removal, by default, of lines by
	collocation_read, in order to prevent doubles.

	* collocations/colloc_process_meandata_cpr_mhs.m: Fix bug: CV was
	inversely defined!

2010-09-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-51

	* gridcreation/gridconvert.m: Updated input checks. 

	* gridcreation/grid_weightspaced.m: Created.

2010-09-16  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-50

	* geoplots/gmt/gmt_plot.m (gmt_plot): Took care of annoying demand
	that fieldnames 'lat' and 'lon' must be included arguments. Now
	excepts 'lat', 'Latitude', 'latitude','lon',' Longitude',
	'longitude', 'long' as structure field names. This is nice so that
	I can plot data directly from swaths using the geo-fieldnames,
	which were used to read the geo-data.

2010-09-14  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-49
	
	* math/binning_fast.m: Error in help section

	* geoplots/gmt/polygoninize_regions.m: Better help section 

2010-09-13  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-48
	
	* time/dayofyear_inverse.m: Added function that is the opposite of
	dayofyear, i.e. if you have the day of year and want the month
	and day.

	* geoplots/gmt/polygoninize_regions.m: Added function that outputs
	the necessary arguments for plotting regions with GMT, e.g. used
	in wrapper function plot_empty_regions.m. This function is
	especially useful for plotting region outlines on top of data
	plotted with GMT.

	* geoplots/gmt/plot_empty_regions.m: Added function that display
	the outline of regions on an empty map using GMT. The only
	manditory argument are the coordinates for the regions. The
	function is especially useful in that it can handle composite
	regions, i.e. made up of many rectangular regions next to each
	other.
	

2010-09-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-47

	* files/whichfiles.m: Output argumement was not set if folder just
	contains folders. 

	* atmlab/atmlab_init.m (atmlab_init): The folder V7-4 is now added
	to the search path, if the the version is < 7.4. This is a
	different way to handle backward compatibility than the old,
	removed, system.

	* V7-4: Created this folder.
	
	* V7-4/assert.m (assert): Added this function by Gerald Dalley,
	taken from Matlab Central.

2010-09-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-46

	* arts/arts_poslos2cart.m: Changed 89.99 to 89.9999, to be
	consistent with arts. (Used hours to find what I assumed was a
	problem in arts!)

2010-09-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-45

	* collocations/collocation_read.m: Extend documentation.

2010-09-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-44

	* collocations/colloc_process_poes_poes.m,
	collocations/colloc_process_data_cpr_mhs.m,
	collocations/colloc_process_cpr_mhs.m,
	collocations/colloc_process_cpr_avhrr.m, collocations/collocate_granule.m: Remove doubles after
	processing, but not on reading, because the row numbers will be wrong.

	* collocations/colloc_process_data_cpr_mhs.m: Do not remove doubles on
	reading, because the row-numbers will be incorrect.

	* collocations/collocation_read.m: Always get rid of doubles. The opposite
	is temporarily impossible, it is extremely unlikely that is what you want.
	Will add data fields required to find doubles to output.

	* collocations/colloc_config.m: Add a field to indicate what columns to
	pass on to the double-removing filter.

	* collocations/collocation_restrain.m: Catch error if filter fails.

	* sensors/read_granule.m: Optionally keep doubles. This is what you want
	prior to collocations, otherwise finding the original data is tricky, as
	row-numbers will be screwed up.


2010-09-06  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-43

	* math/taylor_diagram.m (taylor_diagram): Added script to create
	the infamous Taylor diagram. It is used to visualize (on a
	circular plot) the inter-comparison of datasets compared to a
	reference data set in terms of STD, RMSD and correlation. See:
	" K. Taylor , Summarizing multiple aspects of model performance in
	a single diagram Journal of Geophysical % Research-Atmospheres,
	2001, V106, D7. " for further details

2010-09-06	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-42

	* collocations/colloc_process_poes_poes.m,
	collocations/colloc_process_cpr_mhs.m,
	collocations/colloc_process_collocation_cpr_poes_avhrr.m,
	collocations/colloc_process_hirscs_poes.m,
	collocations/colloc_process_cpr_avhrr.m:
	Replace +1-second wart by slightly less horrifying round(...) wart.
	
	* collocations/colloc_process_data_cpr_mhs.m,
	collocations/colloc_process_cpr_mhs.m,
	collocations/collocate_granule.m: Use read_granule to read granule.

	* collocations/colloc_select_good_lines.m: Correct for +1-second wart here instead of
	in granule_first_line. Still horrid, though.

	* sensors/read_granule.m: Use some fancy magic to get rid of double
	scanlines.

	* sensors/granule_first_line.m: Move compensation for ugly +1-second wart
	from here to collocations/colloc_select_good_lines.m where it is very
	slightly less out of place.

	* TODO: Get rid of ugly +1-second wart, add sat/sensor-pairs for
	scanline-numbers and thus for read_granule.

	* ChangeLog: Document my changes.

2010-09-03	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-41

	* collocations/collocate_date.m,
	collocations/colloc_concatenate_colloc_data_mean.m,
	collocations/colloc_config.m, collocations/collocate_granule.m: Get rid of buggy 'unicol' system.

	* collocations/colloc_read_poes_radiometer.m: Shift dimensions so that the
	scanline is always in the first dimension.

	* collocations/colloc_process_data_cpr_mhs.m,
	collocations/colloc_process_data_hirscs_poes.m,
	collocations/colloc_process_data_poes_poes.m: Adapt to shifted dimensions.

	* collocations/colloc_read_hirscs.m: Added FIXME to use scanline numbers
	for the removal of doubles.

	* sensors/read_granule.m: Started high-level function intended to read
	/any/ granule from /any/ satellite/sensor-pair. Working but not yet used
	in production code.

	* ChangeLog: documented changes, added version numbers for the past 7
	changes but having an edit conflict as Patrick did the same.

	* TODO: Removed items done, added note on scanline numbers in
	colloc_read_hirscs.

2010-09-03  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-40

	* gformat/atmdata_regrid.m: And here wrong pressure grid was
	inserted.

	* gformat/gf_regrid.m: Returned structure was not updated with new
	grids.

2010-09-03	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-39

	* collocations/README: Moved documentation to satpage.

2010-09-02	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-38

	* collocations/collocation_read.m: Move filters to separate file.

	* collocations/colloc_config.m: Add field to describe where
	firstline-hashtables can be found.

	* collocations/collocation_read_dual.m: Add support for filters.

	* collocations/colloc_select_good_lines.m: Also needs the sensor
	(noaa18/mhs != noaa18/avhrr)

	* collocations/collocation_restrain.m: Move filter support here.

	* sensors/granule_first_line.m: Added: returns lowest (scan)line not
	occuring in previous granule.

2010-08-27	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-37

	* collocations/collocation_read.m: Adapt support for filters: can pass
	additional arguments to the filter.

	* collocations/find_granules_by_date.m: Sort granules upon return.

	* handy/find_granules_for_period.m: Return a matrix with all granules for
	the period for the satellite/sensor-pair.

	* collocations/colloc_select_good_lines.m: Fix bug: Don't assume noaa19,
	actually, don't assume anything, pass on the satellite in question.

2010-08-25	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-36

	* collocations/collocation_read.m: Add support for filters, handles passed
	on the the function, for arbitrarily complicated subselections.

	* collocations/colloc_select_good_lines.m: Filter to be used with
	collocation_read, throws out lines occuring in the granule before.

	* collocations/{TODO,README}: Update to reflect implemented functionality.

	* handy/logtext.m: Do not print the name (code) of anonymous, inline
	functions.

2010-08-23  Ole Martin Christensen  <olem@chalmers.se>

	* atmlab-1-0-35

	* arts/qartsSensor.m (qartsSensor): *sensor_responseBackendFrequencySwitch 
	changed to *sensor_responseBackendFrequencySwitching in the description of 
	F_SWITCHING.

2010-08-20  Ole Martin Christensen  <olem@chalmers.se>

	* atmlab-1-0-34

	* arts/qarts.m (qarts): qarts_set_abs_lookup in description 
	of Q.ABSORPTION changed to qarts_abstable. 
	
	* retrieval/qpack/qpack2.tex: Fixed minor typos. 

2010-08-20  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-33

	* geophysics/p2z_cira86.m: Instead of setting t, z was set twice.

2010-08-19  Ole Martin

	* atmlab-1-0-32

	* atmlab/atmlab.m: Default for EXTRAP and DEBUG is now
	false (instead of 0).

2010-08-18  Marston Johnston  <marston@chalmers.se>

	* atmlab-1-0-31

	* h2o/thermodynamics/e_eq_water_gg.m: created 

	* h2o/thermodynamics/e_eq_ice_gg.m: created 
	
2010-08-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-1-0-30

	* handy/hostname.m (hostname): Now checks if newline before
	removing last character.

	* handy/whoami.m (whoami): Trailing newline is now removed.

2010-08-13  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-29

	* math/binned_statistics.m:

	Turn off divideByZero warning. It will be shown calculating mean for
	empty bins. We can ignore the warning because the result is still what
	we want and in 2010a and later the warning is not displayed anyway.

2010-08-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-28

	* geoplots/gmt/gmt_plot.m (gmt_plot): Clarified what the default
	variable name is in help. Now displays a descent error message if
	the data is empty.

	* geoplots/gmt/create_gmt_earth.m (create_gmt_earth): Small fixes
	including removing redundent stuff.

2010-08-09  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-28

	* math/binned_statistics.m: Clarify docs to deconfuse native speakers.

2010-07-30	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-27

	* collocations/colloc_read_avhrr.m: Respect settings in colloc_config,
	don't mindless log to fid 1.

2010-07-29	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-26

	* collocations/collocation_read_dual.m: Add documentation.

2010-07-28	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-26

	* collocations/limstruct2limmat.m: Added. Convert limits structure to
	limits matrix.

	* collocations/collocation_read.m: Use new limstruct2limmat function.

	* collocations/colloc_config.m: Add links, used by collocation_read_dual

	* collocations/collocation_read_dual.m: Simplify the format, read
	secondary stuff from colloc_config rather than having it somewhat
	redundantly passed on. Added support for limits on secondary pair. 

2010-07-27	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-25

	* collocations/collocation_read_dual.m: Added. This function is for "dual
	reading": for example, read collocated-data/AVHRR-collocations, and from
	the 'pointers' in this one, read corresponding lines from
	CPR/MHS-meandata. This function is in early development and will change
	significantly.

	* collocations/collocation_read.m: Don't crash on empty limits-struct.

	* collocations/colloc_read_collocation_cpr_poes.m: Actually read the
	meandata file, even when the collocations file is given as an argument. Or
	actually read both, to get unique MHS pixels but only there where averages
	were taken. Needed for application with
	collocated-data/AVHRR-collocations, but not very pretty to have it here.
	To be thought through later...

	* collocations/TODO: Added entry to wish for a better solution to the
	problem solved uglily as mentioned in the Changelog entry above.

2010-07-27	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-25

	* collocations/colloc_concatenate_colloc_data_mean.m: Add support for
	meandata, so that CloudSat/MHS or collocated-data/AVHRR can be read again.

	* collocations/read_collocs_data_mean.m: Check for emptiness before
	proceeding with data and mean, because the latter crashes on emptiness.

	* collocations/collocate_granule.m: try/catch around reading primary, and
	check for emptiness

	* time/unify_time_axis.m, time/compensate_wraparound.m,
	time/find_common_time.m: Check for emptiness.

2010-07-26	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-24

	* collocations/colloc_concatenate_colloc_data_mean.m: Fix bug introduced
	when the "get rid of doubles" feature was added; failed when there was no
	data in the first place.

2010-07-23	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-23

	* collocations/colloc_read_collocation_cpr_poes.m: Add support for reading
	collocations from the make-new-collocations pov to facilitate collocations
	between cpr-poes-collocations and avhrr.

	* collocations/colloc_process_*_collocation_cpr_poes_avhrr.m,
	collocations/colloc_get_path_collocation_cpr_poes_avhrr.m: Add support for
	collocations between cpr-poes-collocations and avhrr.

	* collocations/colloc_concatenate_colloc_data_mean.m: Bugfix: only
	concatenate data if there is any.

	* collocations/find_granules_by_date.m: If no regexp exist, just return
	the date (one granule per day).

	* collocations/colloc_config.m: Add support for collocations between
	cpr-poes-collocations and avhrr. 

	* collocations/README: Fix numbering.

	* collocations/TODO: Add note on fixing doubles with meandata (this makes
	the aforementioned new feature still partly unuseable) and wish limiting
	collocations to 1 of the smaller ones (e.g. CPR collocates only with at
	most one MHS)

	* collocations/colloc_process_hirscs_poes.m: Fix documentation errors.

	* handy/find_datafile_by_date.m: Add support for cases where files are
	stored per day and only one file per day, with foo_filename. This
	facilitates finding the collocation files mentioned above.

2010-07-22	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-22

	* collocations/collocate.m: More intelligent pre-allocation.

2010-07-09  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-21

	* math/average_bins2.m: Renamed to binned_statistics.m.

	* math/average_bins.m: Removed.

	* math/binned_statistics.m: Update documentation.

2010-07-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-20

	* collocations/colloc_read_hirscs.m: Check for doubles and return only one
	copy of each double. Also rotate bt and lc fields to be more consistent.

	* collocations/colloc_process_data_hirscs_poes.m: Adapt for rotated bt and
	lc fields.

2010-07-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-19
	
	* collocations/collocate_date.m: When collocating a particular date, do
	this a bit more nicely than just taking all granules starting on this
	date. Instead, collocate all granules containing any data for this date,
	and then cut off those collocations that are outside the date boundary,
	for the primary satellite.

	* collocations/colloc_concatenate_colloc_data_mean.m: Raise an error when
	trying to use the not-implemented feature.

	* collocations/find_granules_by_date.m: To assist collocate_date, also
	return yesterdays last granule, as this also covers something for the
	date. If available, that is.

	* collocations/overlap_granule.m, handy/find_datafile_by_date.m:
	Adapt for changed default behaviour for find_granules_by_date

	* collocation/collocate_granule: To assist collocate_date, add a flag
	forcing it to return only collocations on the same day as either the start
	or the end of the first granule.

2010-07-08  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-18

	* math/average_bins2.m: Complete rewrite to make it more flexible.

2010-07-08	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-17

	* collocations/collocation_read.m: Add additional error check in exception
	handling.

	* collocations/colloc_concatenate_colloc_data_mean.m: When concatenating
	data, get rid of doubles. Now takes additional 'unicol' argument that
	determines what columns in the data are used to identify whether a
	collocation is a repetition of a previous one (should be something like
	lat1/long1/time1/lat2/long2/time2).

	* handy/unique2.m: Return those rows in second matrix not occuring in the
	first matrix (as a logical).

	* collocations/collocate_date.m, collocations/collocate_granule.m: Adapt for new
	colloc_concatenate_colloc_data_mean; pass on unicol argument.

	* collocations/colloc_config.m, collocations/README: add unicol to 'cols'
	structures.

	* collocations/find_granules_by_date.m: Fix error in docstring.

2010-07-08  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-16

	* math/average_bins2.m:

	Temporarely added this function to calculate additional properties
	like median and standard deviation. Should be merged later with
	average_bins. I didn't want to touch Salomon's original function
	because I'm not sure why it uses three loops instead of two which
	makes calculating the mean and std hard.

2010-07-07  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-1-0-15

	* gridcreation/profile_refine.m: Renamed delta to delta_ln_p to
	make it more obvious that it is in ln units. Also added a check
	that the value is below 10. (An ln(Pa) of 10 correspons roughly to
	an altitude difference of 70 km.)

2010-07-06  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-14

	* files/getncattributes.m:

	Function to get global attributes from NetCDF file.

	* files/loadncvar.m: Optionally load global attributes.

	* arts/netcdf/arts_nc_read_*: Read global attributes.

2010-07-06  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-1-0-13

	* files/addncattributes.m:

	Function to add global attributes to a NetCDF file.

	* arts/netcdf/arts_nc_write_*: Add support for global attributes.

2010-07-02  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-1-0-12

	* gridcreation/profile_refine.m: Added. Uses grid_refine to
	interpolate a set of atmospheric profiles to a finer vertical
	grid. Interpolation is done linerly in ln(p), as usual in
	arts. This is intended for the interpolation of radiosonde data to
	a finer vertical grid for RT simulation.

	* gridcreation/grid_refine.m: Added. Refines a grid by adding
	additional points, so that the spacing everywhere is smaller than
	the desired delta. Retains the points of the original grid.

2010-07-01  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-1-0-11

	* geoplots/gmt/gmt_plot.m (gmt_plot): Fixed so that datarange.max
	can be given without datarange.min and visa versa.

2010-06-24	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-10

	* collocations/colloc_get_filename_hirscs.m: Fix bug in test if file is
	gzipped or not.

	* collocations/collocate_date.m, collocations/collocate_and_store_date.m,
	collocations/collocate_granule.m:
	If nothing successful, don't write a thing

	* collocations/colloc_read_hirscs.m: convert to double, was losing
	precision in unixtime (precision with single there only 30 seconds)

	* collocations/README: Added jumpstart

	* collocations/TODO: Reorganised

	* time/find_common_time.m: Fix bug occuring when time is not increasing
	all the time. Bug occured with hirscs because time jumps back and forth;
	correction was not done OK.

	* handy/structsearch.m: Give more helpful error message if invalid field
	is requested.

2010-06-23	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-9

	* collocations/colloc_process_poes_poes.m: Fix error in documentation.

	* collocations/colloc_get_filename_hirscs.m: For HIRS-CS, data are not
	stored per day, so instead of configuration a regexp in colloc_config,
	need to use a deditacted file for this special case.

	* collocations/collocation_read.m: Fix error in documentation. Add newline
	to warning message. Output a notice in case of no collocations. Support
	input {'a', 'cell', 'string'} rather than {{'like', 'this'}} if only
	geometrical information is requested.

	* collocations/colloc_concatenate_colloc_data_mean.m: Don't crash on
	fields occuring in the "base" but not in the "new" structure.

	* collocations/find_granules_by_date.m: Add support for "special cases",
	if there is no yeardir, just return the date, and add support for regexps
	not giving the hour and the minute as named matches.

	* collocations/colloc_read_avhrr.m: Fix error in documentation.

	* collocations/colloc_read_hirscs.m: Add support for HIRS-CS. Sometimes
	gzipped, but sometimes not!

	* collocations/colloc_config.m: Add support for HIRS-CS/MHS-collocations.

	* collocations/collocate_and_store_date.m: Try to check for existance of
	destination files also if collocation with 'poes'. Ideally should
	collocate only those that don't exist yet, but this implementation simply
	uses any(exist).

	* collocations/README: Expand: Add some warning messages, add supported
	collocation pairs, add a summary on adding a pair, document the new
	alternate method for get_filename, add config. about how long a granule
	takes.

	* collocations/colloc_get_path_hirscs_poes_radiometer.m: Get the path for
	collocated HIRSCS/POES-collocations.

	* collocations/colloc_process_hirscs_poes.m,
	collocations/colloc_process_data_hirscs_poes.m: Add support for
	HIRS-CS/MHS-collocations. Special thing here: only the closest one to
	HIRS.

	* collocations/collocate_granule.m: Add a(n) (unfortunately ugly) hack for
	the special case 'poes' because of the different names for amsub/mhs.
	Also, only correct time axis if satellites did indeed start on different
	dates, and keep the old time axis.

	* handy/find_datafile_by_date.m: If datafiles are not stored per day,
	needs a special function to answer this question.

2010-06-22	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-8

	* collocations/colloc_config.m: default location for poes-poes should be
	~gerrit/ not ~/

	* collocations/collocation_read.m: catch exception for 'file not found'

	* collocations/TODO: add item suggested by Viju

2010-06-22	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-7

	* collocations/colloc_get_path_poes_poes.m, collocations/colloc_config.m:
	Fix $Id$-tag

	* collocations/collocation_read.m: Fix bug in case of <3 outputs.

	* collocations/README: Add one more example.

	* collocations/collocate_date.m: Log to correct place.

	* collocations/collocate.m: Fix error ids.

	* collocations/read_collocs_data_mean.m: Don't try to concatenate things
	if there are no collocs.

2010-06-21	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-6

	* collocations/colloc_process_cpr_mhs.m,
	collocations/colloc_process_data_cpr_mhs.m,
	collocations/colloc_get_path_cpr_poes_radiometer.m: Fix errors in
	docstring.

	* collocations/colloc_get_path_cpr_avhrr.m,
	collocations/colloc_read_avhrr.m,
	collocations/colloc_process_cpr_avhrr.m,
	collocations/colloc_process_data_cpr_avhrr.m: Add support for
	CPR/AVHRR-collocations.

	* collocations/colloc_config.m: Add support for CPR/AVHRR, fix typo.

	* collocations/collocate_granule.m: Don't assume AMSUB/MHS, should also
	work for AVHRR.

	* handy/find_datafile_by_date.m: Get rid of commented-out previous
	implementation.

	* collocations/README: Add information on how to add the location of the
	actual source files (duh!).

2010-06-18	Gerrit Holl	<gerrit.holl@ltu.se>
	
	* atmlab-1-0-5

	* collocations/colloc_colname2no.m: Convert column names to column
	numbers, used when reading collocations, because one can refer to columns
	by name (B_LAT, C_LAT, B_DIST, etc.).

	* collocations/colloc_config.m: Add aliases for the POES sensors and
	satellites to 'poes', so that it's not needed to add all different
	combinations of not only mhs/amsub, but also (shudder)
	noaa15–noaa19+metopa. Renamed mhs-thingies to poes.

	* collocations/collocation_read.m: Use this function to read earlier
	written collocations.

	* collocations/collocate_date.m: Added a FIXME to remind me of something
	on my TODO-list.

	* collocations/README: Add info on how to set up the configuration, how to
	read previously collocated collocations with collocation_read, updated
	information on how to add code for a new pair of collocations.

	* collocations/TODO: Added most important TODO-items.

	* collocations/collocation_restrain.m: Limit collocations (or actually any
	matrix) to certain ranges (such as latitude within [-20 20]).

	* collocations/read_collocs_data_mean.m: Helper function for
	collocation_read, particularly with the meandata that has smaller
	dimensions and pointers to the other two.

	* handy/structsearch.m: Search in a structure recursively. Used by
	colloc_colname2no.

2010-06-18	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-4

	* handy/prstnt_struct.m: If a field is not defined, generate a *useful*
	exception, e.g, one that can be checked when catched. So make a meaningful
	errorid and add the missing field to the error string. I think this should
	not break anything, but in theory it could break poorly designed code.

	* collocations/README: Add more information on how to find collocations,
	but particularly, add documentation on how to add code for a new pair of
	collocations.

	* collocations/colloc_get_path_poes_poes.m,
	collocations/colloc_process_poes_poes.m,
	collocations/colloc_process_data_poes_poes.m,
	collocations/colloc_config.m: Add support for poes/poes-collocations.

	* collocations/collocate_and_store_date.m,
	collocations/collocate_granule.m: Consider number of outputs.

	* collocations/collocate_date.m: Catch for renamed error identifiers.

2010-06-17	Gerrit Holl	<gerrit.holl@ltu.se>
	
	* atmlab-1-0-3

	* collocations/overlap_granule.m: Sort output from find_granules_by_date,
	granules are not always ordered sequentially on the disc.

	* collocations/colloc_get_path_cpr_poes_radiometer.m: Determine the full
	path of the files to which CloudSat-MHS collocations for the given date
	and satellite should be written. Needs configuration (see online help).

	* collocations/colloc_config.m: Add configuration as needed by
	colloc_get_path_cpr_poes_radiometer.m,

	* collocations/collocate_and_store_date.m: For a given date, check whether
	a collocation datafile exists. If it doesn't (or cscol('overwrite') is
	set), collocate the indicated satellites and sensors with each other and
	store the result in the appropiate datafile. Needs configuration (see
	online help).

	* collocations/collocate_date.m: This m-file collects all collocations for
	the given date between the indicated sensor pairs and returns the result
	in a structure. Needs configuration (see online help).

	* collocations/README: Beginning of documentation.

	* collocations/write_collocations.m: Write collocation data for
	year/month/day in structure S to a filename. The filename is determined
	from the satellite and sensors used. Needs configuration (see online
	help).

	* time/daterange.m: Return a range of dates, as a matrix.

2010-06-17	Gerrit Holl	<gerrit.holl@ltu.se>
	
	* atmlab-1-0-2

    * collocations/collocate_granule.m: Given a pair of satellite/sensor
	(sat1, sensor1, sat2, sensor2) and a starting time for a granule for the
	first satellite/sensor pair (as a datevec), collocate the
	sat1/sensor1-granule with /all/ sat2/sensor2-granules that have overlap
	+/- the collocation interval time.
	Depends on appropiate settings in colloc_config and on:
	+ overlap_granule
	+ find_datafile_by_date
	+ colloc_read_*
	+ colloc_process_*
	+ colloc_concatenate_colloc_data_mean
	+ unify_time_axis
	+ find_common_time
	+ collocate
	+ amsub_or_mhs
	+ logtext

    * collocations/overlap_granule.m: Given a pair of satellite/sensor (sat1,
	sensor1, sat2, sensor2) and a starting time for a granule for the first
	satellite/sensor pair (as a datevec), give the starting times for all
	granules from sat2/sensor2 that have a time overlap +/- the collocation
	interval time. Used by collocate_granule. Depends on appropiate settings
	in colloc_config and on:
    + find_granules_by_date
    + amsub_or_mhs

    * collocations/find_granules_by_date.m: Given a satellite/sensor pair and
	a date, gives the starting times for all granules for this
	satellite/sensor pair for this date. Depends on appropiate settings in
	colloc_config.

    * collocations/colloc_read_poes_radiometer.m,
	collocations/colloc_read_cpr.m: Wrappers around well-established read
	functions for data, but return data in a common format so that the caller,
	in this case collocate_granule, can determine the names to call
	dynamically, with the help of colloc_config, and doesn't need to know how
	to process or to call a processing function, thus reducing the need for
	long switch-statements. Depends on appropiate settings in colloc_config
	and on compensate_wraparound.

	* collocations/colloc_process_cpr_mhs.m,
	collocations/colloc_process_data_cpr_mhs.m,
	collocations/colloc_process_meandata_cpr_mhs.m: After collocate_granule
	has read data (colloc_read_*), found what to collocate it with
	(overlap_granule) and collocated it (collocate), use those three (up to
	three) functions to gather interesting information to store. Depend on
	find_datafile_by_date and appropiate settings in colloc_config.

    * collocations/colloc_config.m: This function, in the style of 'atmlab',
	contains configurations, constants and globals (at least that's how I use
	them) used throughout my collocation code and a bit beyond. Currently
	contains defaults applicable to the SAT-cluster, but it should be
	generically configurable.

    * collocations/colloc_concatenate_colloc_data_mean.m: Specialised helper
	function needed to concatenate different outputs of overlap_granule. See
	source code for detailed rationale.

    * sensors/cloudsat_read_zipped.m: Unzip, read and remove unzipped CS.

    * time/compensate_wraparound.m: AMSU stores time in (milli)seconds since
	00:00 UT, if an orbit crosses the UT date boundary, this reduces to 0.
	That makes it hard to compare times, so this compensates for it.

    * time/unify_time_axis.m: For two different time vectors, correct at most
	one of them so that their epoch will be common. In particular, if two
	satellite datasets store time as "time since 00:00 UT", they might start
	on subsequent dates and one of them should be corrected for them to be
	compared. Used by collocate_granule.

    * time/find_common_time.m: For two time vectors (or actually, can be done
	for any vector), mark the parts covered by both, +/- an interval.
	Used by collocate_granule.

    * handy/logtext.m: Log text along with callers filename and line-number.
	If the output is the Matlab desktop, also make links.

    * handy/amsub_or_mhs.m: Which sensor is on this satellite? Depends on
	appropiate settings in colloc_config.

    * handy/find_datafile_by_date.m: Given a satellite-sensor-pair and a
	starting date/time for a granule, return the filename containing data. See
	also find_granules_by_date. Depends on appropiate settings in
	colloc_config.

2010-06-16	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-1-0-1

	* collocations/collocate.m: Added function collocate.m to collocate data
	between two matrices. I will add higher-level functions later that
	collocate between satellite datasets for time periods, as well as
	functions to easily read (selected parts of) such collocations for a given
	time period.

	* AUTHORS: Added myself.

	* atmlab/atmlab_init.m: Added collocations/ directory.

	* README: Fixed e-mail addresses for Oliver and Stefan (irv.se has ceased
	to exist long ago and irv.de has AFAIK never existed at all).

	* ChangeLog: Documented changes made to various files.

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

	* atmlab-1-0-0

	* Declaring this as version 1.0. Mainly due to the
	polishing for the upcoming workshop, but also to indicate that
	the (few) common features of atmlab should be fixed and that most
	functions should be stable.

2010-06-02  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-86
	
	* math/average_bins.m : Added function
	AVERAGE_BINS returns grid averages, sum, and numel from a cell of
	gridded data. e.g. from binning_fast.

2010-05-30  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-86
	
	* geoplots/gmt/gmt_plot.m: A better way  of determining if the
	data is gridded or not. Also allow gridded data to be either
	(lat,lon) or (lon,lat)

2010-05-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-85

	* files/loadncfile.m:
	Unfortunately had to remove '~'-wildcards ( used instead of
	creating function output variables which don't get used), because
	this is not compatible with the student version of MATLAB.

2010-05-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-84
	
	* math/binning_fast.m (binning_fast): spelling


2010-05-26  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-83
	
	* geoplots/gmt/create_gmt_earth.m: 
	Now automatically pick the increment and search radius for the
	data dependent on the approximate density of the data

	* geoplots/gmt/gmt_plot.m: Cleaned up a bit.
	
	* math/binning_fast.m:
	Adjusted code to allow for longitude ranges to be either in the
	-180:180 or 0:360 format.
	Also allow binning of user defined regions and not just global.
	Avoid crashes due to precision errors. 
	The function did not loose speed after this update and is
	backwards compatible.
	

2010-05-24  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-82

	* CONFIGURE: Fix paths.

2010-05-21	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-0-4-81

	* math/binning_fast: Realised my solution to the loss-of-precision error
	can potentially lead to different results from the previous method, but
	not yet sure how often this occurs in practice and whether the previous or
	the current one is actually correct. Chose instead to go the easy way out
	and cast to double, but this problem needs a more serious fix after
	discussion with Salomon.

2010-05-21	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-0-4-81

	* math/binning_fast: Fix missing ) surreptitiously creeping up between
	last Matlab-edit and -run and commiting the code.

2010-05-21	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-0-4-80
	
	* math/binning_fast.m: Fix loss-of-precision error leading to
	index-out-of-bounds.

2010-05-20  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-79

	* demos/asgXXXX: Added error message to all asg demos that it is
	not working. 

	* demos/randmvar_demo.m: Adopted to new requirement that vectors
	shall be columns.

2010-05-19  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-78

	* geoplots/gmt/gmt_plot.m (gmt_plot): Fixed the help section to
	give more useful instructions, and output a specific error message
	if the dimensions of the data are not (lat,lon)

2010-05-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-77

	* retrieval/qpack2/qpack2.m: ABS_P must now be unset to trigger
	call of qarts_abstable (it was not possible to precalculate ABS_P ...)

	* retrieval/qpack2/qpack2.tex: Extended with some Qpack2 specifics.

	* arts/arts_sx.m (arts_sx): Header text referred to old version.

	* gformat/Contents.m: Rewritten, to mach changes in definition of
	gformat.

2010-05-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-76
	
	* Further polishing on the documentation around Qpack2. 

2010-05-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-75

	* retrieval/qpack2/qpack2.tex: A first complete version. 

	* handy/qinfo.m (printfield): Fixed "any( pind < j )" that is now
	"any( pind <= j )".

	* retrieval/qpack2/qp2_make_pdf.m: Updated to new set of
	appendices. Sceen width now fixed in the function.

	* arts/qarts.m: Fixed a number of typos.

	* demos/qpack2_demo.m: Created a complete demo case.

	* retrieval/qpack2: Some polishing of function headers.
	
2010-05-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-74

	* retrieval/qpack2/qpack2.tex: Started to update the document. 

	* CONFIGURE: Simpler suggestion for code in startup.m:
	   run( 'ATMLAB/atmlab_init' );   

2010-05-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-73

	* retrivel/qpack2/*: Polishing and minor changes. Rempved local
	ChangeLog.
	
	* demos/qpack2_demo.m: New file. Just a start. Not ready. 

	* arts/xml/xmlWriteSparse.m (xmlWriteSparse): Added precision to
	calls of xmlWriteRowIndex and xmlWriteColIndex.

	* arts/arts_oem_init.m: A predefined workfolder can now be used.

	* retrieval/qpack1b: Removed this first try for qpack2.

2010-05-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-72

	* The default for Qarts is now to create binary files for arts.
	
	* arts/qarts.m: Added Q.INPUT_FILE_FORMAT. 

	* arts/qarts2cfile.m: Now using Q.INPUT_FILE_FORMAT. 

	* demos/qarts_demo.m: Updated to recent arts changes.

2010-05-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-71

	* arts/xml/xmlWrite*.m, arts/xml/xmlStore.m, arts/xml/xmlStoreImpl.m,
	arts/xml/xmlLoad.m:

	Add full support for writing ARTS XML binary files.

	The xmlStore precision argument now takes one of three values:

	FLOAT, DOUBLE and BINARY.

	* arts/xml/xmlOpenOutputFile.m:

	Open ASCII XML file with 't' option. Important for compatibility on
	Windows.

	* arts/xml/xmlOpenBinaryOutputFile.m: Added.

2010-04-28  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-70

	* geoplots/gmt/create_gmt_earth.m (create_gmt_earth): fixed
	in.center to work for -180 - 180 and  0 - 360

2010-04-27  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-69

	* arts/xml/xmlWrite*.m, arts/xml/xmlStoreImpl.m:

	Preparations for binary support. Add extra argument fidb to all
	functions.

	Remove unnecessary 'clear' at the end of several functions.

	* arts/xml/xmlStore.m: Update docs.

	* arts/xml/xmlReadTag.m: Use strcmp.

2010-04-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-68

	* arts/qarts2cfile.m (add_readfile): Handling of NetCDF added
	(but only for data already in such a file).

	* arts/netcdf/arts_nc_write_xxx.m: The variable v was missing in
	the header format string (for all write functions).

	* arts/qarts_abstable.m: The variations for non-linear species can
	now only be set in a direct manner. *dnls* must now give the
	variations to apply. No automatic choice exists. 

2010-04-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-67

	* demos/qarts_abstable_demo.m: Changed setting slightly.

2010-04-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-66

	* demos/qarts_abstable_demo.m: Created

2010-04-15  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-64

	* geoplots/gmt/gmt_plot.m: Fixed small bug leaving temporary files
	behind

2010-03-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-63

	* demos/data: Removed the two example CloudSat files. The case
	using the files is not working, and the files have together a size
	of >200 Mb.

2010-03-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-62

	* demos/qarts_scattering_demo.m: Top altitude of clouxbox limits
	moved up as older limit was found to cut the pnd field. 

	Found that DOIT and FOS gave more deviating results when making
	the cloud "thinner". That should not happen. Tested to change 
	C.METHOD_PRMTRS.SCAT_ZA_INTERP from linear to polynomial, and this
	was found to decrease the problem strongly. So the polynomial
	option is now used. The agreement between DOIT and FOS (for
	default pnd value) is now better than before. 
	
2010-03-23  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-61
	
	* math/binning_fast.m: generalized for a 0:360 or -180:180 grid
	and place data with lat = 90 in the northernmost gridbox.

2010-03-23  Salomon Eliasson  <s.eliasson@ltu.se>

	* math/binning_fast.m: generalized for a 0:360 or -180:180 grid
	and place data with lat = 90 in the northernmost gridbox.

	* atmlab-0-4-60

	* math/binning_fast.m: Added error if lat==90. There is no good
	fix for this.

2010-03-23  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-59
	
	* geoplots/gmt/gmt_plot.m: removed comment

	* geoplots/gmt/create_gmt_earth.m: found bug in in.search

	* math/binning_fast.m: 
	prepped so that -180 <= lon < 180.
	
2010-03-19	Gerrit Holl	<gerrit.holl@ltu.se>

	* atmlab-0-4-58

	* math/binning_fast.m: Put the H1-line in the same block of comments as
	the documentation, so that 'help binning_fast' gives anything useful.

2010-03-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-57

	* forwardmodel/di2planckTb.m: Created. So far just a test.

2010-03-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-56

	* arts/arts_y.m: Added y_aux as output varaible. 

	* arts/qarts2cfile.m: Added handling of Q.IY_AUX_DO. 

	* arts/qarts.m: Added IY_AUX_DO. 

2010-03-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-55

	* demos/qarts_scattering_demo.m: FOS can now be run also in 1D and
	2D.

2010-03-10  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-54

	* geoplots/gmt/exec_gmt_cmd.m: 
	Added cmd = cmd(:); to always guarantee the correct dimensions.

	* geoplots/gmt/gmt_plot.m: Cleaned up 'sort figures' subfunction

2010-03-07  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-53
	
	* geoplots/gmt/gmt_plot.m:
	Fixed bug if using nodata and removed reference to local function
	in help.

	* geoplots/gmt/create_gmt_earth.m: 
	Fixed bug pspoly in conjuction with in.nodata
	
	* geoplots/gmt/psbox.m: Fixed bug for if you use this without data

	* geoplots/gmt/pspoly.m: Fixde bug for if you use this without data

2010-03-05	Gerrit Holl	<gerrit.holl@ltu.se>
	
	* atmlab-0-4-52

	* sensors/atovs/atovs_get_l1c.m: Add error identifier.

2010-03-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-51
	
	* geoplots/gmt/pspoly.m: Add function to draw polygons.

	* geoplots/gmt/gmt_plot.m: Add docs for in.pspoly.

	* geoplots/gmt/create_gmt_earth.m:

	Add pspoly support. Extend setup_psbox to setup_psboxpoly.

2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-50
	
	* geoplots/gmt/create_gmt_earth.m: corrected psbox setup

	* geoplots/gmt/psbox.m: fixed inconsistency buge

2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* geoplots/gmt/psbox.m: 

	* atmlab-0-4-49

	* geoplots/gmt/create_gmt_earth.m: Fixed bug with psbox

2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* geoplots/gmt/create_gmt_earth.m (create_gmt_earth): 

	* atmlab-0-4-48

	* geoplots/gmt/save_nc_gmt_input.m:
	netcdf.create doesn't accept ~ as home. now use strrep to handle this.

	* geoplots/gmt/psbox.m: fixed ugly variable names 

	* geoplots/gmt/gmt_plot.m: 
	Fixed buggy way of determining if the
	data is gridded or not

2010-03-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-47

	* geoplots/gmt/makecpt.m, geoplots/gmt/psbox.m: Use exec_gmt_cmd.

	* geoplots/gmt/gmt_plot.m:

	Fix documentation to properly show in help and doc.

	* geoplots/gmt/exec_gmt_cmd.m:

	Add optional silent argument to suppress echoing of commands.

	* geoplots/gmt/save_ungridded4GMTplot.m: Minor doc fix.

2010-03-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-46

	* atmlab/atmlab.m, geoplots/gmt/exec_gmt_cmd.m:

	Get rid of GMT_CUSTOM_PATH. If the user wants to add a custom path he
	can easily do so by adding it in his startup file:

	setenv('PATH',[getenv('PATH') ':/opt/local/bin']);

2010-03-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-45

	* geoplots/gmt/save_ungridded4GMTplot.m:

	Use se.outdir instead of scodes('TMP_DIR') for xyz nc file.

	* geoplots/gmt/create_gmt_earth.m:

	Use exec_gmt_cmd instead of system() when calling psxy to create an
	empty page. Otherwise the command will not be found if it is in a
	custom path.

	* geoplots/gmt/exec_gmt_cmd.m:

	Use export to set the custom path. Otherwise commands will not be
	found if they're invoked after a pipe.

	* files/loadncvar.m: Update docs.

2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-44

	* math/binning_fast.m:
	Added function that bins data into a specified grid with no frills.

	
2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* math/binning_fast.m: 

	* atmlab-0-4-43

	* geoplots/gmt/gmt_plot.m: rm illegal character from descr.

2010-03-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-42
	
	* atmlab/atmlab_init: Fix gmt path.

2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-41
	
	* geoplots/gmt: Moved gmt functions to a more appropriate location.

2010-03-04  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-40
	
	* geoplots/gmt: Moved gmt functions to a more appropriate location.

	* graphs/gmt/save_ungridded4GMTplot.m: 
	Added function that sets up variables for save_nc_gmt_input.

	* graphs/gmt/save_nc_gmt_input.m: Added function to save netcdf data

	* graphs/gmt/nearneighbor.m: Updated for netcdf

	* graphs/gmt/create_gmt_earth.m: Updated for netcdf

	* graphs/gmt/pscontour.m: Updated for netcdf but still needs work

	* graphs/gmt/gmt_plot.m: 
	Adapted to save ungridded data as netcdf instead of ascii.

2010-03-03  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-39
	
	* graphs/gmt/gmt_plot.m: Overwrote in.outdir even though it was set.

2010-02-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-38
	
	* graphs/gmt/gmt_plot.m: Fixed filename to never be empty

2010-02-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-37

	* scattering/backcoef2dBZ.m: Typo in input check that caused error. 

	* scattering/dBZ2backcoef.m: Created.

2010-02-24  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-36

	* graphs/gmt/create_gmt_earth.m:
	Fixed bug with legend and added header_offset option.	

	* graphs/gmt/gmt_plot.m: 
	Updated help after including header_offset option

2010-02-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-35

	* geoplots/rectgridplot.m (rectgridplot): New error message had a
	typo. 

2010-02-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-34

	* geoplots/rectgridplot.m: Input check of grids was not correct. 

2010-02-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-33

	* demos/qarts_scattering_demo.m: Adopted to changes in ARTS-FOS. 
	Still "dirty code".

2010-02-12  Mathias Milz  <mathias.milz@ltu.se>

	* graphs/gmt/gmt_plot.m: fixed bug in filename.

2010-02-12  Salomon Eliasson  <seliasson@ltu.se>

	* atmlab-0-4-31
	
	* graphs/gmt/gmt_plot.m: fixed bug in filename and title

2010-02-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-30

	* arts/qarts2cfile.m: Started on support for FOS. 

	* demos/qarts_scattering_demo.m: Made lat and lon grids more
	dense. Old very coarse grid caused an inconsistency between 1D and
	3D cases. This seems to improve the consistency between MC and
	DOIT (1D) results (though not yet had time for a very detailed MC
	run).
	Added code to allow tests of FOS (with some stuff hard-coded).

2010-02-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-29

	* demos/qarts_scattering_demo.m: Fixed some typos.

	* arts/qarts2cfile.m: There were still some errors for DOIT
	calculations.

2010-02-10  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-28

	* files/loadncvar.m:

	Extend function to also support loading of several variables at once.

2010-02-10  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-27

	* files/loadncfile.m:

	Add function that loads a whole netcdf file into a single structure.

2010-02-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-26

	* arts/various: This folder is a storage for arts related function.
	Moved arts_cart2poslos, arts_poslos2cart, arts_cart2sph,
	arts_sph2cart, arts_cart2zaaa and arts_zaaa2cart to arts/.
	
	* arts/arts_cart2poslos.m: Angle part did not work for vector input. 

2010-02-08  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-25
	
	* demos/qarts_scattering_demo.m: Now works with "new qarts".

	* arts/qarts2cfile.m: Several things were not updated correctly
	for scattering calculations.

	* arts/qartsCloudbox.m: Typo in documentation.
	
2010-02-08  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-24

	* files/loadncvar.m: Fix typo in docs.

2010-02-05  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-23

	* scattering/radar_ref.m: Removed, replaced by backcoef2dBZ.m.

	* scattering/backcoef2dBZ.m: New.

	* scattering/mie_phase_mat.m: Adopts now to stokes_dim.

	* scattering/mie_ext.m: Adopts now to stokes_dim.

	* scattering/mie_scat_data.m (mie_scat_data): Removed. Replaced by
	mie_arts_scat_data.

2010-02-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-22

	* scattering/create_ssp.m: Now obselete and thus removed.

2010-02-03  Bengt Rydberg  <bengt.rydberg@chalmers.se>

	* atmlab-0-4-21

	* scattering/radar_ref.m added
        * scattering/mie_phase_mat.m added
	* scattering/mie_ext.m added
        * scattering/mie_arts_scat_data.m added 
	* scattering/mie_back.m added

	Added functions that calculate particle
	scattering properties, but they are
	only interface to extisting atmlab functions

2010-02-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-20

	* arts/netcdf/arts_nc_write_arrayofmatrix.m,
	arts/netcdf/arts_nc_write_arrayofvector.m,
	arts/netcdf/arts_nc_write_matrix.m,
	arts/netcdf/arts_nc_write_tensor3.m,
	arts/netcdf/arts_nc_write_tensor4.m,
	arts/netcdf/arts_nc_write_vector.m:

	Add writing routines for Arts compatible NetCDF files.

2010-02-03  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-19

	* retrieval/oem.m: More stable format options for screen/file
	output of cost vales etc.

2010-02-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-18
	
	* files/loadncvar.m:

	Utility function to read a variable by name from a NetCDF file.

	* arts/netcdf/arts_nc_read_arrayofmatrix.m: Fix function name.

	* arts/netcdf/arts_nc_read_arrayofvector.m,
	arts/netcdf/arts_nc_read_tensor3.m, arts/netcdf/arts_nc_read_tensor4.m:

	Added.

	* arts/netcdf/arts_nc_read_matrix.m, arts/netcdf/arts_nc_read_vector.m:

	Very simple functions but added these anyway for completeness.

2010-02-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-17
	
	* arts/netcdf/arts_nc_read_arrayofmatrix.m:

	Add function to read an ArrayOfMatrix from an Arts NetCDF file.

	* atmlab/atmlab_init.m: Updated paths.

2010-02-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-16
	
	* arts/xml: Moved xml here to have arts interface in one place.

	* atmlab/atmlab_init.m: Changed xml path.

2010-02-01  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-15
	
	* graphs/gmt/exec_gmt_cmd.m: Fix problems found by mlint.

2010-02-01  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-14
	
	* atmlab/atmlab.m: Add variable GMT_CUSTOM_PATH.

	* graphs/gmt/create_gmt_earth.m:

	Removed 'export PATH=...' statement. It had no effect.

	* graphs/gmt/exec_gmt_cmd.m:

	If GMT_CUSTOM_PATH is set, append it to PATH for every command.

2010-02-01  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-13
	
	* graphs/gmt/exec_gmt_cmd.m: bug

	* graphs/gmt/gmt_plot.m: Fixed option in.center, so that you can
	center the plot at any longitude. Added option in.nodata if you
	only want an empty map. e.g for locations and what not. Also fixed
	bug so that gmt only appends to files that exist. And fixed bug so
	that orientation = portrait (is turned later)

2010-01-31  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-12

	* covmat/covmat1d_from_cfun.m: Was not updated for EXPAND option
	and non-scalar input.

	* arts/qarts2cfile.m: SENSOR_RESPONSE defined as contril file part
	did not work. 

2010-01-30  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-11

	* physics/fresnel.m: More detailed header text, describing
	assumptions and cases handled.

	* physics/snell.m: Non-scalar was not handled. Missing .* and ./. 

2010-01-28  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-10

	* physics/fresnel.m: Added input checks. 

	* physics/snell.m: Created. Handles imaginary n2. 

	* handy/rqre_element_math.m: Consistency check did not work when
	both varaibles where non-scalars. 

2010-01-27  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-9

	* graphs/gmt/gmt_plot.m: replaced the issame function as it's in a
	special toolbox.

2010-01-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-8

	* arts/scenegen/asg2q.m: Rewritten, to follow new version of
	gformat. Batch calculations now not handled. 

2010-01-25  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-4-7

	* graphs/gmt/gmt_plot.m: Turns matrixes of ungridded data into
	vectors for plotting.

2010-01-22  Salomon Eliasson  <seliasson@seliasson-laptop>

	* atmlab-0-4-6
	
	* atmlab/atmlab.m: Added description for OUTDIR

2010-01-22  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-4-5 

	* gridcreation/annealing/find_best_freq_set_anneal.m: Committed
	cosmetic change in output. (Had forgotten to commit this a long
	time ago.) 

2010-01-22  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-4

	* atmlab/atmlab.m, atmlab/atmlab_defs.m:

	Merged atmlab_defs back into atmlab.m. Seems to work now. There was a
	problem in Matlab R2006a where it couldn't find the inlined function.
	See atmlab-0-2-151.

	Added documentation for new variables.

	* graphs/gmt/exec_gmt_cmd.m:

	Made this into a standalone function.

	Added basic error handling.

	* graphs/gmt/gmt_plot.m, graphs/gmt/create_gmt_earth.m:

	Use exec_gmt_cmd.

	* atmlab.spec: Removed cruft.

2010-01-22  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-4-3

	* AUTHORS:

	Fixed my email address.

	Add Salomon as author of the GMT interface.

2010-01-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-2

	* TODO: Removed a number of things already fixed :-)

2010-01-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-1

	* sensors: Not re-added.

	* Some empty sub-folders were still hanging around.
	
2010-01-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-4-0

	* README has been updated and read it. Some of the points below
	are described more in detail in that file.
	
	* Some more strict format rules have been introduced, for
	simplified checks of user input and to avoid possible loop-holes
	in the code. New rules:
	- A boolean or a flag signifies now a logical of size 1. That is, true
	or false. A scalar 0 or 1 is not the same. These are numbers. 
	- Strictly one dimensional (numerical) tensors shall now be column
	vectors. Grids are examples on such objects. 
	These rules are not yet applied everywhere, but try to adopt now
	to avoid future problems.

	* Has started the convention that lines including the comment %&%
	are different types of checks, that can be removed for operational
	applications (when everything is well tested). This to make it
	possible to add heavy checks, but still have the possibility to
	obtain highest possible calculation speed.

	* Note that a set of e.g. temperatures very well can be a row
	vector. This is just a matter of you decide to store the
	temperatures. In this case it is a matrix (with one row). For
	example, the temperature input to vmr2nd can be a row vector. On
	the other hand, if you would use temperature as the grid for some
	other variable, this grid is an one dimensional object.
	This issue is associated with:
	
	* The default size demand for function input is that all data have
	the same size or are scalars, in order to allow element-by-element
	math (such as .*). This follows the standard Matlab
	approach. However, this rule can normally only be followed for
	functions where all the input is numeric and goes into a single
	equation (such as vmr2nd). Exceptions are the numerous cases when
	some input is a flag or a data grid. For such cases, the header
	needs to describe type and size demands. See further README.

	* Folders have been renamed and moved. This is an attempt to sort
	the functions in a more clear way. For example, there is now a
	folder h2o/, having the sub-folders parametrisations/ (mainly
	Bengt's PSD functions) and thermodynamics/ (Isaac's functions).
	
	* Version fixes are removed. The few added functions should now be
	at hand for everybody. And this feature should be obsolete.

	* Everything associated with arts-1 is removed.

	* set_defaults.m: Is removed (used eval, which is not an
	OK solution). Replaced by optargs.
	* optargs.m: Replaces set_defaults.

	* The set of rqre_xxx functions has been revised. Type specific
	functions have been removed (such as rqre_scalar). All type
	checking should be handled by rqre_datatypes and rqre_alltypes.
	List of new functions below. Order of input arguments changed in
	some cases, for consistency reasons.

	* min_nargin is replaced by rqre_nargin.
 
	* Some new isxxx functions have been created (see below). ismatrix
	is removed.

	* meannan is removed. Caused confusion due to a similar function
	in the statistical toolbox. (And someone else removed stdnans).
	Probably best to do this explicetely, to know what exactly what
	you are doing.

	* The gformat is totally revised. In short, the D part is removed
	and there is a new set of functions. See some of demo scripts for
	example usage. The "sub-class" atmdata now defined.

	* Qarts: The scope of qarts has been extended. Before just pure
	forward model variables were treated (including jacobian
	calculations). Retrieval settings, such as Sx data, and L2 output
	fields can now also be specified. Qpack2 was before a layer above
	qarts. This can now be avoided and qpack2 is rather a "glue"
	between the Q, O, Y and L2 parts.

	The stuff of qartsJacobian is now part of the main Q. Maybe most
	important is that Q.ABS_SPECIES is now a structure. For example,
	Q.J.ABS_SPECIES.UNIT is now Q.ABS_SPECIES.UNIT. Q.ABS_SPECIES has
	the field TAG. This is a string array, that can be set in two
	ways, e.g.: 
	   Q.ABS_SPECIES(1).TAG{1} = 'ClO'; 
	   Q.ABS_SPECIES(2).TAG    = { 'O3' };

	* arts/scenegen: Not yet updated.

	* Qpack2: There is now no Qpack2 setting structure. You use now
	the qarts Q and oem O directly. The main task of qpack2 now is to
	transfer data from the measurement structure to Q. Works presently
	just for single spectrum observations, but planned to be more
	general. Documentation not yet completed.

	* Removed functions, outside the arts and gformat folders:
		mat2v6.m
		ismatrix.m
	        rqre_bool.m
	        rqre_char.m
	        rqre_scalar.m
	        set_defaults.m
		meannans.m
		stdnans.m

	* New functions, outside the arts and gformat folders:
	        optargs.m
	        istensor0.m
		istensor1.m
		istensor2.m
		istensor3.m
		isboolean.m
		isfunction_handle.m
		rqre_gridmatch.m
		rqre_in_range.m
		rqre_nargin.m
		rqre_same_size.m
 		rqre_alltypes.m
		rqre_element_math.m
	        strs2file.m
	        (..., list probably not complete)
	
2010-01-20  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-117

	* graphs/gmt/xtra_nan_legend.m, graphs/gmt/create_ascii4gmtplot.m:

	Make these also lowercase.

2010-01-20  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-116

	* graphs/plot/gmt_plot.m: Make function name lowercase.

2010-01-20  Salomon Eliasson  <s.eliasson@ltu.se>

	* atmlab-0-3-115

	* graphs/gmt: Added plotting rountines for GMT (Generic Mapping Tools).

	* atmlab/atmlab_init.m (atmlab_init): Added graphs/gmt to path.

	* atmlab/atmlab_defs.m: Added 3 extra defaults. outdir, pdfviewer
	and psviewer. These are necessary for the GMT plotting routines

2010-01-17  Isaac Moradi <isaac.moradi@ltu.se>

	* atmlab-0-3-114

	* physics/thermodynamic/relative_humidity.m
          Fixed a problem related to the matlab matrix manupolation

2010-01-12  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-113

	* sensors/ssmt2_read.m:
	
	Only read S.nscan scanlines instead of all the way to EOF.
	Avoids reading garbage at the end of the file.

2009-11-26  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-112

	* sensors/atovs/atovs_get_l1c.m:

	Wrapper function to convert an AMSU file from level 1B to level 1C and
	read it.

2009-11-26  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-111

	* sensors/ssmt2_read.m: Add FIXME for change in offset calculation.

2009-11-20  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-110

	* sensors/ssmt2_read.m: Add support for gzipped files.

2009-11-20  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-109

	* sensors/ssmt2_read.m: Add reading routine for SSM/T-2 data.

2009-11-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-108

	* math/polysinfit.m: Created.

	* forwardmodel/prbroad_width.m: t0/t -> t0./t 

2009-11-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-107

	* forwardmodel/lorentz_lshape.m: Corrected header.

	* forwardmodel/prbroad_width.m: Created.

	* physics/p2z_cira86.m: As below.

	* physics/z2p_cira86.m: Temprature can now be obtained in parallel. 

2009-11-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-106

	* forwardmodel/gformat/clmtlgy_interp.m: Fixed spelling error in
	error message.

	* physics/nd2vmr.m: Untabified and extended header.

	* physics/vmr2nd.m: Vector input was here not treated in a
	standard way, and not consistent with nd2vmr. Untabified and
	extended header.

2009-11-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-105

	* arts/qartsSensor.m (qartsSensor): Added FILL_FGRID.

	* arts/qarts2cfile.m (cfile_Sensor): Added handling of FILL_FGRID. 

2009-11-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-104

	* physics/z2p_cira86.m: Now using the CIRA86 climatology. 

	* forwardmodel/gformat/clmtlgy_interp.m: The interpolation for
	pressure is now done linearly for log(p). (Was before linearly for p.

2009-11-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-103

	* physics/p2z_cira86.m: Now using the CIRA86 climatology, which
	makes the function much faster. Internally now using
	clmtlgy_interp, and for simplicity input and output are changed to
	match this function (e.g. p can now not be a matrix). This could brake
	some functions using the p2z_cira86. 
	DOY can now be vector input. 

	* forwardmodel/gformat/clmtlgy_interp.m: Added option to specify
	doy, mjd or datenum directly (and not only year,month ...).

2009-11-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-102

	* forwardmodel/gridcreation/grid_for_1line.m: Created.

	* forwardmodel/doppler_lshape.m: Corrected header.

	* forwardmodel/doppler_width.m: Corrected header.

2009-11-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-101

	* math/covmat/covmat1d_markov.m: Created.

2009-11-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-100

	* arts/qarts2cfile.m: Added handling of new fields below.
	
	* arts/qartsSensor.m: Added fields F_SWITCHING, ANTENNA_DO, MIXER_DO
	and BACKEND_DO.
	

	* xml/xmlWriteGFieldWrapper.m: Changed back to allow fields name
	and dataname optional.

	* xml/xmlWriteTensor5.m: A typo in function declaration. 

2009-11-03  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-99

	* forwardmodel/gformat/gf_check.m: Error message was misleading for
	cases where G.DIMS is incorrectly set.

2009-11-03  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-98

	* xml/xmlWriteGFieldWrapper.m: data.dataname sent as attlist
	informtion to functions writing data.

	* xml/xmlWriteTensor3.m: Added attrlist as input.
	* xml/xmlWriteTensor4.m: Added attrlist as input.
	* xml/xmlWriteTensor5.m: Added attrlist as input.
	* xml/xmlWriteTensor6.m: Added attrlist as input.
	* xml/xmlWriteTensor7.m: Added attrlist as input.

	* forwardmodel/gformat/gfin_artsxml.m: Data with gridname could
	not be read for non-defined cases (as dim 4 for the clmtlgy format).
 
	* forwardmodel/gformat/clmtlgy_interp.m: Upper limit for DOY is
	now <= 367;

2009-11-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-97

	* demos/data/f_grid_111ghz.xml: Created.

	* arts/qarts2cfile.m: Added option y_after_init, as old y did not
	always work for arts_y.

	* arts/arts_oem_init.m: O.i_rel and O.i_log now set. 

	* arts/arts_oem.m: Post-processing of jacobians removed (now
	handled by oem.m).

	* demos/arts_oem_demo.m: Adopted to changes in oem.m.

	* tests/test_arts_jacobians.m: Re-written. New tests.

	* tests/make_check.m: Added runs of test_arts_jacobians and
	test_qpack2.

	* tests/test_qpack2.m: Created. 

	* retrieval/oem.m: Extended header. Added fields i_rel and
	i_log. Renamed imethod to itermethod. A rescalaing for log-scale
	Jacobians is performed for the characterisation part. That is, the
	characterisation is throughout performed in "lin-scale". 

2009-10-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-96

	* As below. 

2009-10-28  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-95

	* Work in arts_oem methods and qpack2.m to handle logvmr etc. Not
	finished.

2009-10-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-94

	* retrieval/oem.m: Rearranged large part of the function. Now each
	approach (linear, GN and ML) has largely its own code. This to
	make the code more efficient and clearer.

	* physics/parametrisations/latslons2distance.m: Removed. Same
	basic functionality as sphdist. Removed as less general and less
	straightforward calculations.

2009-10-27  Mathias Milz  <mathias.milz@ltu.se>

	* atmlab-0-3-93

	* handy/sphdist.m:
	
	added function sphdist.m. It calclates the distance between to 
	points with given latitudes longitudes on a spheroid.

2009-10-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-92

	* retrieval/oem.m: In the middle of adding ML. 

2009-10-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-91

	* retrieval/oem.m: The sxnorm scaling was not applied correctly for
	convergence value and dx.

	* arts/arts_tgs_cnvrt.m: Now an error if using combined tags (such
	as ABS_SPECIES{1}='H2O,H2O-MPM89') inside qarts.

2009-10-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-90

	* retrieval/oem.m: Indexing was wrong when saving cost values in 
	"post part".

2009-10-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-89

	* retrieval/oem.m: Printing of cost values delayed to next iteration,
	when possible, to obtain fewer calls of arts.

2009-10-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-88

	* arts/arts_polybasis_func.m (arts_polybasis_func): Created.

	* arts/arts_sensor.m: No reading done if nargout=0. 

	* arts/qarts2cfile.m: Double precision now used for variables 
	involing frequency or pressure.

	* arts/arts_oem_init.m: Some changes to handle frequency fits. 

	* arts/arts_oem.m (arts_oem): Added handling of frequency fits.

	* retrieval/oem.m (oem): Started on rearrengements. Not ready.

2009-10-20  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-87

	* handy/hostname.m: EOL character was included in returned string. 

2009-10-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-86

	* arts/arts_sx.m: Updated.

	* retrieval/oem.m: Fixed ugly output for combination non-lin and out2. 

	* demos/arts_oem_demo.m: Updated.

	* demos/qarts_jacobian_demo.m: Removed.
	
	* tests/make_check.m: Added run of arts_oem_init. 

2009-10-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-85
	
	* tests/make_check.m: Updated 

	* arts/arts_y.m: Now reading y_error.

	* demos/qarts_scattering_demo.m: Updated. 

	* demos/qarts_demo2.m: Updated.

	* demos/qarts_demo.m: Updated and expanded. general.arts is now not
	used, to provide a more extensive example. 

	* arts/qarts.m: Removed fields: RTE_AGENDA and WSMS_AFTER_RTE.
	New fields: IY_CLEARSKY_AGENDA, YCALC_WSMS. Header text improved.

	* arts/qarts2cfile.m: Updated to work with yCalc. Now no WSM calls
	are added by default, beside saving. 
 
	* sensors/auramls_read_l2gp.m: Corrected header text.

2009-10-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-84

	* physics/parametrisations/latslons2distance.m: Created.

2009-10-02  Patrick Eriksson  <patrick.eriksson@chalmers.se>
	
	* atmlab-0-3-83
	
	* arts/arts_cart2zaaa.m: The header text was valid for arts_zaaa2cart.

2009-10-01  Bengt Rydberg  <bengt.rydberg@chalmers.se>
 
	* atmlab-0-3-82

	* demos/asg2y_demo2.m: modified.

2009-10-01  Bengt Rydberg  <bengt.rydberg@chalmers.se>
 
	* atmlab-0-3-81

	* atmlab/atmlab_init.m: added a missinga addpath

	* arts/scenegen/asg_pathiwc.m: modified.

	* demos/asg_demo2.m: added a function/demo that generates atmospheric
	  states
	
        * demos/asg2y_demo2.m: added a function/demo that can simulate
	  amsu and mhs measurements on atmospheric states generated
	  by asg_demo2.m

	
2009-10-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>
 
	* atmlab-0-3-80

	* arts/arts_cart2zaaa.m (arts_cart2zaaa): Now returning azimuth
	angles inside [-180,180]. To be consistent with arts.

2009-09-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>
 
	* atmlab-0-3-79

	* arts/arts_map_daa.m: Did not work. Reported by Bengt. Missed
	one thing when vectorised the function just before commiting.

2009-09-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-78

	* math/rotationmat3D.m: Added this function copied from the Matlab
	file exchange site.

	* arts/arts_map_daa.m: Created.

	* arts/arts_zaaa2cart.m: Created.

	* arts/arts_cart2zaaa.m: Created.
	
	* The arts cart to sph/poslos functions are now all set to not be
	defined for r=0. There is no clear way to define za and aa for r=0,
	and it is best to avoid this case at all. Use the zaaa2cart function
	pair instead.

	* arts/arts_cart2sph.m (arts_cart2sph): Now an error if r=0. This gives
	the same behaviour for arts_cart2poslos.m as this function is used.

	* arts/arts_sph2cart.m (arts_sph2cart): As above.

	* arts/arts_poslos2cart.m (arts_poslos2cart): As above.
	
2009-09-18  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-78

	* arts/qarts2cfile.m (cfile_Sensor): antenna_diagram was still
	used for antenna_response.

2009-09-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-77

	* retrieval/oem.m: Smoothing error was incorrect with
	sxnorm=1. Bug pointed out by Peter F. Still not sure why. Anyhow,
	back-normalisation now applied in a more systematic way (as late
	as possible) and everything seems to work.

	* retrieval/qpack2/qp2_oem.m: Removed. Should have been removed
	earlier. Code was moved to qpack2.

2009-09-11  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-76

	* xml/xmlLoad.m: Use WORK_AREA for gunzip.

2009-08-31  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-75

	* Physics/p2z_cira86.m: The output range of mjd2doy is now handled. 

2009-08-28  Isaac Moradi  <isaac.moradi@ltu.se>

	* atmlab-0-3-74

	* physics/parametrisations/e_eq_ice.m: moved it to the directory "thermodynmics"
	* physics/parametrisations/e_eq_water.m: moved it to the directory "thermodynmics"
	* physics/thermodynamic/relative_humidity.m
	* physics/thermodynamic/r2e.m
	* physics/thermodynamic/water_vapor_density.m
	* physics/thermodynamic/dew_point.m
	* physics/thermodynamic/e_eq_ice.m
	* physics/thermodynamic/mixing_ratio.m
	* physics/thermodynamic/equivalent_temperature.m
	* physics/thermodynamic/latent_heat_vaporization.m
	* physics/thermodynamic/e2T_eq_ice.m
	* physics/thermodynamic/water_vapor_mixing_ratio.m
	* physics/thermodynamic/virtual_temperature.m
	* physics/thermodynamic/dew_point_temperature.m
	* physics/thermodynamic/wet_bulb_potential_temp.m
	* physics/thermodynamic/e_eq_water.m
	* physics/thermodynamic/potential_temperature.m
	* physics/thermodynamic/isentr_conden_temp.m
	* physics/thermodynamic/water_vapor_pressure.m
	* physics/thermodynamic/e2T_eq_water.m
	added new functions to calculate thermodynamical properties of water vapor
	and modified old function especially their documentations

	* physics/thermodynamic/mixing_ratio.m
	replaced it with a new function

	* physics/thermodynamic/wet_bulb_temperature.m
	deleted this functions. The equation provided in the cloud physics book
	did not work for all cases so that I decided to remove it. 

2009-08-27  Bengt Rydberg  <bengt.rydberg@chalmers.se>

	* atmlab-0-3-73

	* math/wtls_line.m: Added the function. It returns weighted total 
	least squares fit of a straigth line to a set of points with 
	uncertainties in both coordinates.

2009-08-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-72

	* math/lse.m: Added this free function found at softpedia.com.
	It solves the least squares problem with an equality constraint.

2009-08-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-71

	* retrieval/oem.m: The problem of getting a poor conditional
	number when retrieval quantities differ strongly in magnitude has
	been solved in a general by the option O.sxnorm. :-)

2009-08-15  Isaac Moradi  <isaac.moradi@ltu.se>

	* atmlab-0-3-70
	* physics/thermodynamic/mixing_ratio.m
	* physics/thermodynamic/dew_point.m
	* physics/thermodynamic/wet_bulb_potential_temp.m
	* physics/thermodynamic/virtual_temperature.m
	* physics/thermodynamic/wet_bulb_temperature.m
	* physics/thermodynamic/water_vapor_density.m
	* physics/thermodynamic/isentr_conden_temp.m
	* physics/thermodynamic/potential_temperature.m
	* physics/thermodynamic/equivalent_temperature.m	
	  added 9 functions to calculate quantities related
	  to the thermodynamic of water vapor. 

2009-08-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-69

	* arts/qarts2cfile.m: Changes to accomodate frequency fit retrievals. 

	* arts/qartsJacobian.m: FREQUENCY field added. 

	* retrieval/oem.m: The O structure now documented following the
	qinfo standard (that is, description now part of code).

2009-08-13  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-68

	* arts/qarts2cfile.m (cfile_Sensor): All Q.SENSOR_ XXX variables
	are now always loaded. Too complicated to have checks to figure
	out which varaibles that are needed. Anyhow old version did not
	work.

	* forwardmodel/gridcreation/gridthinning.m: Changed check from
	>mindx to >= mindx

2009-08-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-67

	* arts/qarts2cfile.m: BACKEND_CHANNEL_RESPONSE was
	CHANNEL_RESPONSE in one place.

	* retrieval/qpack2/ChangeLog: Started. Changes in Qpack2 will be
	documented in this file.

2009-08-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-66

	* retrieval/qpack2/qpack2.tex: Some more text about P. 

2009-08-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-65

	* retrieval/qpack2/qpack2.pdf: README.pdf renamed.

	* retrieval/qpack2/qpack2.m: Typos fixed.

	* retrieval/qpack2/qpack2.tex: Extended. 

	* retrieval/qpack2/qp2_y.m: New. Fields of Y now documnted through
	this function. Fields renamed.

	* retrieval/qpack2/qp2_oem.m: Complete header. Updated after
	renaming of Y fields. Changes also in P fields.

	* retrieval/qpack2/qp2_make_pdf.m: make_readme.m renamed. Added flag
	to remove temporary files.

	* retrieval/qpack2/qp2_check_f.m: Updated after renaming of Y fields.

2009-08-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-64

	* retrieval/qpack2/README.tex: More text and qinfo stuff now
	included in Appendices.

	* retrieval/qpack2/make_readme.m: Started.

	* handy/qinfo.m: Added the flag below also to this function.

	* handy/out.m: Added flag to suppress drawing of frame lines.

2009-08-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-63

	* retrieval/oem.m: Output field converged was not described in the 
	header.

	* retrieval/qpack2/qp2_oem.m: Crashed if Q.OUT_A = 0. 

	* retrieval/qpack2/README.txt: Finished summary of data fields.

	* retrieval/qpack2/README.tex: Started. 

	* retrieval/qpack2/README.pdf: Added. 
	
2009-08-05  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-62

	* retrieval/qpack2/qp2_check_f.m: Created. 

	* retrieval/qpack2/qpack2_oem.m: Renamed to -> 

	* retrieval/qpack2/qp2_oem.m: New name.

2009-07-02  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-61

	* retrieval/qpack2/qpack2.m: Default for all Do fields are now 0.

	* retrieval/qpack2/qpack2_oem.m: Added checks that mandatory fields
	are at least defined.

2009-07-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-60

	* Qpack2 functions moved to a dedicated folder: retrievals/qpack2.
	Functions also re-named.
	
	* retrieval/qpack2/README.txt: Some more text. 

	* retrieval/qpack2/qpack2_oem.m: This was qpack2.  

	* retrieval/qpack2/qpack2.m: This was qpack2_defaults. Renamed to
	be consistent with other parts, where "definition function" shares
	name with the module.

	* atmlab/atmlab_init.m: New folder added.

2009-07-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-59

	* retrieval/qpack2*: Work on documentation (backup commit). 

2009-06-30  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-58

	* retrieval/qpack2_README.txt: Started.

	* retrieval/qpack2_defaults.m: Started. 

	* arts/qartsJacobian.m: Corrected text for ABS_SPECIES. 

	* arts/qarts_isset.m: Fixed typo in header. 

	* arts/qarts.m: Fixed some typos. 

	* forwardmodel/gformat/clmtlgy_define.m: Fixed typo in header. 

2009-06-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-57

	* handy/homedir.m: Newline character now removed from output.

2009-06-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-56

	* files/loadstructfiles.m: Added verbose flag. 

	* graphs/geoplots/coastlines.m: Corrected header text.

2009-06-25  Oliver Lemke  <olemke(at)core-dump.info>

	* atmlab-0-3-55

	* sensors/atovs/zamsu2l1c.sh:

	Add support for hirs data files that contain HIRS instead of HIRX
	in the filename.

2009-06-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-54

	* graphs/geoplots/data2rectgrid.m: Added optional argument backv.

	* files/loadstructfiles.m: Added optional argument verbose.

2009-06-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-53

	* physics/parametrisations/dBZ2iwcMH97.m: Extended range for table
	down to 190 K. And added treatment of points outside table range.
	The function should now not return any NaN.

2009-06-12  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-52

	* forwardmodel/gridcreation/annealing/test_freq_set.m,
	  forwardmodel/gridcreation/annealing/loop_anneal.m,
	  forwardmodel/gridcreation/annealing/find_best_freq_set_anneal.m:
	Optionally allow optimization to be done for fractional instead of
	absolute error.

2009-06-11  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-51

	* sensors/cloudsat_read.m (unitconv): Added 'kg kg**-1' to known units.

2009-06-09  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-3-50

	* physics/parametrisations/dBZ2iwcMH97.m: Created.
	Calculates iwc from radar reflectivity and temperature

2009-05-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-49

	* handy/homedir.m: Created.

	* handy/whoami.m: Added error message if system call fails.

2009-05-19  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-3-48

	* arts/scenegen/asg_demo.m moved to demos

	* arts/scenegen/asg2y_demo.m moved to demos

	* demos/data/2006224035643_01541_CS_ECMWF-AUX_GRANULE_P_R04_E01.hdf 
                     2006224035643_01541_CS_ECMWF-AUX_GRANULE_P_R04_E01.hdf
	  added data files used by asg_demo

	* physics/parameterisation/water_psd.m: added function
	  that calculates water particle size distributions

	* arts/scenegen/asg_create_gfs.m :added function that
	  generates synthetic atmospheric states
	
2009-05-18  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-3-47

	* arts/scenegen/asg_demo.m 

	* arts/scenegen/asg2y_demo.m
	
	Added functions demonstrating how to generate synthetic 
	atmospheric states and measurements.

2009-05-04  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-46

	* forwardmodel/gridcreation/annealing/find_best_freq_set_anneal.m:
	Added additional output variable h. This is a structure containing
	the history of the annealing run. It is useful for making plots of
	the convergence behaviour.

	* forwardmodel/gridcreation/annealing/loop_anneal.m: Added an
	extra element h to output structure R, to pass on the
	corresponding output argument of find_best_freq_set_anneal.

	* forwardmodel/gridcreation/annealing/weights.m: Normalize
	weights, so that sum for each channel is exactly one. (Weight sums
	were very close to one already before. Forcing them to be exactly
	one is believed to improve robustness and generalizability for the
	final set of frequencies and weights.)

2009-04023  Marston Johnston <marston@chalmers.se>

	* atmlab-0-3-45

	* physics/parameterisations/pseudo_adiabatic_liwc.m:

	Added function that calculates liquid/ice water content in a cloud.

2009-04-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-44

	* physics/parametrisations/sphere_part_fallspeed.m: The end ' was 
	missing in two error messages.

2009-04-15  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-3-43

	* physics/parameterisation/sphere_part_fallspeed.m:

	Added a function calculating spherical particles fallspeed.

2009-04-14  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-42

	* xml/xmlLoad.m:

	Make sure to delete the temp file in case of an error.

2009-03-30  Mathias Milz  <mathias.milz@ltu.se>

	* atmlab-0-3-41

	* sensors/amsub_tb2uth.m
	  Added the function amsub_tb2uth.m which provides UTH from 
	  AMSUB Channel 18 Tbs based on the equation from Buehler 
	  and John 2005.

2009-03-26  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-40

	* graphs/geoplots/land_sea_mask.m:

	Read the mask file from arts-xml-data instead of arts-data. Avoids
	dependency to arts1 ami directory.

	REQUIRES ARTS-XML-DATA-1-1-27 !

2009-02-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-39

	* arts/qarts2cfile.m: AtmFieldsCalcExpand1D was called as soon as
	Q.RAW_ATM_EXPAND_1D was set (even when set to 0).
	Bug reported by Claudia.

	* physics/constants.m: Changed value of Earth radius to match setting
	in arts' constants.cc.

2008-11-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-38

	* retrieval/oem.m: Now possible to set first message line.

	* retrieval/qpack2.m: Gpack renamed. Just confusing to introduce
	another name. Some polishing of output P. Inversion number
	provided to oem.
 
	* retrieval/gpack.m: Removed.	

2008-10-30  Gerrit Holl  <gerrit.holl@gmail.com>

	* atmlab-0-3-37

	* sensors/atovs/atovs_read_header.m, sensors/atovs/atovs_read_data.m:
	  Added support for reading MHS data.

2008-10-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-36

	* retrieval/gpack.m (nextMeasurement): Added handling of
	BEAM_SWITCHING. Now works for Onsala H2O retrievals, with results 
	as close as can be expected to Qpack.
	
	* arts/qarts2cfile.m (cfile_Jacobi): Impelemted additions below.

	* arts/qarts.m (qarts): Added WSMS_AFTER_RTE.

	* arts/qartsJacobian.m (qartsJacobian): Added field
	POLYFIT.NO_XXX_VARIATION.

	* arts/qartsSensor.m (qartsSensor): Added field BEAM_SWITCHING.

	* files/loadvar.m: Created.

2008-10-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-35

	* atmlab/atmlab.m: Added description of SKIP_VFIXES. This setting
	can be activated if you are sure that AUTO_FIXES is up to date.
	Should save some time, and avoid interference between parallel
	processes.

	* atmlab/atmlab_defs.m: Defualt for SKIP_VFIXES is 0.

	* atmlab/atmlab_init.m: Added handling of SKIP_VFIXES. 

2008-10-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-34

	* arts/arts_oem.m: Polyfit and baseline now handled.

	* retrieval/gpack.m: Polyfit and baseline data can now be extracted. 

	* retrieval/oem.m: Added R as output argument, to faciliate re-packing
	of retrieval result.

2008-10-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-33

	* retrieval/gpack.m
	* arts/arts_oem.m
	* arts/qarts2cfile.m
	* arts/arts_oem_init.m: Improvements around gas and polyfit jacobians.
	Polyfit part not completed.
	
2008-10-22  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-32

	* forwardmodel/gridcreation/annealing/find_best_freq_set_anneal.m:
	Adapted to multichannel instruments.

	* forwardmodel/gridcreation/annealing/weights.m: Fixed small bug
	for multichannel instruments.

	* forwardmodel/gridcreation/annealing/loop_anneal.m: Added input
	variable n_incr, which species by how much the number of
	frequencies should be increased in each iteration. (Suggested
	value is the number of instrument channels, if you optimize for a
	multichannel instrument.) Also increased verbosity to 1, so that
	one can see what is going on for long slow jobs.

2008-10-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-31

	* Work in several functions to prepare for polynomial baseline fits.
	
	* retrieval/gpack.m (gpack): Removed input structore O. OEM
	variables now part of G. Result now packed into an output
	structure P. Possible to control the content of P.
	
2008-10-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-30
	
	* retrieval/gpack.m: Flag for cosmic background radiation added.

2008-10-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-29
	
	* retrieval/gpack.m: Further work. Not finished, but the general
	functionality is there.

	* arts/arts_oem_init.m: OnTheFly absorption now allowed (temporary?). 

2008-10-08  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-28
	
	* retrieval/gpack.m: Started. Something like a Qpack2, with just
	ground-based measurements as target. Some qpack features, such as
	generation of random data sets, will not be included. On the other
	hand, gpack will be designed to handle batch inversions and flexible
	input of climatology and a priori data.

	* forwardmodel/gformat/clmtlgy_define.m: Created.

	* forwardmodel/gformat/clmtlgy_interp.m: Created.

	* forwardmodel/gformat/gf_check.m: Grid data are now allowed to be
	undefined for non-active dimensions.

	* arts/qarts2cfile.m: Q.ABS_LINESHAPE and Q.ABS_LINESHAPE_FACTOR
	not handled properly.

	* retrieval/oem.m: Some variables were not renamed properly.

2008-10-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-27

	* atmlab/atmlab_init.m: addpath not removed for all moved folders.

2008-10-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-26

	* More cleaning:

	* geoplots moved to graphs/geoplots/.

	* mie/ moved to forwardmodel/mie.

	* gformat moved to forwardmodel/gformat/

	* parametrisations/ moved to physics/parametrisations/.

2008-10-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-25

	* Some cleaning:
	
	* math/covmat/: Folder created and all covmat*.m functions in
	retrieval/ moved here.
	
	* scattering/ moved to forwardmodel/scattering/
	
	* forwardmodel/gridcreation/: Folder created and the following
	functions moved here:
	   gridconvert.m
	   gridselect1D.m
	   gridselect2D.m
	   gridselect3D.m
	   gridthinning.m
	   optimize_f_grid_amsu.m
	   optimize_f_grid_hirs.m
	   optimize_za_grid.m
	   symgrid.m
	
	* anealing/ moved to forwardmodel/gridcreation/
	
	* atovs/ moved to sensors/
	
2008-10-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-24

	* demos/arts_oem_demo.m: Some polishing. The demo works now again.

	* retrieval/oem.m: Screen+file output and selection of output
	variables now works as specified. Linear and Gauss-Newton
	solutions handled at this point.

	* handy/out.m: fid can now be [] (for zero verbosity).

2008-10-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-23

	* Work in progress ...

	* arts/qarts_abs_species.m: Smaller changes to get oem to work again. 
	* arts/qartsJacobian.m: 
	* arts/arts_sx.m: 
	* arts/arts_oem_init.m: 
	* demos/arts_oem_demo.m:

	* arts/qarts2cfile.m: Jacobian part updated. 

	* retrieval/oem.m (oem): Wrote a (detailed) header and some updates.

2008-10-02  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-22

	* gformat/gf_set.m (gf_set): 
	* gformat/gf_append.m (gf_append): 
	* gformat/gfin_artsxml.m (gfin_artsxml): 
	* gformat/gfout_artsxml.m (gfout_artsxml): Added call of gf_check. 

	* gformat/gf_check.m: Created. 

	* gformat/gfout_artsxml.m (gfout_artsxml): Storage of length(G)==1 did
	not work.

2008-09-29  Gerrit Holl  <gerrit.holl@gmail.com>

	* atmlab-0-3-21

	* atovs/zamsu2llc.sh:

	This file was an old version. A newer version exists in
	atovs_tools/shell_scripts/zamsu2l1c.sh. I moved the never version here.
	This is not ideal (there should be one and only one version) but for now
	it's better than someone else getting the same confusion that I did.

2008-09-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-20

	* Made interface functions between gformat and xml GriddedField files.
	
	* gformat/gfout_artsxml.m: Created

	* gformat/gfin_artsxml.m: Created.

	* gformat/gfxmlin_GriddedField3.m: Replaced with more general
	function gfin_artsxml.
	
	* gformat/gf_append.m: Created.

2008-09-25  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-19

	* xml/xmlReadAttributes.m:

	Use s=[s c] instead of s=strcat(s,c) to append a character to a String
	because the latter removes spaces. Are you kidding me, Matlab?

2008-09-25  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-18

        * annealing: Added this directory, which contains a function
	package to optimize frequency grid by simulated annealing. The
	only inputs used are a batch of monochromatic brightness
	temperatures, and a sensor response matrix, so the functions are
	fairly general.
	
        * annealing/Contents.m: Added.
	
        * annealing/neighbour.m: Added. Pick a random neighbor to the
	current selection.
	
        * annealing/pick_random_freq.m: Added. Pick a random frequency.
	
        * annealing/test_freq_set.m: Added. Test calculation of given
	frequency selection.
	
        * annealing/weights.m: Added. Calculates weights for selected
	frequencies by linear regression.
	
        * annealing/find_best_freq_set_anneal.m. Added. This is the main
	annealing function. It finds the best set of N frequencies, where
	N is fix.
	
        * annealing/loop_anneal.m: Added. This is a higher level function,
	that loops over find_best_freq_set_anneal, increasing the number
	of frequencies until the desired accuracy is reached. For a single
	HIRS channel, 7 frequencies gave an accuracy of 0.007 K.

	* atmlab/atmlab_init.m: Added directory annealing.

2008-09-24  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-17

	* arts/arts_absmodels.cfile: File updated to ARTS2 cfile format.

	* arts/qarts.m: Q.ABS_LINES_FORMAT can now be set to None. This is
	now the way to trigger a call of abs_lines_per_speciesSetEmpty. If
	this field is left empty ({}) nothing is done. It is then assumed
	that line data are specified in an include file.

	Replaced PRE_RTE_WSMS with WSMS_BEFORE_RTE. Added WSMS_AT_START
	and WSMS_AT_END. This to allow more flexibility. The approach
	before was to only handle "standard cases" in qarts, but as arts
	has become more flexible that approach was abandoned for
	arts-0.3. I now found that these fields are needed to make it
	possible to use the full flexibility of arts (though there could
	still be some limitations).
	
2008-09-23  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-16

	* graphs/histout2plotvecs.m: Added this function. It converts the
	output of matlab's hist command to two vectors that can be plotted
	with plot.
	This function is handy to make histogram plots where only the top
	contour is shown, not the bars.  In that style, several histograms
	can be plotted in one graph.
	The trick is that we are not just connecting the histogram points
	by a straight line, but we plot little stairs corresponding to the
	histogram bins.

2008-09-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-15

	* tests/make_check.m: Now updated and slightly extended. Now
	checks that qarts_demo, qarts_demo2, qarts_scattering_demo (MC and
	DOIT version) and qarts1_demo run OK and result is as expected.
	
	* demos/qarts1_demo.m: Now using lines501.4_v1

	* demos/data/lines501.4_v1: Copy of lines501.4, but in old format.

2008-09-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-14

	* arts/arts_y.m (arts_y): Identification of MC had not been updated.

	* math/gauss.m (gauss): Now handles vector/matrix x.

2008-09-04  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-13

	* math/rms.m (rms): Added. Calculates RMS of a vector or matrix
	(always scalar return, but that may be changed).

	* arts/optimize_f_grid_hirs.m (optimize_f_grid_hirs): Added. Not
	yet tested properly. 

	* arts/optimize_f_grid_amsu.m (optimize_f_grid_amsu): Added. Used
	to derive a reduced frequency grid for AMSU, now included in
	amsub_fast.arts in arts includes directory.

2008-08-20  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-12

	* Qarts updated to changes in arts, but work not finished. Gformat
	and asg functions matching GFields are not yet updated.

	* arts/qarts2cfile.m: Adjusted to introduction of y_f, y_pos, mc_std_err
	etc. in arts.

	* arts/arts_y.m: Adjusted to introduction of y_f, y_pos etc. in arts. 

	* demos/qarts_scattering_demo.m: Adjusted to introduction of GFields. 

	* scattering/box_pnd_mono_size_1d.m: As above. 

2008-07-24  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-3-11

	* xml/xmlWriteGFieldWrapper.m (xmlWriteGFieldWrapper): Fixed "feature"
	of crash for empty grids, together with Oliver.

2008-07-02  Oliver Lemke  <olemke@core-dump.info>
	
	* atmlab-0-3-10

	* Quick commit (before the bus leaves) of writing routines for GFields. 
	No time for testing, but should work.

	* xml/xmlWriteGFieldWrapper:

	Added wrapper function for writing GFields.
	Called by the xmlReadGriddedFieldX function to write GFields of
	arbitray dimensions.

	* xml/xmlWriteGriddedField[34]:

	Adapt it for the new GFields.

	* xml/xmlReadGriddedField[12]:

	Added.

	* xml/xmlReadGFieldWrapper.m: Small doc fixes.

	* xml/xmlWriteVector.m, xml/xmlWriteArrayOf.m

	Add the option to pass an attrlist to the writing function.

2008-07-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-9

	* This version break code compatibility for GriddedField3 and
	GriddedField4!!!!

	The structure elements for the grids are no longer named p_grid,
	lat_grid, and lon_grid, but are now a cell array. A GriddedField3 for
	example has changed in the following way:

	gfield.p_grid   => gfield.grids{1}
	gfield.lat_grid => gfield.grids{2}
	gfield.lon_grid => gfield.grids{3}

	Additionally an array with the names of the grids (gfield.gridnames)
	has been added.

	* xml/xmlReadTag.m: Return attribute list to calling function.

	* xml/xmlReadGFieldWrapper:

	Added wrapper function for reading GFields.
	Called by the xmlReadGriddedFieldX function to read GFields of
	arbitray dimensions.

	* xml/xmlReadGriddedField[34]:

	Adapt it for the new GFields.

	* xml/xmlReadGriddedField[12]:

	Added.

2008-06-04  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-3-8

	* xml/xmlReadArrayOfLineRecord.m:

	Added routine to read ARTS XML catalogue files. Partly fixes
	ticket #6.

2008-05-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-7

	* MC calculations appear to work again (without f_index fix).
	
	* arts/qarts2cfile.m: Removed temporary fix for MC concerning
	f_index. Possible after change in arts.

2008-05-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-6

	* Larger revision of qarts, beside for sensor and jacobian parts.
	The demos listed below run and results look OK. MC calculations
	for more than frequency do not work, due to an incorrect treatment
	of f_index in RteCalcMC (or rather poor treatment of f_index
	generally inside arts).
	
	* demos/qarts_scattering_demo.m: Updated. 
	* demos/qarts_demo.m: Updated, beside sensor part. 
	* demos/qarts_demo2.m: Updated, beside sensor part. 

	* arts/qarts2cfile.m: Changes in absorption, cloud box, scattering
	method and basic parts to match recent changes in arts.

	* arts/qarts_abstable.m: Improved header and check of Q. 

	* time/mjd2localtime.m: Added to atmlab. 

	* geoplots/shift_longitudes.m: Added to atmlab.

2008-05-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-5

	* A quick commit to transfer work done to laptop. More later ...

	* arts/qarts_isset.m: Created.

	* arts/qarts.m: Added fields
	   PPATH_LMAX
	   PPATH_LRAYTRACE

2008-05-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-4

	* atmlab/atmlab_version.m: Information now taken from ChangeLog.
	Now not needed to edit this file before eqch commit. 
							     
	* arts/qarts2cfile.m: Updates od cloudbox and sensor parts. 

	* arts/qarts.m: OPT_PROP_GAS_AGENDA removed.

	* arts/qartsCloudbox.m: All fields now set to {}. New fields:
	   OPT_PROP_GAS_AGENDA
	   OPT_PROP_PART_AGENDA
           SPT_CALC_AGENDA
	
	* arts/qartsSensor.m: All fields now set to {}.

	* demos/data/lines501.4: As below.

	* demos/data/o3line111ghz: Now follows xlm format.

2008-05-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-3
	
	* arts/qarts2cfile.m: Some more, unfinished and untested, work. 

	* CONFIGURE: Example lines for atmlab_conf used outdated settings.

2008-05-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-2

	* arts/qarts2cfile.m: General revision of GenerlSave andAtmSrf and
	Absrpt parts, and modifications following changes below.

	* handy/rqre_bool.m: The method now handles cases when the input
	is a cell.

	* arts/qarts.m: Changed NaN to {} for non-defined field.  This to 
	allow e.g. Q.ABS_SPECIES{1}{1} = 'ClO';
	This causes an error if the field is set to NaN. [] is saved for
	defined, but empty, input.

	Removed ABS_LINES_FMIN and ABS_LINES_FMAX. Sorting of line files is
	supposed to be handled in some other way.

	* atmlab/atmlab_defs.m As below.

	* atmlab/atmlab.m: Introduced ARTS_INCLUDES

2008-05-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-3-1

	* A broken commit to backup made work. Do not update right now!
	Just a first small step to catch up with latest changes in
	arts. This will be atmlab 0.3.
	
	* arts/qarts2cfile.m: Some updates of header text.

	* arts/qarts.m (qarts): All fields now set to NaN. Updated and
	polished text.

2008-02-18  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-227

	* arts/qarts.m: modified.
	Changed name of DEFAULTS field to INCLUDES,
	and defaults for ABS_MODELS to continua.arts.

	* arts/qarts2cfile.m: modified.
	Adapted to changes in qarts.m.

	* arts/scengen/amsu.m: created.
	A new folder for amsu script.

	* arts/scengen/amsu/asg_amsu.m: created.
	asg_amsu performs 1-D radiative transfer simulations,
        for AMSU setup, on states created from cloudsat files.
        
	* gformat/gf_merge.m: modified.
	fixed a typo.
	
	
2008-02-14  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-226

	* arts/qarts2cfile.m: modified.
	If a field in Q is nan, there is no error
	message and nothing is done, it is assumed
	that the necessary input are defined in
	the defaults field. 

	* arts/qarts.m: modified.
	Default values are nan.

2008-02-06  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-225

	* arts/scenegen/asg_cloudsat_ecmwf.m: added.
	  read in cloudsat ecmwf data on gformat data

	* arts/scenegen/asg2y_1d_cloudsat.m: added.
	 Prepare ASG data for 1D scattering calculations,
	 similiar to asg2y_3d_cloudsat.m

	* arts/scenegen/asg2y_1d_1dbz_scene.m: added.
	 Performs 1D scattering calculations based on ASG data
	 similiar to asg2y_3d_1dbz_scene.m
	
2008-01-31  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-224

	* xml/xmlLoad.m: Add rudimentary support to read zipped xml files.

2008-01-31  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-223

	* demos: Demo scripts now changed to Y_UNIT='RJBT'.

	* arts/qarts2cfile.m: Changes in qarts implemented.

	* arts/qartsJacobian.m: Added the field UNIT. 

	* arts/qartsCloudbox.m: Unit for STD_ERR of MC now follows Y_UNIT. 

	* arts/qarts.m: Adopted selections for Y_UNIT to WSV y_unit.
	Added field DEFAULTS.

	* time/mjd2doy.m: Returned doy now ensured to have same size as mjd
	(avoiding going from column to row vector).

	* time/mjd2string.m: Created. 

2007-12-17  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-222

	* arts/scenegen/asg_pathiwc.m: modified.
	  changed an index.
	
2007-12-12  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-221

	* arts/scenegen/asg_iwc_relhumid: created.
	  modify the water vapour field in G
	  depending on the iwc field
	
2007-12-11  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-220

	* gformat/gf_merge.m: created.
	  merge two gformat arrays.

	* sensors/cloudsat_iwc_read_std.m: removed.

	* gformat/gf_z2p_fascod.m:removed.


2007-12-11  Stefan Buehler  <sbuehler(at)ltu.se>

	* atovs: Moved ATOVS specific functions here from sensors.

	* atovs/old_routines: Ditto, for those functions that have not yet
	been checked.
	
	* atovs/Contents.m: Added.

	* atovs/old_routines/Contents.m: Added.

	* atovs/zamsu2l1c.sh: Added.

2007-12-11  Stefan Buehler  <sbuehler(at)ltu.se>

	* atovs: Added. Will move atovs functions here.

	* atovs/old_routines: Added. For unadapted Bremen routines. The
	idea is to move adapted routines one directory up, or create new
	replacement routines there. Should be removed at some point in the
	future.

	* sensors/atovs_read_data.m: Removed big endian option from data
	read. 

	* sensors/atovs_read_header.m: Removed big endian option from data
	read. 

	* sensors/atovs_select_datafile.m: Fixed function name.

2007-12-10  Stefan Buehler  <sbuehler(at)ltu.se>

	* atmlab-0-2-220

	* sensors/atovs_*: Added these functions again. We need them to
	read AMSU data. They were removed by Patrick in atmlab version
	atmlab-0-2-153 for being specific to Bremen. Patrick, please
	explain which parts are too specific, I'll try to fix them.

	* sensors/gmt_map.sh: Also added this again for now.

2007-12-10  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-219

	* arts/scenegen/asg_pathiwc.m: modified.
	  more input, and can now handle multiple
	  propagation paths

2007-12-07  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-218

	* arts/scenegen/asg_pathiwc.m: modified.
	  now this function also returns relative humidity
	  along propagation path.

2007-12-06  Bengt Rydberg  <benryd@chalmers.se> 

	* atmlab-0-2-217

	* arts/scenegen/asg_pathiwc.m: created.
	  calulates iwc and iwp along geometric propagation path
	  on gformat data

2007-12-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-216

	* arts/arts_y.m: CLOUDBOX instead of CLOUDBOX_DO was used to check
	if scattering calculations made.

	* arts/scenegen/asg2y_3d_1dbz_scene.m: Quitafied call of arts_y.

2007-12-04  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-2-215

	* arts/gformat/gfin_cloudsat_ecmwf.m: created.
	  reads in cloudsat ecmwf data on gformat
       
	* arts/scenegen/asg2y_3d_cloudsat.m: modified.
	  changed a function call to date2mjd
        
	* randomize/iaaft/iaaft_loop_3d.m: modified.
	  changed a tic call

2007-12-04  Bengt Rydberg  <benryd@chalmers.se>

        * atmlab-0-2-214
	
	* arts/scenegen/asg_2d23d.m: created.
	  expand 2-dimensional Gformat data into
          3-dimensional data using an Iterative
          Amplitude Adapted Fourier Transform (IAAFT) 
          algorithm.

	* randomize/iaaft/: created.
	  This directory contains programs to make surrogate 
	  cloud fields using the Iterative Adapted Fourier Transform 
	  (IAAFT) method or the Stochastic Iterative Amplitude Adapted 
	  Fourier Transform (SIAAFT) method.
	  This Matlab version was written by Victor Venema.
	
2007-12-03  Bengt Rydberg  <benryd@chalmers.se>

        * atmlab-0-2-213
	
	* arts/scenegen/asg2y_3d_cloudsat.m: modified.
	  minor changes.

	* arts/math/binning.m: modified error check.

	* arts/gformat/gf_bin.m: modified error check.

	* arts/gformat/gfin_cloudsat_dBZe.m: modified.
	  added comments, and handling of file not found.

	* arts/scattering/create_ssp.m: created.
	  create single scattering properties data and is
          an interface to mie_scat_data
	
2007-12-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

        * atmlab-0-2-212

	* sensors/cloudsat_read.m: Mapping to lowercase for choices did
	not work.

	* arts/scenegen/asg2y_3d_1dbz_scene.m: Some polishing.

	* forwardmodel/symgrid.m: Created.

	* math/si2fwhm.m: Created.
	* math/fwhm2si.m: Created.

2007-11-27  Bengt Rydberg  <benryd@chalmers.se>

        * atmlab-0-2-212
	
	* arts/scenegen/asg_dimadd.m: modified.
	  changed longitude definition to [-180 180].

	* arts/scenegen/asg_zeropad.m: modified.
	  changed longitude definition to [-180 180].

2007-11-26  Bengt Rydberg  <benryd@chalmers.se>

        * atmlab-0-2-211

        * arts/scenegen/asg2y_3d_cloudsat.m: modified.
          fixed a typo.  
	
	* arts/scenegen/asg_dimadd.m: modified.
	  added a new dimadd method.
	
2007-11-26  Bengt Rydberg  <benryd@chalmers.se>

        * atmlab-0-2-210

        * arts/scenegen/asg2y_3d_1dbz_scene.m: Created. 
          Performs 3D scattering calculations for one scene
	  based on ASG data. 

	* arts/scenegen/asg2y_3d_cloudsat.m: Created. 
          Performs 3D scattering calculations for multiple scenes
	  based on ASG data.
        
	 * physics/p2z_cira86.m:modified. 
		
2007-11-26  Bengt Rydberg  <benryd@chalmers.se>

        * atmlab-0-2-209

        * gformat/gfin_crop.m: Created. crop gformat data.

        * arts/scenegen/asg_zeropad.m: Created. 
          The function pad asg_data with zeros

        * arts/scenegen/asg_dimadd.m: modified.
          added a knew method
        
        * arts/scenegen/asg_dbz2pnd.m: created.
          The function converts radar reflectivity
          to iwc and pndfields.

        * arts/scenegen/asg_hydrostat.m: modified.
          changed an index.

        * arts/scenegen/asg_fixed_relhumid.m: modified.
          added a col2vec to work better.
     
2007-11-12  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-2-208

	* gformat/gfin_cloudsat_dBZe.m: Created. Read cloudsat
	data into gformat.

        * gformat/gf_bin.m: Created. The function bin gformat
	data.
	
2007-11-12  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-2-207

	* handy/fun2Dwrapper.m: modified. Changed errorcheck
	 and an index.
		
	* math/bining.m: modified. Completely changed this
	binning function.

2007-11-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-206

	* handy/funshiftdim.m: Created.
	* handy/fun2Dwrapper.m: Created.
	* handy/fun1Dwrapper.m: Created.

2007-11-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-205

	* gformat/gfxmlin_GriddedField3.m: Now possible to give empty G 
	and D.

	* graphs/suptitle.m: Copied from arts1/ami. 

	* arts/qartsCloudbox.m: Defined field ALL_F for DOIT. Changed and 
	improved description of SCAT_ZA_INTERP.

	* arts/qarts2cfile.m: Added ALL_F for DOIT option. 

	* demos/qarts_scattering_demo.m: Added ALL_F for DOIT option. 

2007-11-02  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-2-204

	* physics/z2p_cira86.m added. 
	  convert altitude to pressure.

	* physics/p2z_cira86.m added.
	  convert pressure to altitude.

2007-11-01  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-2-203

	* gformat/gf_z2p_fascod.m added. 
	  convert altitude to pressure.

	* gformat/gf_p2z_fascod.m added.
	  convert pressure to altitude.

2007-11-01  Bengt Rydberg  <benryd@chalmers.se>

	* atmlab-0-2-202

	* sensor/cloudsat_read.m: Function now gives a warning  
	when no unit conversion is implemented for the particular 
	datafield.
	
2007-10-30  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-201

	* demos/qarts_scattering_demo.m: METHOD_PRMTRS.SCAT_ZA_INTERP
	now set to 'polynomial' as this was found to be better choice
	for limb sounding cases.

	* arts/arts_tgs2species.m: Variable return_char was not set for 
	non-string input.

	* arts/qarts2cfile.m: Removed if-statement around REINIT.

	* demos/qarts_scattering_demo.m: Removed REINIT. 

	* arts/qartsCloudbox.m: Removed DOIT field REINIT. 

2007-10-29  Mattias Ekstrom  <mattias.ekstrom@chalmers.se>

	* atmlab-0-2-200

	* sensor/cloudsat_read.m: Now the scaling factor and offset in the
	HDF files is included in the reading routine. This is a general
	method that takes information from the HDF file itself, so this
	works for all datatypes.
	The conversion to SI units is still needed to be implemented for 
	each datatype.

2007-10-29  Mattias Ekstrom  <mattias.ekstrom@chalmers.se>

	* atmlab-0-2-199

	* sensor/cloudsat_read.m: Function now gives a warning instead of 
	an error when no unit conversion is implemented for the particular 
	datatype. 

2007-10-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-198

	* Scattering batch calculations appear OK (in qarts and ASG).

	* arts/scenegen/asg2q.m: Work to handle particles in batch
	mode.

	* arts/qarts2cfile.m: Added sub-function add_rtecalc, to easily
	include call of relevant RteCalc function in batch part. Work
	on batch part.

	* arts/qartsBatch.m: Introduced field WSM.

2007-10-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-197

	*  New way to handle state for rand and randn. See below.

	* ASG now tested for clear sky and all combinations between 1D-3D and
	RteCalc/batch calculations. Scattering calculations works also for
	1D and 3D with RteCalc.
	
	* atmlab/atmlab.m: Included description of rand_state.

	* atmlab/atmlab_defs.m: Included RAND_STATE with NaN as default. 

	* atmlab/atmlab_init.m: Now includes setting of state for random
	generators.

	* files/create_tmpfolder.m:     Removed: rand('state',100*sum(clock))
	* randomize/make_noise.m:       from these functions. This approach
	* randomize/randmvar_normal.m:  is in fact quite dangerous when the 
	* randomize/randmvar_normal2.m: functions are called repeatedly inside
	                                a short time period. The same random
	number(s) are then generated. This was discovered as duplicates of
	randomly generated profiles were found. Of 10 1D profiles supposedly
	different, it was found that only 2 or 3 different profiles were 
	generated. This means that it is up to the user to init rand and
	randn for each matlab session if different random states shall be
	obtained. This can now be handled by atmlab option RAND_STATE.

	* arts/scenegen/asgG.m: Introduced the field SURFACE. 

	* arts/scenegen/asg_dimadd.m: Now working with surfaces in 1D cases.

	* arts/scenegen/asg_regrid.m: Try catch to better explain error 
	messages from gf_regrid. Now working with surfaces in 1D cases.

2007-10-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-196

	* ASG now tested both for 2D and 3D.

	* arts/scenegen/asg_rndmz.m: Try/catch around covmat3d for more 
	detailed error message.

	* retrieval/covmat3d.m: Now detailed check of SI, CL1, CL2 and CL3
	fields of D.

	* gformat/gf_increase_dim.m: Did not work when DIMS does not
	include 1.

	* sensors/cloudsat_read.m: Created.

	* sensors/cloudsat_l1b_read.m: Removed. Replaced by the function 
	above.
	
2007-10-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-195

	* Work on both qarts and asg to handle batch calculations. Appears 
	to work, but not carefully checked or documented yet.

	* arts/scenegen/asg2q.m: Now handling batch cases.

	* arts/scenegen/asg_copy_case.m: 

	* arts/qartsBatch.m: Fields CALC_AGENDA and POST_AGENDA removed. 

	* arts/qarts2cfile.m: New code to handle batch calculations. 

	* arts/arts_batch.m: Updated. 

	* arts/scenegen/asg_fixed_relhumid.m: Now considering multiple cases. 

	* arts/scenegen/asgD.m: Now more detailed description of cases
	dimension.

	* arts/scenegen/asg_hydrostat.m: Now considering multiple cases. 

	* arts/scenegen/asg_rndmz.m: Now considering multiple cases. 

	* arts/scenegen/asg_copy_case.m: Created.

2007-10-22  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-194

	* xml/xmlReadTag.m:

	Reading binary files should now really not let any more open files
	behind....

2007-10-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-193

	* arts/scenegen/asg_rndmz.m: Modified version of asg_randomize_std.m.

	* arts/scenegen/asg_randomize_std.m: Renamed to asg_rndmz.m. 
	
	* arts/scenegen/asg2q.m: Updated.

	* arts/scenegen/asg_surface.m: Removed.

2007-10-22  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-192

	* xml/xmlReadTag.m: Reverted... this needs more thought...

2007-10-22  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-191

	* xml/xmlReadTag.m: Properly close binary file.

	* xml/xmlLoad.m: Improve parsing of xml header.

2007-10-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-190

	* Smaller fixes in several headers.
	
	* arts/scenegen/asg_dimadd.m: Wrote header.

	* arts/scenegen/asg_fixed_relhumid.m: Updated. 

	* arts/scenegen/asg_hydrostat.m: Updated.

2007-10-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-189

	* Revision of ASG, following changes in the gformat. Not finished.
	Information is now obtained by:
	   qinfo( @asgD )
	   qinfo( @asgG )
	
	* arts/arts_tgs2species.m: Option to give input in arts tag format
	now removed. A string is now interpreted as a single tag.

	* arts/qarts.m: Added fields Q.ABS_LINES_FMIN and Q.ABS_LINES_FMAX.  

	* arts/qarts2cfile.m: Added handling of Q.ABS_LINES_FMIN and
	Q.ABS_LINES_FMAX.

	* arts/scenegen/asg_dimadd.m: Created.

	* arts/scenegen/asg_clearsky.m: Deleted

	* gformat/gf_set.m: Added optional arguments: name, data_name, 
	data_unit and source.

	* arts/scenegen/asgG.m: Created. 

	* arts/scenegen/asgD.m: Created. 

	* arts/scenegen/asg_atmgrids.m: Updated to new definition of gformat.

	* arts/scenegen/asg.m: Deleted. 
	
2007-10-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-188

	* Definition of gformat changed. In short, the dimensions are now
	the same for items in G, but not all dimensions must be active. 

	The arts scene generator is not yet updated to gformat changes.
	
	* gformat/gf_regrid.m: Updated. 

	* gformat/gf_interp.m: Removed.

	* gformat/gf_set.m: Created.

	* gformat/gf_increase_dim.m: Updated.

	* gformat/gf_grid_union.m: Updated. 

	* forwardmodel/gridconvert.m: Created. 

	* gformat/gf_grid_convert.m: Updated. Actual conversion lifted out
	to *gridconvert*.

	* gformat/gf_decrease_dim.m: Removed. Not very useful with new format.

	* gformat/gf_copy_grids.m: Removed. Obselete with new format. Can
	now be made as
	   G2      = G;        % G has DIMS=[1 2 3];
	   G2.DIMS = [ 2 3 ];
	   G2      = gf_clean( D, G2 );
	
	* gformat/gf_clean.m: Updated to new format. 

	* gformat/Contents.m: Description updated.

2007-10-16  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-187

	* xml/xmlReadTag.m: Fix reading of binary files in windows.

2007-10-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-186

	* arts/scenegen/asg_fixed_relhumid.m: Now possible to specify profile
	points using the distance to the local tropopause.

	* physics/tropopause.m: Better and faster algorith than applied before.
	But the second part of the WMO definition is still not considered.

2007-10-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-185

	* arts/scenegen/asg2q.m: Corrected a bug for surface part and
	~CREATE_FILES.

	* arts/scenegen/asg_fixed_relhumid.m: Settings now part of A. 

2007-10-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-184

	* arts/scenegen/asg_fixed_relhumid.m: Created.

	* retrieval/covmat3d.m: Created. Replaces arts_covmat.

	* arts/scenegen/asg_randomize_std.m: Created.

	* arts/scenegen/asg.m: Added description of field D for ABS_SPECIES 
	and T.

	* physics/pt2z.m: Did not work for row vector p grids.k

	* arts/arts_covmat: Removed.
	
	* retrieval/covmat3d_from_cfun.m: Added by renaming arts_covmat.
	Cleaned up input options. Option dtype moved to *covmat3d*.

	* demos/randmvar_demo.m: Fixed.

	* randomize/randmvar_normal.m: Call of dimens was incorrect. The
	function was called dimen.

	* retrieval/covmat_seperable_corrcoef.m: Renamed
	
	* retrieval/covmat_partstat_corr.m: Added by renaming
	covmat_seperable_corrcoef.m.

	* retrieval/covmat1d_from_cfun.m: New name of covmat_from_cfun.m.
	Fixed all calls inside atmlab of this function.

2007-10-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-183

	* arts/scenegen/: Smaller improvements in several functions.
	
	* arts/scenegen/asg_surface.m: Created.

	* math/regrid.m: Now an error of any grid has length 1 and not 
	EXTRAP option activated.

	* forwardmodel/gridthinning.m: Simplest possible algorithm now 
	applied.

	* gformat/gf_grid_convert.m: Now using feval to call mapfun
	(needed for Matlab 6).
	
2007-10-09  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-182

	* arts/scenegen/asg.m: Started. Definition of asg settings. 

	* arts/scenegen/asg_hydrostat.m: Created. 

	* gformat/gf_increase_dim.m: Did not work for input with dim=0.

	* gformat/gf_decrease_dim.m: Created. 

	* arts/scenegen/asg_regrid.m: Created.

	* math/regrid.m: Data dimension now extracted by number of given
	grids. This to make it possible to work with grids of length 1
	(for highest dimension).

	* gformat/gf_regrid.m: Interpolaion option was not passed to regrid. 

2007-10-08  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-181

	* arts/scenegen/asg_load.m: Started.

	* gformat/gf_import_artsGriddedField3: Renamed..

	* gformat/gfxmlin_GriddedField3.m: gf_import_artsGriddedField3 renamed.

	* gformat/gf_grid_union.m: Some improvement of function header.

	* gformat/gf_grid_convert.m: Definition of default values were
	missing in header.

	* gformat/gf_clean.m: Improved header text.

	* gformat/Contents.m: Updated text.

	* gformat/gf_export_qarts.m: Removed this function stub.

	* arts/scenegen: Created this folder to hold functions to generate
	atmospheric scenes. To be based on xml and gformat. 
	
	* atmlab/atmlab_init.m: Removed addpath for atmscenarios (see
	previous commit). Added addpath for arts/scenegen.

	* arts/notes.txt: Removed (obsolete).

2007-10-08  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-180

	* Just some cleaning.

	* atmscenarios/: Folder and simplecloud functions removed.
	
	* math/gauss_laguerre_apply.m: Moved here from atmscenarios/.

	* math/gauss_laguerre.m: Moved here from atmscenarios/.

	* parametrisations/gamma_lambda2d.m: Moved here from atmscenarios/.

2007-10-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-179

	* arts/arts_abstable.m: Wrote header.

	* arts/arts_read_linefile.m: Added sorted and ilim as optional
	arguments.

	* arts/arts_tgs2species.m: Corrected. Did not work as described. 

	* arts/arts_absmodels.cfile: Some models not sorted correctly. Added
	some H2O continua only models.

	* retrieval/oem.m: Using sparse identify matrices when calculating
	Seinv and Sxinv.

	* handy/rqre_scalar.m: Now works also if input is a structure.

2007-09-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-178

	* demos/qarts_scattering_demo.m: Demo for both DOIT and MC. Based
	on, and replaces, qarts_doit_demo.

	* demos/qarts_scattering_demo.m: Removed.

2007-09-26  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-177

	* parametrisations/eps_ice_liebe93.m: Now checking that input variables
	are inside OK ranges.

	* scattering/mie_scat_data.m: Added a check on sign on imaginary part. 

2007-09-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-176

	* arts/qarts2cfile.m: MC calculations now handled, by RteCalcMC.

	* arts/arts_y.m: Updated to also handle MC calculations. 

	* arts/qartsCloudbox.m: MC field for seed removed. 

	* handy/out.m: Corrected header.

2007-09-10  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-175

	* Some work to get MC working again, but got stuck. Cory is
	contacted. More later.
	
	* demos/qarts_doit_demo.m: Usage of temporary folder removed. 

	* arts/qarts2cfile.m: Changes around PND_FIELD and SCAT_DATA.
	Some old (incorrect) code was removed. File names and data can now
	be mixed for both variables.

	* arts/qartsCloudbox.m: Description of PND_FIELD and SCAT_DATA now 
	matches what is implemented.

2007-09-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-174

	* arts/arts_oem.m: Revised.

	* arts/arts_oem_init.m: Code cleaned and improved. 

	* demos/arts_oem_demo.m: Revised. Now working.

	* math/interpd.m: Improved error message.

	* math/interpd.m: Added missing description of *pos*.

	* arts/qarts_abs_species.m: Appending to ABS_NLS was not done
	correctly.

	* arts/qarts.m: The option to define jacobian by a pre-calculated
	jacobian_quantities was removed. Was not implemented before. And
	not straightforward to implement as the jacobian-agenda is needed
	in parallel.

	* arts/qarts2cfile.m: Updated jacobian, which is now working. 

	* demos/qarts_jacobian_demo.m: Updated, and now working.

	* demos/qarts_doit_demo.m: Now doing absorption in a more
	efficient manner.

	* arts/qarts2cfile.m (cfile_Absrpt): The CalcTable option missed
	setting of abs_scalar_gas_agenda.

	* arts/arts_sensor.m: Now using binary format. Change below fixed
	old problem.

2007-09-05  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-173

	* xml/xmlReadIndexVector.m: Read integers from binary file, not floats.

2007-08-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-172

	* Fixed some smaller problems. DOIT calculations now possible.
	
	* demos/qarts_doit_demo.m: Now working again.

	* arts/qarts.m: Added field OUTPUT_FILE_FORMAT.

	* arts/qarts2cfile.m: Added handling of OUTPUT_FILE_FORMAT.
	Separated adding of cloudbox variables and scattering calculation
	method definitions. DOIT appears to work, but only for 
	Q.CLOUDBOX.METHOD_PRMTRS.I_REINIT = 1;
	
	* demos/qarts_demo2.m: Created. 

	* arts/qarts_abstable.m: Fixed bug appearing when ABS_NLS=[]; 

	* arts/arts_sensor.m: Output is now included in Q, instead of
	separate structure.

	* arts/arts_atmfields.m: Fixed error in header.

2007-08-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-171

	* Large restructuring of qarts/qarts2cfile and surrounding
	functions. Maintenance and extensions should now be simpler.  These
	parts should work: setting up of absorption look-up table through
	ARTS-1.1 (done by qarts_abstable + arts_abstable), setting up
	sensor transfer matrix separately (arts_sensor) and calculation of
	spectra without scattering or jacobians). Spectra can now be calculated
	e.g. with on-the-fly absorption. Please test and comment.

	It appears that the matlab reading of xml sparse files does not work
	and sensor responses can not yet be loaded into Matlab.

	* arts/arts_absmodels.cfile: Created.

	* arts/arts_atmfields.m: Replaces arts_get_atmfields.m and is
	fixed with respect to changes in qarts2cfile.m. Added r_geoid and
	z_surface as output arguments.

	* arts/arts_abcde.m: Fixed with respect to changes in qarts2cfile.m.

	* arts: Removed functions
           arts_get_atmfields.m
	   q_abs_species.m
	   qarts_batch.m
           qarts_cloudbox.m
           qarts_jacobian.m
           qarts_sensor.m

	* arts/qartsBatch.m: Replaces qarts_batch.

	* arts/qartsJacobian.m: Replaces qarts_jacobian.

	* arts/qartsSensor.m: Replaces qarts_sensor.
	
	* arts/qartsCloudbox.m: Replaces qarts_cloudbox.
	
	* arts/qarts2cfile.m: Large changes of internal code structure. 
	Added functionality around absorption. Changed functionality
	(using DO fields) around sensor, jacobian and cloudbox.

	* arts/qarts.m: Polishing and update of text. Added fields around 
	ABSORPTION, and CLOUDBOX_DO, J_DO and SENSOR_DO.

	* arts/arts_y.m: Polished. And ydata added as output argument.

	* arts/qarts_abs_species.m: Replaces q_abs_species.

	* demos/qarts_demo.m: Updated following changes above. Batch and some
	other options removed, to create as simple example as possible. 

	* arts1/qarts1.m: Improved text in a few places. 

2007-07-21  Mattias Ekstrom  <mattias.ekstrom@chalmers.se>

	* atmlab-0-2-170

	* arts/qarts2cfile.m: In subfunction sensor2cfile changed behaviour
	of the multi-mixer setup so that it matches the updates made in ARTS.
	The multi-mixer WSM uses a matrix for the channel response, not an 
	array of matrices.

2007-08-06  Stefan Buehler  <sbuehler@irv.se>

	* atmlab-0-2-169

	* xml/xmlWriteGriddedField4.m: Added.

	* xml/xmlReadGriddedField4.m: Added. 

	* physics/twvcalc.m: Added. Calculates water vapor column values
	in kg/m^2.

2007-07-23  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-168

	* xml/xmlStoreImpl.m: Fix function name.

2007-06-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-167

	* graphs/add_plot_row.m: This function did not work as described
	in header. Function input made both code and usage
	complicated. Introduced then the input argument hspacing. 
	So function input and effect of function changed. This will brake old
	usage of function. Sorry. Hopefully last modification of this function!

2007-06-04  Mathias Milz  <mathias.milz@ltu.se>

	* atmlab-0-2-166

	* sensors/airs_l12_swath_file.m, sensors/airs_l3_grid_file.m: 
	added reading routines for airs level1/2 data (swath grid) and 
	for airs level 3 data (lat-long grid) in hdf format.

2007-06-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-165

	* arts/arts_abstable_from_arts1.m: A.t_pert now written as empty to XML
	file if no perturbation. Better check of input *dt*.
	(Problem reported by Craig Haley).

2007-05-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-164

	* sensors/cloudsat_l1b_read.m: As below. 

	* sensors/cloudsat_iwc_read_std.m: Moved from Chalmers SVN repository.

2007-05-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-163
	
	* retrieval/covmat_from_cfun.m: Added to *mapfun* as input
	argument, to handle specification of correlation lengths in pressure 
	decades.

	* gformat/gf_grid_convert.m: Changed input to function, in order to
	make it more general.

	* math/pow10.m: Created.

	* retrieval/covmat_seperable_corrcoef.m: Finished.

2007-05-23  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-162

	* retrieval/covmat_seperable_corrcoef.m: Started. 

	* retrieval/covmat_from_cfun.m: Changed cfun option 'dia' to
	'drc', as the old option is not a functional form. This option did
	not include standard devs.
	EXTRAP is not considered. Scalar Std and Cl now accepted.

	* randomize/randmvar_normal2.m: Re-implementation (missed to make
	add home on laptop).

	* randomize/make_noise.m: Removed call of covmat_test, as the
	same test is made when calling chol.

	* randomize/randmvar_normal.m: As above, and allowd x to be a scalar.

2007-05-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-161

	* randomize/randmvar_normal2.m: Created.

	* randomize/randmvar_normal.m: Added check of semidefinite matrix
	and scrambling of random seed.

	* arts/arts_covmat.m (make_cmatrix): Incorrect variable name for x
	in gau option.

2007-05-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-160

	* arts/arts_covmat.m: Now using interpd.

	* gformat/gf_interp.m: Now using interpd.

	* math/interpd.m: Created.

	* gformat/gf_interp.m: Fixed mistakes for dimensions ~=1.

2007-05-21  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-159

	* gformat/gf_interp.m: Finished.

	* gformat/gf_export_qarts.m: Now handling Z_FIELD. 

	* math/regrid.m: Now considering EXTRAP.

	* math/expand2inf.m: Created.

	* math/dimens.m: A scalar gives now 1, instead of []. 

	* atmlab/atmlab.m: Introduced EXTRAP.

	* atmlab/atmlab_defs.m: Introduced EXTRAP and set default values
	for all fields not being paths.

2007-05-21  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-158

	* gformat/gf_interp.m: Started.

	* gformat/gf_regrid.m: Interpolation option was not piped to regrid. 

	* physics/pt2z.m: Unnecessary restriction to latitudes >=0. Now
	[-90,90] are OK.

2007-05-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-157

	* obsolete/issame.m: Added.

	* gformat/gf_copy_grids.m: Created. 

	* forwardmodel/pathpoint2sensorposlos.m: Finished. 

	* gformat/gf_export_qarts.m: Added handling of R_GEOID and Z_SURFACE.

2007-05-16  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-156

	* arts/arts_sph2cart.m: Created.

	* arts/arts_poslos2cart.m: Created.

	* arts/arts_cart2poslos.m: Created.

	* arts/arts_cart2sph.m: Created. 

	* forwardmodel/pathpoint2sensorposlos.m: Started. 

2007-05-15  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-155

	* gformat/gf_export_qarts.m: Created.

	* gformat/gf_grid_convert.m: Created.

	* gformat/gf_regrid.m: Created.

	* arts/arts_tgs2species.m: Created.

	* gformat/gf_grid_union.m: Created.

	* forwardmodel/gridthinning.m: Created.

2007-05-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-154

	* gformat/: Started on an internal standardized format for gridded
	data. Created these first functions:
	   gf_clean.m
           gf_import_artsGriddedField3.m
           gf_increase_dim.m

	* atmlab/atmlab_init.m: Updated with new folders. 

	* handy/rnfield.m: Copied from matlab file exchange site. 

2007-05-14  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-153

	* Spring cleaning !!!

	* geoplots/: Renaming of atmplots.
	
	* physics/: Moved 
	   p2z_simple.m
	   z2p_simple.m
	   tropopause.m
	
	* retrieval/: Moved covmat_XXX functions to this folder.
	
	* randomize/:  Folder started and the following functions
	were moved to this folder:
	   make_noise.m
	   randmvar.m
	   randmvar_add_lognormal.m
	   randmvar_add_normal.m
	   randmvar_add_uniform.m
	   randmvar_normal.m

	* math/cdf_normal.m: Moved from atmscenarios/.

	* math/interpp.m: Moved from forwardmodel/.
	* math/loggrid.m: As above.

	* parametrisations/: Folder started and the following functions
	were moved to this folder:
	   e_eq_ice.m
	   e_eq_water.m
	   eps_ice_liebe93.m
	   eps_ice_matzler06.m
	   eps_water_liebe93.m
	   ice_psd_Donovan_03.m
	   ice_psd_Heyms_84.m
	   ice_psd_Ivanova_01.m
	   ice_psd_Mcfar_97.m
	   ice_psd_Mitchell_99.m
	   ice_psd_ellipsoids.m
	   ice_psd_gamma.m
	   n_ice_wiscombe.m
	   n_water_segelstein.m
	   n_water_wiscombe.m
	   pos2g.m
	   wgs84.m
	   wiscombe.m

	* sensors/auramls_read_l2gp.m: Renaming of read_auramls_l2gp.m.

	* sensors/: Removed all atovs_XXXX functions as the set up was quite 
	specific for old Bremen group.

	* Correction of spelling mistakes in several headers.
	
	* Revised or added Contents.m in all sub-folders.
	
2007-04-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-152

	* arts/qarts2cfile.m (cloudbox2cfile): Adapted to changes in ARTS-MC
	part, and changed scoping for agendas. 

	ARTS-MC calculations can now be performed again, but only through 
	ScatteringMonteCarlo. There is yet no interface to MCGeneral.

2007-04-10  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-151

	* atmlab/atmlab.m, atmlab/atmlab_defs.m:

	Split out atmlab_defs into its own file. Matlab R2006a doesn't find
	the inlined function if the user is not inside the atmlab directory
	while calling an atmlab function which depends on it.

	* handy/prstnt_struct.m: Typo.

2007-04-03  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-150

	* AUTHORS, INSTRUCTIONS: Minor change. CVS->SVN.

2007-03-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-149

	* graphs/colorspec.m: Created.

	* graphs/colorset.m: Created. 

	* graphs/zerowhite2.m: Created.

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

	* atmlab-0-2-148

	* arts/arts_oem_plot_x.m: Removed.

	* atmplots/atmplot_xdata.m: Created. 

	* atmplots/vmrunit.m: Created.

	* graphs/set_titles.m: Corrected header.

2007-03-05  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-147

	* arts/arts_oem_init.m: Included error if obtained R.jq is empty
	(should be a bug).

	* arts/q_abs_species.m: Q.J.ABS_SPECIES(i).DO was not set correctly
	when do_j was 0.

	* demos/example_colorbar.m: Moved from graphs/ folder.

	* arts/arts_oem_plot_x.m: Started. 

	* arts/arts_covmat.m: Wrong grids were converted to pressure decades.

2007-03-01  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-146

	* atmscenarios/tropopause.m: Created.

	* math/binning.m: Corrected header.

	* arts/arts_y.m: Same problem as for arts_abstable_from_arts1.m in
	last commit.
	
	* arts/arts_batch.m: Same problem as for arts_abstable_from_arts1.m in
	last commit.

	* arts/arts_abcde.m: Same problem as for arts_abstable_from_arts1.m in
	last commit.
	
2007-02-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-145

	* arts/arts_abstable_from_arts1.m: Flag for removing workfolder was
	not set properly.
	
2007-02-22  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-144

	* math/binning.m: Created.

2007-02-07  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-143

	* Partly a test of commiting after change of repository.

	* demos/qarts_doit_demo.m: Corrected function format in header.

2007-01-17  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-142

	* arts1/qarts12cfile.m: Added missing } for refrSet. Bug reported and
	solved by Craig Haley.

2007-01-12  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-141

	* handy/qinfo.m: Fixed bug reported by Craig Haley. The function failed
	for low SCREEN_WIDTHs.

2007-01-11  Mattias Ekstrom <mattias.ekstrom@chalmers.se>

	* atmlab-0-2-140

	* graphs/plotxx.m: NEW. Function similar to the MATLAB funtion
	plotyy but works on the x-axis instead. Found on MathWorks
	file exchange.

2006-12-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-139

	* physics/pos2g.m: Created.

2006-11-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-138

	* forwardmodel/isotopologue_data.m: Created.

	* forwardmodel/voigt_humlik.m: Added.

2006-11-21  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-137

	* forwardmodel/doppler_width.m: Created.

	* forwardmodel/doppler_lshape.m: Created.

	* forwardmodel/lorentz_lshape.m: Created. 

2006-10-19  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-136

	* graphs/set_linestyle.m: Created.

2006-09-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* arts/ji2m.m: Created.

	* retrieval/mrespA.m: Created.

	* retrieval/splitA.m: Created.
	
2006-09-28  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-134
	
	* arts/qarts2cfile.m: Output files are now binary for speed reasons. 

	* arts/arts_sensor.m: Created.

	* demos/qarts_demo.m: MBLOCK_ZA_GRID now a Qarts field. 

	* arts/arts_y.m: Added workfolder as optional input argument. 

	* arts/arts_abcde.m: Added workfolder as optional input argument. 

	* arts/arts_abstable_from_arts1.m: Added workfolder as optional input 
	argument. 

	* arts/arts_batch.m: Added workfolder as optional input argument. 

2006-09-27  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-133

	* forwardmodel/loggrid.m: Added a % that "was lost".

	* handy/rqre_datatype.m: Small change in error message. 

2006-09-25  Patrick Eriksson  <patrick.eriksson@chalmers.se>

	* atmlab-0-2-132

	* arts/arts_covmat.m: Fixed bug that appeared due to differences
	in isvector (atmlab or matlab internal). 

2006-09-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-131

	* atmlab/atmlab.m: Included DEBUG as field.

	* arts/qarts_sensor.m: Some fields now in qarts were not removed.

2006-09-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-130

	* The ARTS/OEM part is now running again. Now with clearer flow
	(hopefully), function headers written and improved calculations
	speed. So far only gas species handled.

	* arts/: Large modifications on function related to ARTS/OEM. For
	example, arguments changed for several functions. Some other
	changes:

	* arts/arts_sx.m: Created.

	* arts/qarts.m (Q.SURFACE_PROP_AGENDA): Default now defined, 
	corresponding to a blackbody ground.

2006-09-06  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-129

	* arts/: Included try and catch in all functions creating a tmpfolder.
	This to allow cleaning up if any error.

	Work on OEM part to avoid repeating reading and saving of files, and
	cleaning up. Not ready.

	* arts/qarts2cfile.m: Added handling of ANTENNA_DIM,
	MBLOCK_ZA_GRID, MBLOCK_AA_GRID, SENSOR_RESPONSE_F,
	SENSOR_RESPONSE_AA, SENSOR_RESPONSE_ZA and SENSOR_RESPONSE_POL.

	* arts/qarts.m: Updated description for SENSOR_RESPONSE.
	Added ANTENNA_DIM, MBLOCK_ZA_GRID, MBLOCK_AA_GRID, SENSOR_RESPONSE_F,
	SENSOR_RESPONSE_AA, SENSOR_RESPONSE_ZA and SENSOR_RESPONSE_POL.

	* arts/qarts_sensor.m: Moved ANTENNA_DIM and mblocks grids to qarts. 

2006-08-31  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-128

	* Qarts is now running again. OEM part looks also OK (but far from
	ready).

	* demos/qarts_jacobian_demo.m: Made changes to get y and J*1 to get
	closer.

2006-08-31  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-127

	* math/mat2col.m: Created.

	* Some more work on Qarts. Not yet working.

2006-08-29  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-126

	* Qarts NOT WORKING IN THIS VERSION. Work in progress. Need to 
	commit/backup, due to an update of computer system.

	* arts/q_abs_species.m: Replaces *q_gas_species*.

	* arts/notes.txt: A temporary file.

	* arts/qarts_jacobian.m: Created.

	* arts/qarts.m: Moved jacobian fields to qarts_jacobian. 

2006-08-25  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-125

	* arts/arts_oem.m: Added re-scaling of J needed for 'rel' unit. 

2006-08-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-124

	* retrieval/oem.m: Added more P output fields and GN is now working.

2006-08-22  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-123

	* arts/arts_oem_init.m: Started. Basic functionality ready.

	* demos/arts_oem_demo.m: Started.

	* math/regrid.m: Created.

	* math/dimens.m: Created.

	* arts/arts_x2field.m: Created.

	* arts/arts_covmat.m: Created.

	* arts/arts_atminterp.m: Created.

	* arts/arts_oem.m: First working version. Far from finished. Only gas 
	species so far handled.

	* arts/arts_y.m: Some small fixes to avoid unnecessary calculations.

	* arts/qarts.m (Q.ABS_SPECIES_SX): Added this field.

	* arts/arts_jq.m: Code moved to arts_oem_init.

2006-08-18  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-122

	* arts/qarts2cfile.m: Ordinary parenthesises () is now used to index
	Q.ABS_SPECIES_JAC. This makes it simpler to extract information
	from Q.ABS_SPECIES_JAC.

	Included options to extract jacobian_quantities and
	jacobian_indices without doing RT calculations. Simplest extracted
	by arts_jq.

	* arts/arts_jq.m: Created.

	* demos/qarts_jacobian_demo.m: Adapted to change above. 

	* arts/arts_oem.m: Jsut started.

	* arts/oem.m: Contibued work. At least, basic linear characterisation
	works.
	
2006-08-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-121

	* retrieval/oem.m: Start on a general OEM function. Nothing is
	finsihed.

	* handy/rqre_field.m: Fixed bad spelling in header.

	* handy/out.m: A default level was introduced, level=0. It is now
	possible to vary the level for each fid entry.

2006-08-16  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-120

	* arts/qarts2cfile.m: Removed error when trying to use RJ for
	Jacobians. This option works now in arts. MatrixToTbByRJ now used.

2006-08-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-119

	* Now Qarts working with last changes in arts' absorption part.

	* arts/qarts.m: Changed field names
	   GAS_ABS_LOOKUP     ABS_LOOKUP
	   GAS_SPECIES        ABS_SPECIES
	   GAS_SPECIES_JAC    ABS_SPECIES_JAC

	* qarts2cfile: Adapted to changes above and renaming of absorption
	methods and agendas in arts.

	* arts/arts_abstable_from_arts1.m: Adapted to renaming of ABS fields. 

	* demos/: Adapted to renaming of ABS fields. 

2006-06-21  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-118

	* tests/make_check.m: Created. A function working as doing make
	check in arts. Run this function after important changes in arts
	or Atmlab.

	It would be nice if others could run this function ASAP. This to
	check if running on different platforms gives substantial
	differences in results.  The required accuracy limits are set quite
	tight. Please report results, both positive and negative.

	* demos/run_demos.m: Removed. Replaced by make_check.

	* demos: Adapted demo functions to changes in surface_prop_agenda and
	iy_space_agenda.

	* arts/qarts.m: Defined default for *iy_space_agenda* corresponding
	to cosmic background radiation.

	* arts/qarts2cfile.m: Removed *iy_surface_agneda*.

2006-06-02  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-117

	* atmlab/atmlab_init.m: obselete -> obsolete.

	* obselete: Removed.

	* obsolete: Added.

2006-05-23  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-116

	* README: Fix my email address.

2006-05-18  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-115

	* math/rnnz.m: Created.

	* math/boxcarfilter.m: Changed definition of length for each data 
	point. The old version did not handle gaps in the data series 
	satisfactorily.

2006-04-30  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-114

	* forwardmodel/satviewdepth.m: Created.

2006-04-06  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-113

	* graphs/set_figsize.m: Created.
	
	* math/boxcarfilter.m: Made some improvements. The filter length
	is now exactly xw (except close data ranges edges). Data must
	now be given as column vector(s).

2006-04-05  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-112

	* math/boxcarfilter.m: Finished header text.

2006-04-05  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-111

	* math/boxcarfilter.m: Created.

	* time/mjd2season.m: Created.

	* demos/qarts_doit_demo.m: Added I_REINIT. Set to 0.

	* arts/qarts2cfile.m: Included code to handle 
	Q.CLOUDBOX.METHOD_PRMTRS.I_REINIT.

	* arts/qarts_cloudbox.m: Added i_REINIT as option for DOIT.

2006-03-31  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-110

	* time/: New folder for time utilities. Based on a set of functions by
	Peter J. Acklam:
	home.online.no/~pjacklam/matlab/software/util/timeutil/index.html

	Primary purpose was to get conversion function for MJD but these 
	functions provide also other features.
	
	* time/monthofyear.m: Introduced a fix to avoid any months 13.

	* time/mjd2day.m: Created.

	* time/mjd2month.m: Created.

2006-03-30  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-109

	* retrieval/mci.m: Output also ratio of max_w to sum_w with verb
	option. 

2006-03-29  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-108

	* atmplots/coastlines.m: Other longitude ranges than 0-360 can now be
	used.

	* atmplots/rectgridplot.m: Handling of both row and column grid 
	input.

	* atmplots/rectgridplot.m: Changed selection of renderer to zbuffer.
	This after reading some hints on the MathWorks site. Appears better
	for this kind of plots.

	* atmplots/grid2edges.m: Fixed errors in header. Handles now both row 
	and column vector input.

2006-03-28  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-107

	* retrieval/mci.m: Catch the case that ind is empty. 

2006-03-28  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-106

	* retrieval/mci.m: Added sum_w and n_hit thresholds. Retrieval
	returns NaN if these are not met. Introduced prior weight vector p
	as optional input parameter.

	* math/layermean.m: Added. Calculates layer mean values for a set
	of vectors. Handy for calculating IWP.

	* math/gauss.m: Added. The Gauss function.

2006-03-27  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-105

	* atmplots/coastlines.m: Should have been i previous commit (forgot 
	to rename file). 

	* atmplots/topocontour.m: Removed (renamed to coastlines.m).

2006-03-27  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-104

	* sensors/read_auramls_l2gp.m: Slightly modified version of function
	made by Carlos Jimenez.

	* atmplots/: Created data2rectgrid.m, edges2grid.m, grid2edges.m
	rectgridplot.m and topocontour.m. 

2006-03-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-103

	* math/rot2D.m: Created.

2006-03-16  Mattias Ekstrom <mattias.ekstrom@chalmers.se>

	* atmlab-0-2-102

	* arts/qarts.m: Added entry for pointing Jacobian.

	* arts/qarts2cfile.m: Added handling of pointing Jacobian.
	Changed the way fields are checked if they are empty. Now it
	should handle various combinations of cells, structures etc.

	* demos/qarts_jacobian_demo.m: Added water Jacobian.

	* arts1/alter_linedata.m: NEW. Simple function to alter the 
	spectroscopic parameters of lines in the linefile.

	* arts1/read_continua.m: NEW. Function to read a absmodel/continua
	file into a Matlab structure.

	* arts1/write_continua.m: NEW. Write a Matlab structure with 
	continua tags, as created by read_continua, to a file.

2006-03-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-101

	* arts/qarts2cfile.m: Units for Jacobians:
	  RJ presently deactivated due to bug in arts
	  Planck gives now error message as this unit is not suitable for
	         inversions.

	* arts/qarts2cfile.m: Now applying sensor on mc_error only if sensor
	is activated.

2006-03-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-100

	* physics/eps_ice_matzler06.m: Added this function, provided by
	C. M?tzler.

2006-03-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* physics/eps_ice_matzler06.m: 

	* atmlab-0-2-99

	* mie/epsice.m: Input arguments were given in wrong order in header.

	* mie/eps*.m: All dielectric functions in the mie folder should from
	now on not be used, beside for internally for Mie. This as these
        functions do not use SI units (and header information is poor).
	This is achieved by checking that calling function starts by 'mie'
	or 'eps'.

	* demos/qarts_doit_demo.m: BUG! Input to *epsice* were in wrong order.
	Now using *eps_ice_liebe93*.

2006-02-24  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-98

	* retrieval/mci.m: Allocate W matrix only if W is desired as
	output, to avoid memory waste..

	* graphs/histogram.m: Added. Histogram plots with bins defined by
	bin edges and counting of outsiders.

2006-02-14  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-97

	* retrieval/mci.m: Added M.verb flag to make the function
	verbose. 

2006-02-14  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-96

	* retrieval/make_noise.m: Added. A simple helper function to
	create noise vectors with prescribed error covariance. 

2006-02-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-95

	* arts/qarts2cfile.m: Looked over the jacobianInit/Off part, after
	a report of problems. Batch part does not work. Cause seems to be
	on arts side.

2006-02-06  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-94

	* arts/qarts_batch.m: Now adapted to new(!) definition of DoNothing. 

	* arts/arts_datatypes.m: Fixed a missed exchange of isinteger with
	iswhole.

	* arts/arts_batch.m: Removed old code. 

2006-02-01  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-93

	* graphs/plot2axes.m: Added this function by Jiro Doke. Downloaded from
	the Matlab file exchange site.

2006-02-01  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-92

	* files/whichfiles.m: Created.

	* files/loadstructfiles.m: Created.

	* arts/qarts2cfile.m (isdefined): Included handling of cell arguments.

2006-01-02  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-91

	* graphs/axes_mxn.m: Added this function, made by Samuel Brohede.

2005-12-20  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-90

	* files/create_tmpfolder.m: Made function safer. Now the random state 
	is scrambled (but reset before returning) and it is checked also by
	"mkdir" that the folder really not exist.
	(Bengt reported problems for 2-processor machines).

2005-12-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-89

	* Something had become wrong with tag numbers. Trying this 
	number instead.

2005-12-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-88

	* arts/qarts2cfile.m: Now using MC_SEED. *MCSetSeedFromTime* used
	if value is negative.
	
	* arts/qarts_cloudbox.m: Renamed METHOD_PRMTRS RNG_SEED to MC_SEED.

	* physics/constants.m: Added Avogadros constant.

	* graphs/circle.m: Created.

	* files/mat2v6.m: Created. 

2005-11-25  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-87

	* physics/constants.m: Added Stefan-Boltzmann. Re-arranged constants
	to be in some "logical" order.

2005-11-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-86

	* retrieval/mci.m: Created.

	* math/chi2.m: Created.

2005-11-23  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-85
	
	* xml/xmlStoreWithComment: Added help for precision argument.

	* xml/xmlStoreImpl.m: xmlWriteComment -> xmlWritecomment

2005-11-23  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-84
	
	* xml/xmlStore: Added help for precision argument.

	* xml/xmlGetPrecisionFormatString.m:

	Throw error if an invalid precision is given.

2005-11-22  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-83
	
	* math/iswhole.m: New name of *isinteger*.

	* isinteger -> iswhole: Changed whereever needed.

	* atmlab/atmlab_init.m: Included a function that copies functions
	in /obselete to /AUTO_fixes, if these functions not already exist.
	The folder /AUTO_fixes is created, or cleaned, before the copying.

	This fixes the problem with isscalar and isvector.
	
	This functionality can also be used if you want to use a function
	that only exists in newer Matlab versions, but otherwise would work
	with older Matlab versions. Then copy this function
	to the /obselete folder and everything will be fixed. However, make
	sure that te function really works with versions that can be expected
	to be used.

	* obselete/: Created this folder and moved isscalar and isvector
	to this folder.
	
	* .cvsignore: Created (to ignore /AUTO_fixes).

	* arts/qarts2cfile.m: The check 
	   if iscellstr( Q.SURFACE_PROP_AGENDA )
	used before isnan, which crashed.
	
2005-09-08  Claudia Emde  <claudia@sat.physik.uni-bremen.de>
	    
	* atmlab-0-2-82 
	
	* arts/qarts_cloudbox.m: Removed DISTR_TYPE. No longer needed
	because from now on it is only allowed to read scattering data
	using the proper methods *ParticleTypeAdd* and *ParticleTypeAddAll*.	
	
	* arts/qarts2cfile.m: Removed DISTR_TYPE for DOIT and included
	possibility to use only IY_SURFACE_AGENDA and not
	SURFACE_PROP_AGENDA. This did not work for a blackbody ground. 
	
	* demos/qarts_doit_demo.m: Removed DISTR_TYPE and added EPSILON.

2005-08-17  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-81

	* xml/xmlStoreImpl.m: Added. Moved xmlStore to here. 

	* xml/xmlStore.m: Call new wrapper xmlStoreImpl.

	* xml/xmlStoreWithComment.m:

	Added. Use this function to store a comment along with your data.

	* xml/xmlWritecomment.m: Added.

	* xml/xmlReadTag.m: Skip comments in the xml files.

2005-07-03  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-80

	* graphs/add_plot_row.m: SORRY, I had to change this function.
	Algorithm used to calculate horisontal spaces was wrong. Changed
	default settings somewhat.
	Added two optional arguments, for fine tuning of horisontal placement.

2005-06-30  Bengt Rydberg  <benryd@etek.chalmers.se>

	* atmlab-0-2-80
		
	* atmscenarios/gamma_lambda2d.m: created. Convers lambda
	to Dme, Dmean or reverse.

	* atmscenarios/ice_psd_gamma.m: Modified. Changed output
	format.

	* atmscenarios/gauss_laguerre_apply.m: Modified. Added 
	missing Header text.


2005-06-29  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-79

	* arts/qarts2cfile.m: Added field EPSILON for DOIT.

	* arts/qarts_cloudbox.m : Fixed some bad formating.
	
	(LIMITS): Improved description slightly.
	(METHOD_PRMTRS): Added field EPSILON for DOIT.

2005-06-24  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-78

	* arts/qarts.m: Wrote info text for GAS_SPECIES_JAC.

	* atmscenarios/gauss_laguerre_apply.m: Created. Header text is 
	missing.

	* atmscenarios/gauss_laguerre.m: Added optional input argument xnorm. 

	* handy/vector2commalist.m: Had to change default for fstring, to
	work with Matlab6.

	* arts/q_gas_species.m: Created.

	* demos/qarts_jacobian_demo.m: Now no color bar for 1D. 

	* atmscenarios/covmat_from_cfun.m: Check of size of Std was wrong. 

	* arts/arts_y.m: Added jq as output argument.

	* demos/qarts_jacobian_demo.m: Adopted to change in arts_y.

2005-06-16  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-2-77
	
	* demos/qarts_doit_demo.m: Added. The demo shows a simple DOIT 
	calculation including the generation of scattering data using the 
	Mie code and the genearation of a very simple cloud layer. 

	* demos/data/doit_za_grid.xml: Added.

	* scattering/box_pnd_mono_size_1d.m: Creates a simple cloud layer
	including a monochromatic ice particle distribution. 

	* arts/qarts_cloudbox.m: Modifield DOIT angular grids. Now there
	are three separate variables N_ZA_GRID, N_AA_GRID,
	ZA_GRID_OPT_FILE. Modified use of DISTR_TYPE. 
	If you now like to read directly pnd_field as a Tensor4 and
	scat_field_raw this variable must be set to 'precalc'. Note that
	the data is in this case not checked inside ARTS. 

	* arts/qarts2cfile.m: Adapted to changes above. 

2005-06-16  Bengt Rydberg  <benryd@etek.chalmers.se>

	* atmlab-0-2-76

	* atmscenarios/ice_psd_gamma.m: Created. Returns gamma particle 
	size distribution


2005-06-16  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-75

	* demos/qarts_jacobian_demo.m: Fixed proper head

	* tests/test_arts_jacobians.m: A first version ready. OK results
	for rel. and VMR gas jacobians. ND option fails in ARTS for 
	perturbation calculations.

	* tests/test_arts_Olevels.m: A first version ready. Excellent results.
	Though not including scattering calculations.
	Totally negliable differences between optimisation levels (1e-13K).
	Difference between fload and double is for this case < 3mK.

2005-06-16  Bengt Rydberg  <benryd@etek.chalmers.se>

	* atmlab-0-2-74

	* atmscenarios/gauss_laguerre.m: Created.Returns abscissas and 
	weights for Laguerre Gauss quadrature


2005-06-16  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-73

	* tests/: Created this folder to hold various tests. Primarily
	intended for more demanding tests, that can not be afford to run at
	each commit. 

	* tests/test_arts_Olevels.m: Started.

	* tests/test_arts_jacobians.m: Started.

	* arts/arts_abcde.m: Now cvs-added also.

2005-06-14  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-72

	* arts/arts_abcde.m: Created. The ultimate ARTS interface function !? 

	* arts/arts_plot_atmgrids.m: Required number of input arguments was
	wrong.

2005-06-13  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-71

	* arts/qarts2cfile.m (T): Wrong format specifier was used for
	Q.GAS_SPECIES_JAC{i}.DX.

2005-06-10  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-2-70
	
	* arts/qarts2cfile.m: Fixed bug in ParticleTypeAdd. 

2005-06-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-69

	* demos/qarts_jacobian_demo.m: Some temporary changes, for testing
	purposes.

	* xml/xmlWritePpath.m: Included new fields.

	* xml/xmlReadPpath.m: Included new fields.

2005-06-09  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-68

	* xml/xml[Read,Write]RetrievalQuantity.m: Adapted to changes to 
	the retrieval quantity structure.

2005-06-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-67

	* PyARTS interface to extract T-matrix single scattering properties 
	done (old "boxcloud" interface removed).

	PyARTS must be generally accessible to run this. Hint, put this in
	.bashrc
	export PYTHONPATH=/home/patrick/ARTS/PyARTS/lib/python:
	
	Please test and tell me if it works.
	
	* pyarts/pyarts_tmatrix.m: Created.

	* handy/vector2commalist.m: Created.

	* pyarts/boxcloud.py.tmplt: Removed.

	* pyarts/pyarts_scatdata2cfile.m: Removed.

	* pyarts/pyarts_boxcloud_create.m: Removed. 

2005-06-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-66

	* demos/qarts_jacobian_demo.m: Added, to demonstrate/test jacobian
	calculations.

	* arts/qarts2cfile.m: Smaller changes. Added back gas_speciesInit,
	it exists and is needed for jacobian calculations. Removed jacobianOff
	(it is sufficient with jacobianInit). There were some smaller errors
	for perturbation calculations.

2005-06-06  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-2-65

	* arts/qarts2cfile.m: Now it is again possible to run DOIT using
	atmlab.  

	(load_abs) Added gas_abs_lookupInit{}.
	  
	Modified pnd_field part. Now particle_typeAddAll is used if only
	one filename is given for pnd_field_file and scat_data_file,
	unless one specifies Q.CLOUDBOX.DISTR_TYPE==mono, for monochromatic
	size distribution. 

	scat_field_agenda: Depending on the angular grid definitions, it
	is decided whether doit_scat_fieldCalc or doit_scat_fieldCalcLimb
	is used.
	
	doit_conv_test_agenda: convergence limit is set according to
	stokes_dim.

	Commented *gas_speciesInit*, because this method does not exist. 

	Included *JacobianOff*. 
	
	* arts/qarts_cloudbox.m: Included C.DISTR_TYPE.
	
	* scattering/mie_scat_data.m: Modified. Now refractive index is 
	input to the function.
	
        * arts1/arts1_absmodels.cfile: Included 
	"H2O-SelfContCKDMT100", "H2O-ForeignContCKDMT100", "CO2-CKDMT100"
	
2005-06-03  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-64

	* General changes to follow changes in ARTS-1.1.989.

	* Qarts extended to handle jacobians, but work not totally finished.

2005-05-30  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-63

	* xml/xml[Read,Write]RetrievalQuantity.m: Added read/write functions
	for RetrievalQuantity.

2005-05-26  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-62

	* Qarts batch part ready. 
	
	* demos/qarts_demo.m: Included batch calculations as optional part.

	* arts/arts_batch.m: Modified to follow new batch solution.
	(old version still inside file, below return).

	I had forgotten that I had made a fully functional function for batch
	calculations!!! However, I found the new solution better.

	* arts/qarts2cfile.m: Finished batch part. 

	* arts/qarts_batch.m: Finished information text. 

	* handy/qinfo.m: Made 'all' default for field name.

	* arts/arts_datatypes.m: Finished.

2005-05-26  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-61

	* Not finished work to include batch calculations in Qarts:

	* arts/arts_datatypes.m: Started.

	* arts/qarts_batch.m: Started.

	* arts/qarts2cfile.m: Started to include batch part.

	* arts/qarts.m: Included BATCH field.

2005-05-24  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-60

	* atmlab/atmlab_init.m: Added 'demos' folder to path.

	* demos/qarts_demo.m: Some change was commited last time, couldn't
	find out what. But the script works as it should.

2005-05-24  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-59

	* arts/qarts.m: Added RTE_AGENDA, with RteStd{} as default.

	* arts/qarts2cfile.m: Implemented the use of RTE_AGENDA, in init_rte

2005-05-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-58

	* Made a demo script for randmvar part.
	
	* demos/randmvar_demo.m: Created. 

	* atmscenarios/covmat_test.m: Created.

	* atmscenarios/covmat_append.m: Included vec2col when appending
	i, j and s. Apears needed to handle different Matlab versions. 

	* atmscenarios/covmat_from_cfun.m: Improved tests of input. 

2005-05-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-57

	* An environemnt to create random data fulfilling multivariate 
	statistics has been creted. The data are generated by *randmvar*,
	whose input is prepared by the 'add' functions. A demo will be added
	later.

	* atmscenarios: All 'randgen* functions are deleted. New functions:
		cdf_normal.m
        	covmat_append.m
		covmat_from_cfun.m
		randmvar_add_lognormal.m
		randmvar_add_normal.m
		randmvar_add_uniform.m
		randmvar.m
		randmvar_normal.m

2005-05-19  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-56

	* Updated to recent ARTS changes.

	* arts/qarts2cfile.m: Added emission_agenda and changed to RteStd. 

	* demos/qarts_demo.m: Added f and y as output arguments.

	* arts/qarts.m 
	(I.SURFACE_PROP_AGENDA): Removed one _ too much.
	(EMISSION_AGENDA): Added this field. Default is call of Planck.

2005-05-18  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-55

	* arts/qarts2cfile.m: Moved up definition of cloud box. Required
	after recent ARTS changes.

2005-05-11  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-54

	* physics/scattering_mplit2stokes.m: Moved and renamed ->
	
	* scattering/scatmat_amp2stokes.m: New position and name.

	* physics/pt2z.m: Created. A function for calculating altitudes
	fulfilling hydrostatic equilibrium.

	* forwardmodel/interpp.m: Coped from AMI.

	* forwardmodel/p2z_simple.m: Created.

2005-04-15  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-2-53
	
	* arts/qarts2cfile.m: Adapted DOIT parts to recent changes.

	* arts/qarts_cloudbox.m: Included DOIT_ANG_GRIDS instead of
	SCAT_ZA_GRID and SCAT_AA_GRID.
	
2005-04-12  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-52

	* arts/arts_abstable_from_arts1.m: Fixed 3 typos (resulting in
	bad bugs, for cases not yet used (would have been noticed)). 

	Found by Hermann Berg. Thanks!

2005-04-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-51

	* Qarts: Surface now mainly handled by SURFACE_PROP_AGENDA.

	* arts/qarts.m 
	Q.IY_SURFACE_AGENDA    : Introduced default values.
	Q.SURFACE__PROP_AGENDA : Added this agenda.

	* arts/qarts2cfile.m: Included SURFACE_PROP_AGENDA.

	* demos/qarts_demo.m: SURFACE_PROP_AGENDA is now set. Deafult is used
	for IY_SURFACE_AGENDA.

2005-03-31  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-50

	* arts/qarts2cfile.m: Now using scat_fieldCalcLimb for DOIT, instead of
	scat_fieldCalc. Needed as grid_sizeSet is not yet included. 

2005-03-30  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-49

	* arts/qarts2cfile.m: Made a first version where DOIT runs. Many
	options still hard coded. Only zenith and azimuth angles can be
	selected. 

	* arts/qarts_cloudbox.m: Added description of DOIT fields.

	* scattering/mie_scat_data.m: Changed Mie to mie and Mie_S12 to 
	mie_s12.

	* mie/mie_S12.m (pt): Changed Mie_ab to mie_ab and Mie_pt to mie_pt.
	
2005-03-21  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-48

	* arts/qarts2cfile.m: save_sensor now also saves the output frequency
	grid sensor_response_f.

2005-03-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-47

	* demos: Created this folder, to hold demos. The idea is to also
	use these demos for code checks. Use then run_demos. 

	* demos/run_demos: Runs a set of demo functions. Can be used to
	test the code before a commit.

	* arts/qarts_demo.m: Moved to /demos.

	* arts1/qarts1_demo.m: Moved to /demos.
	
	* atmlab/atmlab_example_data.m: Path changed. 

	* handy/extra.m: Further generalisation for different platforms.

2005-03-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-46

	* arts1/arts1_create_linefile.m: Created this function. 

	* arts/arts_write_linefile.m: Changed default for do_quanta and 
	do_source.

	* math/ismatrix.m: Created this function. 

	* arts1/qarts1.m (LINEDATA): Text explaining that field can be set
	to [], corresponding to no transitions.

	* arts1/qarts1_demo.m: Removed dependency on Qarts. 

	* handy/rqre_field.m: Removed struture name as input. Had missed 
	function inputname.

	* handy/rqre_datatype.m: Created this function.

	* atmscenarios/land_sea_mask.m: Created this function.

	* atmlab/atmlab.m: Added setting for path to arts-data.

2005-03-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-45

	* First step to include MC and DOIT. MC appears to work, but without
	without incoming lookup data.

	* arts/qarts_cloudbox.m: Created and started. 

	* arts/arts_y.m: Added calculation accuracy estimate as output. 

	* arts/qarts.m: Included field CLOUDBOX. 

	* arts/qarts2cfile.m: Included code from sensor2cfile. 
	Started on code to handle cloudbox/scattering. 

	* arts/sensor2cfile.m: Made this function internal to qarts2cfile.
	It is now removed.

	* arts1/qarts1_demo.m: Made an example for Qarts1. 

	* arts/qarts_demo.m: Added header.

	* files/delete_tmpfolder.m: WindowsXP and Windows2000
	compatibility added by Hermann Berg.

	* handy/rqre_char.m: Error message was not complete. Bug reported
	by Hermann.

	* arts1/arts1_cfile.m (S): Call of qarts12cfile was wrong. Bug
	reported by Hermann.

2005-03-15  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-2-44
	
	* scattering: Included this directory. It should include
	functions to calculate single scattering properties in ARTS
	format. 
	
	* atmlab/atmlab_init.m (toppath): Included 'scattering" directory
	here. 

	* scattering/mie_scat_data.m: Included this function. It
	calculates single scattering properties using the Mie functions by
	Christian M?tzler. The return variable is a SingleScatteringData
	structure which can be written to a file simply with xmlStore.

2005-03-15  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-43

	* xml/xmlWriteSingleScatteringData.m: Added.

2005-03-03  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-42

	* handy/hostname.m: 
	  handy/whoami.m:
	  handy/extra.m:

	Modified these functions to work with Windows. Changes made after
	input from Hermann Berg, using Cygwin in Windows XP.
	
2005-02-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-41

	* handy/whoami.m: Created this function.

	* handy/hostname.m: Created this function.

	* arts/arts_read_linefile.m: Transitions can now be sorted in any order
	and frequency limits can still be applied.

2005-02-10  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-40

	* arts1/qarts12cfile.m: Linefiles could not be saved. A variable had
	an old name.

2005-02-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-39

	* atmscenarios/randgen_uniform.m: 
	* atmscenarios/randgen_normal.m: 
	* atmscenarios/randgen_free_distfun.m:

	Created these functions for testing an idea to create random data
	sets with arbitrary PDFs and cross-correlations. All functions are
	preliminary and no headers exist.

2005-01-27  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-38

	* files/delete_tmpfolder.m: Added force flag (-f) to unix remove
	command. Without this the function does not work for users with
	alias rm='rm -i'.

2005-01-26  Mattias Ekstrom  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-37

	* arts/qarts.m: Added field SENSOR_RESPONSE, it can be given as
	a sparse matrix, a string cell array or a sensor structure (see
	below). If left as NaN, sensorOff is put in the control file.

	* arts/qarts2cfile.m: Added parts 'sensor' and 'save_sensor' to
	handle the Q.SENSOR_RESPONSE field.

	* arts/qarts_sensor.m: As qarts but for the sensor structure, sets
	up a default structure and also provides some info about the fields.

	* arts/sensor2cfile.m: This function is called from qarts2cfile to
	parse the sensor structure into a string cell array.

	* arts/qarts_demo.m: Added a small antenna to the demo, uses the
	antenna pattern in examples/Data/antenna.xml.

2005-01-12  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-36

	* graphs/scale_print.m: Created this function.

2004-11-29  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-35

	* forwardmodel/mpm_iwc93_lwc93_rain89.m: Cleaned up function. 
	Now using much more compact expressions for water and ice. Modified
	expression for rain, to match ACEPASS report. 
	Absorption checked to match figures from WATS and ACEPASS reports.
	Real part of refractive index not checked, but magnitudes (and sign!)
	look OK.

2004-11-26  Bengt Rydberg  <benryd@etek.chalmers.se>
	
	* atmlab-0-2-34

	* atmscenarios/ice_psd_Mcfar_97.m: Modified this function.

	* atmscenarios/ice_psd_Ivanova_01.m: Modified this function.

	* atmscenarios/ice_psd_Heyms_84.m: Modified this function.

        * atmscenarios/ice_psd_Donovan_03.m: Modified this function.

	* atmscenarios/ice_psd_Mitchell_99.m: Modified this function.

	* atmscenarios/ice_psd_ellipsoids.m: Modified this function.


2004-11-18  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-33

	* forwardmodel/fwhm.m: Missed to add this one.

2004-11-18  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-32

	* forwardmodel/fm_o3_111ghz.m: Added this function. 

	* forwardmodel/fwhm.m: Added this function.

2004-11-02  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-31

	* Made some quick hack functions to obtain the refractive index over
	the whole EM spectrum. All functions make so far only a interpolation
	from a table.
	
	* physics/n_water_segelstein.m: Created this function.

	* physics/n_water_wiscombe.m: Created this function, and added releated
	functions.

	* physics/n_ice_wiscombe.m: As above.

2004-10-26  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-30

	* forwardmodel/cruzpol98.m: Created this function.

	* forwardmodel/mpm_iwc93_lwc93_rain89.m: Replaced local calculation
	of dielectric constant with call of e ps_water_liebe93.

2004-10-22  Carmen Verdes  <cverdes@uni-bremen.de>

	* atmlab-0-2-29

	* sensor/atovs_griddata.m: small changes

	* sensors/atovs_select_datafile.m: modified. The
	old script did not select the data from the previous days if this
	was already the last one from the previous month. The new version
	seems to work properly.

	* sensors/atovs_sortfiles.m: added. This is a help function to
	sort the data files in increasing oder of starting measurement time
	(used by atovs_griddata.m). 

2004-10-22  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-28

	* physics/eps_water_liebe93.m: Created this function, to compare
	the different expressions floating around. They basically agree.
	There will be an email.

	* physics/eps_ice_liebe93.m: Created this function.

	* physics/fresnel.m: Included comment about that mu for bot media
	must be 1 to use the function.

2004-10-08  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-27

	* mie/: More updates from Christian.

	* mie/{epsice.m, epswater.m, epswater93.m}: Updated.

	* mie/epsoil.m: Added.

	* mie/epsalwater.m:

	Added.

	Water model from Meissner and Wentz from IEEE TGARS Issue Sept. 04.

2004-10-08  Oliver Lemke  <olemke@core-dump.info>

	* atmlab-0-2-26

	* mie/:

	Update to version 3 provided by Christian M?tzler
	<christian.matzler@iap.unibe.ch>

	* mie/{Besselplot4.m, Mie_1.m, Mie2_ab.m, Mie2_abs.m, Mie2_cd.m,
	Mie2_esquare.m, Mie_2.m, Mie2.m, Mie2_S12.m, Mie2_tetascan.m,
	Mie2_xscan.m, Mieab_1.m, Mieab_2.m, Mie_abcd.m, Mie_ab.m, Mie_abs.m,
	Mie_cd.m, Miecoated_ab1.m, Miecoated_ab2.m, Miecoated_ab3.m,
	Miecoated.m, Miecoated_prscan.m, Miecoated_rain3.m, Miecoated_rain4.m,
	Miecoated_rain5.m, Miecoated_rain6.m, Miecoated_rain7.m,
	Miecoated_S12.m, Miecoated_tetascan.m, Miecoated_wrscan.m,
	Miecoated_wscan.m, Mie_esquare.m, Mie.m, Mie_pt.m, Mie_rain1c.m,
	Mie_rain1d.m, Mie_rain1.m, Mie_rain1r.m, Mie_rain2.m, Mie_rain3.m,
	Mie_rain4.m, Mie_rain5.m, Mie_S12.m, Mie_tetascan.m, Mie_xscan.m}:

	Removed.

	* mie/{besselplot4.m, cloud_phasefunction.m, cloud_phasefunplot.m,
	cloudphasefunbeta0.m, e3_xscan.m, mie.m, mie2.m, mie2_ab.m,
	mie2_abs.m, mie2_cd.m, mie2_esquare.m, mie2_tetascan.m, mie2_xscan.m,
	mie_1.m, mie_2.m, mie_S12.m, mie_S12nopeak.m, mie_ab.m, mie_abcd.m,
	mie_abs.m, mie_beamefficiency.m, mie_beamefficiencyold.m, mie_cd.m,
	mie_esquare.m, mie_esquare2.m, mie_esquare3.m, mie_nmax.m,
	mie_phasefunasy.m, mie_phasefunction.m, mie_phasefunctions.m,
	mie_phasefunplot.m, mie_pt.m, mie_teta.m, mie_tetado.m,
	mie_tetascan.m, mie_tetascanall.m, mie_tetascanallold.m, mie_xscan.m,
	mie_xscansmooth.m, mieab_1.m, mieab_2.m, miecoated.m, miecoated_S12.m,
	miecoated_ab1.m, miecoated_ab2.m, miecoated_ab3.m, miecoated_prscan.m,
	miecoated_rain3.m, miecoated_rain4.m, miecoated_rain5.m,
	miecoated_rain6.m, miecoated_rain7.m, miecoated_tetascan.m,
	miecoated_wrscan.m, miecoated_wscan.m, mierayleighxscan1.m,
	mierayleighxscan2.m, phasefunav_phi.m, phasefunbeta0.m, phasefungi.m}:

	Added.

2004-10-07  Mattias Ekstr?m  <ekstrom@rss.chalmers.se>

	* atmlab-0-2-25

	* forwardmodel/geomztan2za.m: Vectorised function

2004-10-05  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-24

	* arts/arts_ppath.m: Updated internal template file to recent ARTS
	modifications.

2004-10-05  Carmen Verdes  <cverdes@uni-bremen.de>

	* atmlab-0-2-23

	* sensor/atovs_plot_gmt.m: added (this script is used to plot the
	output of atovs_griddata.m using gmt.

	* sensor/gmt_map.sh:added (used by /atovs_plot_gmt.)

2004-10-04  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-22

	* atmlab/atmlab.m: Added setting ARTS_XMLDATA_PATH.

	* arts/qarts_demo.m: Added use ARTS_XMLDATA_PATH. The example
	included a hard coded path.

2004-10-04  Carmen Verdes  <cverdes@uni-bremen.de>

	* atmlab-0-2-21

	* sensor/atovs_griddata.m: added the file. This script average
	and grid the data on the same grid as ECMWF data (1.5deg. step)

2004-10-01  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-20

	* Qarts changed to follow latest changes in ARTS. So, an older 
	version of ARTS can not be used now. USe latest version.
	
	* arts/qarts2cfile.m: Modified to follow new agendas in ARTS and 
	inclusion of PRE_RTE_WSMS.

	* arts/qarts.m (I.PRE_RTE_VSMS): Added field PRE_RTE_WSMS.

	* arts/qarts_demo.m: Updated to follow changes above. 

2004-09-30  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-19

	* arts1/arts1_absorption.m (parts): Created this
	function. Absorption calculations have never been simpler ;-)
	A small, but complete, example:
	
	   z = 250 : 500 : 19.75e3;
	   f = linspace( 10e9, 300e9, 1451 );
	   clear Q1
	   addpath_ami,
	   Q1 = qarts1;
	   Q1.TGS{1}{1} = 'H2O-MPM89';
	   Q1.TGS{2}{1} = 'O2-PWR93';
	   Q1.TGS{3}{1} = 'N2-SelfContStandardType';
	   Q1.USE_RAW_ATMOSPHERE  = 1;
	   Q1.APRIORI_VMR = ...
	            '/home/patrick/ARTS/arts-data/atmosphere/fascod/tropical';
	   Q1.APRIORI_PTZ = ...
	      '/home/patrick/ARTS/arts-data/atmosphere/fascod/tropical.tz.aa';
	   Q1.P_ABS          = z2p_simple( z );
	   Q1.F_MONO         = f;
	   Q1.LINEFORMAT    = 'Arts';
	   Q1.LINEDATA      = 'no_lines';
	   A = arts1_absorption( Q1 );
	   save absorption_tropical A z f

	* arts1/arts1_absmodels.cfile: Added O2-PWR93.

	* arts1/qarts1.m (I.R_GEOID): Field was mispelled (you get the joke?).

2004-09-28  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-18

	* pyarts/pyarts_scatdata2cfile.m: Changed from reading of pnd_field
	to pnd_field_raw (the former did not work, obviously).	

2004-09-28  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-17

	* pyarts: Created a folder for interface functions to PyARTS. All
	this is VERY temporary and there will be no proper documentation 
	before things are more fixed. I am mainly trying to set something 
	up for Bengt.

	* pyarts/pyarts_boxcloud_create.m: Creates a box cloud scenario by
	storing files in a folder.

	* pyarts/pyarts_scatdata2cfile.m: Include files from function above in
	a control file. This is achived by using *qtool* and the template
	includes the line:
	   @pyarts_scatdata2cfile

	* pyarts/boxcloud.py.tmplt: Template for pyarts_boxcloud_create.m.

	* handy/qtool.m: Inline functions did not work. Fixed.

2004-09-27  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-16

	* arts/arts_abstable_from_arts1.m: The functiojn did not work if
	frequencies were given as a file.

2004-09-26  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-15

	* Do not test the demo functions yet. Need to be tested further.
	
	* arts/qarts_demo.m: Created. 

	* atmlab/atmlab_demo.m: Created. 

	* atmlab/atmlab_example_data.m: Created.

	* examples/Data: Added this folder to hold example data. Do not add 
	very large files, please.

	* forwardmodel/z2p_simple.m: Created.

	* forwardmodel/loggrid.m: Copied from AMI.

	* forwardmodel/gridselect3D.m: Created.

2004-09-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-14

	* forwardmodel/gridselect2D.m: Ready.

2004-09-23  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-13

	* forwardmodel/gridselect2D.m: Started on this function. Not yet ready.

	* arts/arts_cfile.m: Changed this function from just creating a control
	file, to create a complete ARTS example with input files and all.

	* arts/qarts2cfile.m: Included option to extract *parts* for
	different tasks.
	Removed the option do_save. Obselete due to other changes.

	* arts/arts_y.m: Moved definition of parts to qarts2cfile.

	* arts/arts_get_atmfields.m: Moved definition of parts to qarts2cfile.

	* arts/qarts.m (Q.RAW_ATM_EXPAND_1D): Added this field.

	* arts/qarts2cfile.m: Proper check and error message regarding 
	specification of agendas.

2004-09-20  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-12

	* handy/qtool.m: Moved this function from files/, to get all
	q-functions in same folder.

	* forwardmodel/gridselect1D.m: Created this function. A first of a set
	of general functions for grid selection. 

2004-09-17  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-2-11

	* README: Added names of all persons in the Changelog to the
	Copyright, added recent years. (This since somebody has asked to
	use one of the atmlab functions.)

2004-09-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-10

	* arts/arts_batch.m: Created this function.

	* arts/arts_y.m: Created this function. 

	* arts1/arts1_y.m: Created this function. 

2004-09-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-9

	* arts/arts_cfile.m: What was this function is now qarts2cfile.
	This function has now the task of creating control file examples.

	* arts/qarts2cfile.m: See above. Added optional argument do_save.

	* arts/arts1_cfile.m: What was this function is now qarts12cfile.
	This function has now the task of creating control file examples.

	* arts/qarts12cfile.m: See above. Added optional argument do_save.

2004-09-11  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-8

	* Status: The generation of control files is now ready both for 
	ARTS and ARTS1 up to the point of generating spectra. So
	weighting functions from ARTS1 are now yet handled. 

	When setting up the same case for ARTS and ARTS1, basically identical
	spectra can be obtained (I managed to get inside 0.025 K without
	pushing variables controlling calculation accuracy to hard).
	
	Ask me if you want an example function.
	
	* arts1/arts1_loadfile.m: Created this function.

	* arts/arts_get_atmfields.m: Created this function.

	* physics/constants.m: Added cosmic background radiation temperature.

	* arts/arts.m: Removed option to call ARTS1.

	* arts1/arts1.m: Created this function. 

	* forwardmodel/za2geomztan.m: Adapted this function from AMI (slightly
	renamed).

	* forwardmodel/geomztan2za.m: Adapted this function from AMI (slightly
	renamed).

	* arts/qarts.m: Added more fields.

	* arts/arts_cfile.m: Added options.

	* physics/vmr2nd.m: Adapted this function from AMI.

	* physics/nd2vmr.m: Adapted this function from AMI.
	
2004-09-10  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-7

	* arts/qarts.m: Added more fields. Spectra can not be created, by
	getting closer.

	* arts/arts_cfile.m: Renamed and added options.

	* arts/arts_abstable_from_arts1.m: Fixed some problems and updated
	the function to use Qarts input.

	* handy/rqre_bool.m: Ensured that NaN gives error.

	* handy/rqre_scalar.m: Ensured that NaN gives error.

	* arts/arts_get.m: Renamed this function to qarts_get.m

	* arts/qarts_get.m: Created this function.

2004-09-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-6

	* arts/arts_cfile.m: Started on this function

	* arts/qarts.m: Started on this function.

	* arts1/qarts1.m: Changed to not use NaN throughout as default.

	* arts/arts_abstable_from_arts1.m: Further work on the function,
	e.g. including automatic switch following ARTS1_HDF.

	* arts1/arts1_cfile.m: Further work on the function, e.g. including
	automatic switch following ARTS1_HDF.

	* atmlab/atmlab.m: Added field ARTS1_HDF.

	* arts1/arts1_absmodels.cfile: Completed this file.

	* handy/qinfo.m: Had to change new paragraph symbol from ? to #
	because ? was not properly recognised by Matlab.

2004-09-09  Carmen Verdes  <cverdes@uni-bremen.de>

	* atmlab-0-2-5
	
	* sensor/atovs_select_datafiles.m: added some more explanations on
	  input and output, ... (improvements are still necessary!)

2004-09-09  Carmen Verdes  <cverdes@uni-bremen.de>

	* atmlab-0-2-4 

	* sensor/DataSelection.m renamed to atovs_select_datafiles.m. 
	Major modification in the file has been	made (see the file description)

2004-09-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-3

	* arts/arts_abstable_from_arts1.m: Finished a version that generates
	an absorption table (of at least correct format, not yet tested in
	ARTS).
	However, the function will be modified to be controled by a Qarts
	structure. Now the input follows the Qarts1 format.

	* arts1/arts1_get.m: Created this function.

	* arts1/arts1_absmodels.cfile: Added this file but it is not ready.

	* handy/qinfo.m: Included option of hard coding row brakes (by ?
	character), and possible to use trailing * for field names.	

	* arts/arts_write_linefile.m: Copied from AMI function write_linefile.

	* arts/arts_read_linefile.m: Copied from AMI function read_linefile.

2004-09-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-2

	* arts1/qarts1.m: Added a number of fields. 

	* arts1/arts1_cfile.m: Started on this function, generating ARTS-1.0
	control files.

	* arts/arts_abstable_from_arts1.m: Further work on this function. 

	* arts/arts_tgs_cnvrt.m: Fixed spelling error in error message.

	* handy/rqre_bool.m: Created this function.

	* handy/rqre_scalar.m: Created this function.

	* handy/rqre_char.m: Created this function.

	* arts1/addpath_ami.m: Created this function.

2004-09-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-1

	* arts/arts_abstable_from_arts1.m: A not totally ready function to
	generate absorption lookup tables. Needs templates stored so'far
	only locally.

	* arts/arts_tgs_cnvrt.m: Converts tag group information between
	Atmlab and ARTS formats.

	* handy/qinfo.m and qcheck.m: Created these two functions to
	faciliate handling of settings in the "Q way".

	* arts1/: Created this folder for functions related to ARTS-1.0.x.

	* arts1/qarts1.m: Started on this function, defining recognised
	fields for ARTS1 calculations (to be implemented). 

	* atmlab/atmlab_init.m: Added path for arts1/. 

	* atmlab/atmlab.m: Changed default values to be NaN, to make use of
	new option in prstnt_struct.

	* handy/prstnt_struct.m: Improved error messages and option 'require'. 

	* handy/out.m: Improved checks of VERBOSITY and SCREEN_WIDTH. 
	Included the possibility to write to files. Even files and screen
	in parallel.

	* files/create_tmpfolder.m: Improved check of WORK_AREA. 

	* files/delete_tmpfolder.m: Improved check of WORK_AREA. 
	
	* arts/arts.m: Better check of used Atmlab settings.

	* arts/arts_tgs_cnvrt.m: Added this function.

2004-09-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-2-0

	* Takes the step to version 0.2 as Atmlab now has a substantial
	content and I have changed the set of general settings. And the new
	set of settings shall hopefully be stable (settings can be added,
	but exsting shall not be removed or changed).

	* atmlab/atmlab.m: Some settings removed and some added. Existing
	settings are now:
	   AMI_PATH    
	   ARTS_PATH   
	   ARTS1_PATH  
	   FMODEL_VERBOSITY
	   SCREEN_WIDTH
	   VERBOSITY   
	   WORK_AREA   
	Type 'help atmlab' for description of the settings. You need to modify
	*atmlab_conf*, if you have any.

	* arts/arts.m: Created this function to call ARTS from within Matlab.
	Note that you can do a call as
	   arts '-w all';

	* forward_model/call_fmodel.m: Removed this function as there will
	take a long time before it will be possible to switch between 
	different forward models in a general manner.

	* handy/out.m: Copied and modified this function from AMI.
	Use this function to produce screen output, if there is more than
	one or two lines of output. In that way you do not need to bother
	about checking VERBOSITY.

2004-09-03  Carlos Jimnenez  <carlos.jimenez@ed.ac.uk>
	
	* atmlab-0-1-86

	* handy/getfield_fromtip.m: adding a function as F =
	GETFIELD(S,'field') but using as 'field' the first field that
	contain the string tip. If no field containing tip is found, F is
	returned empty.

2004-09-02  Bengt Rydberg  <benryd@etek.chalmers.se>
	
	* atmlab-0-1-85

	* atmscenarios/ice_psd_Mcfar_97.m: Modified this function.

	* atmscenarios/ice_psd_Ivanova_01.m: Modified this function.

	* atmscenarios/ice_psd_Heyms_84.m: Modified this function.

        * atmscenarios/ice_psd_Donovan_03.m: Modified this function.

	* atmscenarios/ice_psd_Mitchell_99.m: added and created this function.

	* atmscenarios/ice_psd_ellipsoids.m: added and created this function.
	
	* Made a series of functions to generate cirrus ice particle size
	distributions. The functions are named as ice_psd_xxxx.m.

	* mie/Mie_xscan.m: Modified typo in this function.

        * mie/epsice.M: Removed this function.
	
	* mie/epsice.m: Added this function, changed from epsice.M
	to epsice.m. 
	
	
2004-08-10  Carlos Jimnenez  <carlos.jimenez@ed.ac.uk>
	
	* atmlab-0-1-84

	* maths/meannans.m: adding a function as mean but removing nans,
	not standard in normal matlab without statistic toolboxes.

2004-08-10  Bengt Rydberg  <benryd@etek.chalmers.se>
	
	* atmlab-0-1-83

	* atmscenarios/ice_psd_Mcfar_97.m: added and created this function.

	* atmscenarios/ice_psd_Ivanova_01.m: added and created this function.

	* atmscenarios/ice_psd_Heyms_84.m: added and created this function.

	* Made a series of functions to generate cirrus ice particle size
	distributions. The functions are named as ice_psd_xxxx.m
	
	* atmscenarios/ice_psd_Donovan_03.m: added an created this function.

2004-08-06  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-1-82

	* graphs/colorbarf.m: Replaced by new version from
	http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=1135. 

2004-07-20  Bengt Rydberg  <benryd@etek.chalmers.se>
        
	* atmlab-0-1-81 

	* Started on a set of functions to generate ice particle size
	distributions in atmscenarios/.
	
	* atmscenarios/ice_psd_heyms84.m: Created this function.

2004-06-30  Bengt Rydberg  <benryd@etek.chalmers.se>

	* atmlab-0-1-80

	* Just a demonstration of CVS. 

2004-06-29  Mashrab Kuvatov  <kmashrab@sat.physik.uni-bremen.de>

	* atmlab-0-1-79

	* Forgot to "cvs add" the files in the previous entry.
	
2004-06-29  Mashrab Kuvatov  <kmashrab@sat.physik.uni-bremen.de>

	* atmlab-0-1-78

	* sensors/atovs_define_amsual1c.m: Added.
	
	* sensors/atovs_define_amsubl1c.m: Added.

	* sensors/atovs_define_hirsl1c.m: Added.

	* sensors/atovs_read_data.m: Added.

	* sensors/atovs_read_header.m: Added.
	
2004-06-10  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-77

	* arts/arts_ppath.m: Modified the function following changes in ARTS.

2004-05-24  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-76

	* physics/scattering_mplit2stokes.m: Created this function.

2004-05-12  Carmen Verdes  <cverdes@uni-bremen.de>

	* atmlab-0-1-75

	* sensor/DataSelection.m: added (just a first draft!). It makes a
	selection of the data files, for specified satellite, instrument,
	year, month, day and  time (thought for AMSU data selection).

2004-04-30  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-74

	* physics/fresnel.m: Created this function to test ARTS
	implementation of surface reflections.

2004-04-13  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-73

	* sensors/amsu_limb2nadir.m: Changed the output to be the conversion 
	data (not the converted data). This to allow speed improvements, by
	applying the same conversion data on a batch of measurements in
	parallel. This solution also allows that the conversion can be inverted
	and it thus possible to go between differnt FOV. Not only to nadir.

2004-04-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-72

	* sensors/amsu_fov2za.m: Created this function, based on input from
	Viju.

	* sensors/amsu_limb2nadir.m: Created this function, based on input
	from Mashrab.

	* graphs/example_colorbar.m: Added another test option for zerowhite.

	* graphs/zerowhite.m: Fixed what Stefan started. Added a number of
	input checks. 
	There seems to be a bug somewhere in Matlab. Color levels can not be 
	set to go outside of data range on both sides. The function will
	not allow this. 

2004-04-07  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-1-71

	* graphs/colorbarf.m: Added. Correct colorbar to use with
	contourf. From the MathWorks site. IMPORTANT: The standard
	colorbar function does not work correctly with contourf!!

	* graphs/zerowhite.m: Tried to make the function work with
	prescribed contour intervals. This is important, since it is
	preferable to have "nice" contour intervals instead of fractional
	ones (in my opinion). Unfortunately this does not yet work
	correctly. I don't understand how the field w in Patricks code
	works, actually.

	* graphs/example_colorbar.m: Added. Demonstrates how zerowhite and
	colorbarf can be used to create a filled contour plot with correct
	colorbar.

2004-03-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-70

	* sensors/ssmi_read_1tbfile.m: Corrected data download information.

2004-03-16  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-69

	* sensors/ssmi_read_1tbfile.m: Created this function.

	* handy/set_defaults.m: Input arguments given as [] where not set to
	default values. Better cleaning up of _D EFAULT variables.

2004-03-08  Oliver Lemke  <olemke@linux.net>

	* atmlab-0-1-68

	* xml/xmlStore.m: Implemented eligible precision for floats in
	ascii output files as proposed my Mattias.
	Add optional fourth argument precision.
	precision could be either the number of digits which should be written
	on output, or a string containing either 'FLOAT' or 'DOUBLE'.
	FLOAT is equal to precision=7, DOUBLE is equal to precision=15

	NOTE: The default if precision='FLOAT'. I didn't want to take double
	as default because in most cases float is sufficient and with double
	precision the file size increases significantly because a lot of
	trailing zeros are written (and I didn't find a proper solution to
	turn them off :-( )

	* xml/xmlGetPrecisionFormatString.m: Added. Creates format string for
	the desired precision for use with printf.

	* xml/xmlWriteArrayOf.m, xml/xmlWriteArrayOfArrayOf.m,
	xml/xmlWriteColIndex.m, xml/xmlWriteGasAbsLookup.m,
	xml/xmlWriteGridPos.m, xml/xmlWriteGriddedField3.m,
	xml/xmlWriteIndex.m, xml/xmlWriteIndexVector.m, xml/xmlWriteMatrix.m,
	xml/xmlWriteNumeric.m, xml/xmlWritePpath.m, xml/xmlWriteRowIndex.m,
	xml/xmlWriteSparse.m, xml/xmlWriteSparseData.m,
	xml/xmlWriteSpeciesTag.m, xml/xmlWriteString.m, xml/xmlWriteTensor3.m,
	xml/xmlWriteTensor4.m, xml/xmlWriteTensor5.m, xml/xmlWriteTensor6.m,
	xml/xmlWriteTensor7.m, xml/xmlWriteVector.m:
	Add precision parameter. The parameter also has to be present for
	writing routines that are not outputting floats because all of them
	are called with the same arguments from xmlStore.

	* xml/xmlWriteHeader.m: Minor fix in docs.

2004-02-20  Oliver Lemke  <olemke@linux.net>

	* atmlab-0-1-67

	* xml/xmlReadGriddedField3.m, xml/xmlWriteGriddedField3.m: Added.

2004-02-19  Oliver Lemke  <olemke@linux.net>

	* atmlab-0-1-66

	* atmlab.spec: Added to ease building of rpm package for smiles
	cluster.

2004-02-13  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-1-65
	
	* files/delete_tmpfolder.m: Fixed bug in call of workarea.
	
2004-01-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-64

	* graphs/zerowhite.m: Yet another fix to handle strange logic of
	Matlab plotting. I hate the plotting in Matlab.

	It seems that the color map is looped in different order, depending if
	the minimum or maximum value (in absolute terms) is the largest. 
	Let us see if this works for all cases.

2004-01-06  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-63

	* handy/set_defaults.m: Created this script as a help to set default
	input for function arguments.

	Check it out, it is very useful!

2003-12-24  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-62

	* graphs/zerowhite.m: Bug fixed. The white level was shifted one
	step from zero.

	I was fooled by the Matlab colorbar. The numbers are not placed very 
	good. The "center" numbr for each color, is actually placed at the 
	upper end. I have no simple fix for this.

2003-12-16  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-61

	* graphs/zerowhite.m: Created this function to make color maps where
	the zero level is white. The result is not yet perfect.

2003-11-20  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-60

	* forwardmodel/call_fmodel.m: The old atmlab_get was called instead
	of new atmlab. Bug reported by Claudia.

	In addition, the function existed in two versions. There was also
	one version in files/, which is now removed.

	* files/create_tmpfolder.m: Fixed an incorrect call of atmlabm. Bug
	reported by Claudia.

2003-11-18  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-59
	
	* xml/xmlReadSingleScatteringData: Added.

2003-10-27  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-1-58
	
	* arts/optimize_za_grid.m: Added. For scattering calculations in ARTS 
	it is very important to represent the intensity field correctly.
	Either you take a very fine grid (then the calculation takes very long)
	or you optimize the grid using for example this function, which is 
 	the much better solution.

2003-10-26  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-57

	* physics/constants.m: Addded EARTHORBIT_RADIUS and SUN_EARTH.

	* atmlab/atmlab_version.m: Don't forget to update version here.

2003-10-26  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-56

	* physics/planck.m: Matrixified (referring not to the movie) the
	function. Frequency and temperature can now be matrices. If both
	are matrices, they must have the same size. 

	Try to implement this feature for every function.

	* physics/planck_wlength.m: Created this complementary function,
	taking wavelength as input instead of frequency.

2003-10-24  Mattias Ekstr?m  <ekstrom@rss.chalmers.se>

	* atmlab-0-1-55

	* xml/xmlWriteTensor7.m: Changed input argument 'filename' to 'fid'.

2003-10-10  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-1-54
	
	* physics/planck.m: Added the Planck function.

2003-10-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-53

	* sensors/amsu_channels.m: Created this folder and this function.
	The function returns basic information on AMSU specifications.
	Please add more data if you find it necessary.

2003-07-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-52

	* atmlab/atmlab.m: Moved this function from being a personal function
	to an Atmlab function. This function makes atmlab_get and atmlab_defs
	obselete. 

	The personal settings are now set by calls of *atmlab*. 
	See instructions in CONFIGURE.
	
	* atmlab/atmlab_init.m: Added to mie folder to the search path.
	Added call of *atmlab* and *atmlab_conf* to implement new way of
	to set personal settings.

	* These functions are removed due to changes above:
	    atmlab/atmlab_get.m
 	    atmlab/atmlab_defs.m
	    example/atmlab

	* arts/artsplanck.m: Removed as other functions in the folder shows
	how to use an internal template.

	* file/call_fmodel.m: Is moved to forwardmodel/call_fmodel.m.
	
	* */Contents.m: Removed all these files. I don't think they are 
	useful and hard to keep updated. The name of the subfolders should
	be clear enough to describe the content.
	
	* CONFIGURE: Updated text to new way to set personal settings.

	* INSTRUCTIONS: Removed some old information.

	* forwardmodel/i2planckTb.m: Wrote first header line description.

	* forwardmodel/i2rayjeanTb.m: Wrote first header line description.

	* arts/arts_plot_atmgrids.m: Added some text to the header.

	* arts/arts_ppath.m: Added some text to the header.

	* Small fixes in function headers for a number of functions not
	listed above.

2003-06-18  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-51

	* xml/xmlReadColIndex.m, xml/xmlReadIndexVector.m,
	xml/xmlReadRowIndex.m, xml/xmlReadSparseData.m,
	xml/xmlWriteColIndex.m, xml/xmlWriteIndexVector.m,
	xml/xmlWriteRowIndex.m, xml/xmlWriteSparseData.m:
	Added. Needed for reading sparse matrix.

	* xml/xmlReadSparse.m, xml/xmlWriteSparse.m: Make use of the
	reading/writing routines mentioned above.

2003-06-16  Mattias Ekstr?m  <ekstrom@rss.chalmers.se>

	* atmlab-0-1-50

	* xml/xmlReadSparse.m: Added function for reading Sparse xml files.

	* xml/xmlWriteSparse.m: Added function for writing Sparse xml files.

2003-05-21  Christian Melsheimer  <melsheimer@uni-bremen.de>

	* atmlab-0-1-49

	* atmlab/atmlab_version.m: adjusted nr3 to 49

	* forwardmodel/mpm_iwc93_lwc93_rain89.m: 
	Corrected minor error in parameterization of complex 
	permittivity for ice water:  must read:
	b   = ( (0.233/(1-0.993/theta))^2 + 6.33/theta - 1.31 ) * 1e-5;
	            ^ 
	      not 0.223 
        
	Corrected error in parameterizatio of complex permittivity for
	liquid water (Double-Debye model):
	The parameters a and b actually have different denominators, 
	tmp1 = v_ghz*v_ghz + g1*g1
	and 
	tmp2 = v_ghz*v_ghz + g2*g2,
	respectively; not just tmp1 for both a and b (this error might 
	have propagated from the WATS report) - note that g2=39.8*g1. 
	To make sure, I checked
	with the papers Liebe, Hufford, Cotton [1993] (i.e., MPM93),
	Liebe, Hufford, Manabe [1991] ("A model for the complex
        permittivity of water at frequencies below 1 THz"), and Liebe's
	original MPM93 fortran code.
	
        	
2003-04-22  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-1-48

	* CONFIGURE: Updated location of atmlab_init script. (It seems to
	be now in subdirectory atmlab.)

2003-04-14  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-47

	* forwardmodel/mpm_iwc93_lwc93_rain89.m: Included parameter values from
	Christian for rain rates > 25 mm.

2003-04-11  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-46

	* atmscenarios/simplecloud_init.m: Some more default values introduced.
	Several cloud types defined. The cloud types follows roughly FASCODE.
	Cases with rain follow suggestions from Christian.

	Thomas and Christian: Please look and comment. The simplest way to
	check the definitions is to do:
	  C = simplecloud_init;simplecloud_plot(C);
	and select 1D, the cloud type of interest and just accept all default 
	values.

	* atmscenarios/simplecloud_plot.m: Fixed wrong xlabel for LWC. 
	
2003-04-10  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-45

	* graphs/ypatch.m: Created this function. Main purpose is to plot 
	retrieved vertical profiles with the confidence interval (e.g. +-1si)
	as a shaded area. See the header for an example.

	* graphs/xpatch.m: As complementary function to YPATCH.

2003-04-10  Thomas Kuhn  <tkuhn@uni-bremen.de>

	* atmlab-0-1-44

	* atmscenarios/simplecloud_plot.m: update. Included an if
	statement if an ice/water/rain filed is defined in the cloud
	structure or not. If YES then plot the field if NOT then leave it.
	
2003-04-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-43

	* forwardmodel/mpm_iwc93_lwc93_rain89.m: Finished this function. 

2003-04-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-42

	* forwardmodel/mpm_iwc93_lwc93_rain89.m: Worked a bit on this function.
	IWC and LWC seem to be ready. Rain not done.

2003-04-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-41

	* atmscenarios/simplecloud_field.m: Created this function.

	* atmscenarios/simplecloud_plot.m: Created this function.

	* atmscenarios/simplecloud_XXXX.m: Finished a first version of this 
	set of functions. More cloud types have to be defined in the init 
	function. Thomas has promised to help me with this. 

	To test this tool, try:
	   help simplecloud_init
	   C = simplecloud_init;
	   simplecloud_plot(C);

2003-04-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-40

	* atmscenarios/simplecloud_init.m: Created this function. This is
	the attempt to solve one of the tasks for the ACE+ study. But this
	set of two functions can also be used for other studies. Some details
	to be fixed.

	* atmscenarios/simplecloud_get.m: Created this function. Purpose and
	status as above.
	
	* forwardmodel: Added this folder. To hold Matlab version of things 
	normally found in forward models. ARTS specific stuff shall be placed
	in arts/.
	
	* forwardmodel/mpm_iwc93_lwc93_rain89.m: Started on this function.
	Not ready!

	* physics/Int2Planck.m: Moved and renamed to forwardmodel/i2planckTb.m
	The move because the new forwardmodel folder fits better. The
	renaming to avoid starting with a capital letter, and to avoid Int
	which leads the mind to Integer (at least for me). (Claudia, OK?)
	"Vectorized" the function. 

	* physics/Int2RayJean.m: Moved and renamed to 
	forwardmodel/i2rayjeanTb.m. Reasons as above.
	"Vectorized" the function. 

	A note: The functions shall as far as possible work in a Matlab
	"way". That is, the input can either be a scalar, vector or a matrix.
	This is fixed normally by replacing * with .* and / with ./.
	
	* XXXX/Contents.m: Revised existing files and added Contents.m where
	it was missing.

	* atmlab/atmlab_init.m: Added new folders. 

2003-04-08  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-39

	* handy/input_vector.m: Created this function.

	* handy/extra.m: Created this function. Use it to list all functions
	in Atmlab.

2003-04-07  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-38

	* handy/input_scalar.m: Created this function.

	* handy/ascii_menu.m: Added this function.

2003-03-31  Carlos Jimenez  <jimenez@rss.chalmers.se>

	* atmlab-0-1-37

	* math/nearestinvec.m: updating with easier implementation.

2003-03-28  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-1-36

	* physics/e_eq_water.m: Added. Calculates the equilibrium water
	vapor pressure over a plane surface of liquid water according to
	Sonntag, 1994.

	* physics/e_eq_ice.m: Added. Calculates the equilibrium water
	vapor pressure over a plane surface of ice according to Sonntag,
	1994.

	* physics/Contents.m: Added information about the new functions.

2003-03-06  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-35

	* physics/wgs84.m: Copied and adapted this function from AMI.

	* arts/arts_plot_atmgrids.m: Made z_ground an optional argument, to
	supress plotting of the geoid and the ground. The function can now
	be used to plot an individual grid cell.

	* arts/arts_ppath.m: Fixed bug when z_ground is not a scalar.

2003-03-05  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* arts/arts_plot_atmgrids.m: Changed cb_lims to be a cell array, as
	for arts_ppath.m.

	* arts/arts_ppath.m: Added r_geoid as mandatory input argument. 

2003-03-04  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-33

	* handy/yes_or_no.m: Copied answer_is_yes from AMI to create this
	function.

	* arts/arts_plot_atmgrids.m: Added code for 3D. 

	* graphs/axes_frame.m: Handles now also the z-axis.

2003-03-04  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-32

	* arts/arts_plot_atmgrids.m: Added and started on this function.  

	* atmplots/atmplot_sph2cart.m: Added output arguments to the function.

	* atmplots/atmplot_pol2cart.m: As above.

	* arts/arts_sph2cart.m: Removed this function.
	
2003-03-03  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-31

	* arts/arts_ppath.m: Finished the function. It now works also with
	refraction.

2003-03-03  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-30
	
	* arts/arts_ppath.m: Started on this function. Instead of having
	many functions for doing 2D or 3D grid cells etc., the idea is now
	to calculate a full path when a figure shall be produced. This is
	the getaway function to get a path out of arts.

	* xml/xmlWriteMatrix/TensorX.m: Removed output form statement s(1)=1;

	* arts/artsplanck.m (iplanck): Added output format to cfile template.

	* arts/atmplot: Removed functions atmplot_gridcell2D.m and
	atmplot_gridcell3D.m.

2003-02-28  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-29

	* Removed the following test function from /arts:
	   cart2poslos.m
	   do_gridcell_2d.m
	   do_gridcell_3d.m
	   gridcell_crossing_3d.m
	   poslos2cart.m

2003-02-28  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-28

	* files/qtool.m: Included an if-statement to avoid a warning for
	some Matlab version(s), when making "empty == scalar".

2003-02-27  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-1-27

	* xml/xmlReadGasAbsLookup.m: Read .xsec instead of .abs.

	* xml/xmlWriteGasAbsLookup.m: Write .xsec instead of .abs.

2003-02-11  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-26

	* xml/xmlLoad.m, xml/xmlRead*.m: Added support for reading binary xml
	files. Speed up in comparison to ascii is similar to the improvements
	in arts. Tried with 90 MB ampmat. Seems to work, but needs further
	testing. Claudia?

2003-02-10  Carlos Jimenez  <jimenez@rss.chalmers.se>

	* atmlab-0-1-25

	* math/nearestinvec.m: Adding a mscript to find the closest value
	in a vector to a given value.

	* NOTE: I notice the atmlab version was out of date, we should
	notforget to update the version number in atmlab/atmlab_version.
	
2003-01-20  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-1-24

	* AUTHORS: Added Christian Maetzler <christian.matzler@iap.unibe.ch>.

	* mie/: Added this directory, containing Mie scattering functions
	supplied by Christian Maetzler. Documentation is also there, in a
	pdf file. I added the files as they were, without making any changes.

	* mie/README: Added. Just contains a reference to the
	documentation. 

2003-01-09  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-23

	* xml/xml{Read,Write}{GridPos,Ppath,String}.m: Added.

	* xml/xmlReadTag.m: Fixed two bugs. Initialize attrlist. Setting
	exit_loop to 1 was missing in one else branch. (Why did it work
	before?!? :-o ) 

	* xml/xmlReadArray.m: Initialize result for the case that the array in
	the file is empty.

	* xml/xml{Read,Write}Index.m, xml/xmlWriteNumeric.m: Why do I always
	forget that strings in matlab must be enclosed in single quotes?

2002-12-30  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-22

	* arts/do_gridcell_3d.m: A Matlab version of the future ARTS function
	exists now as an internal function (with some short-cuts).

	* arts/gridcell_crossing_3d.m: More safe way to calculate r. Crossings
	with a length of 0 are now rejected.

2002-12-29  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-21

	* Basic functions to handle 3D path calculations seem to be ready.
	But a lot of work to do before everything is working.

	* arts/gridcell_crossing_3d.m: Created this function.

	* arts/obsplane2latlon.m: Removed this function.

	* arts/cart2poslos.m: Finished this function.

	* arts/poslos2cart.m: Fixed a bug.

2002-12-27  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-20

	* arts/cart2poslos.m: Started on this function.

	* arts/obsplane2latlon.m: Started on this function.

	* arts/arts_sph2cart.m: Created this function to test out an algorithm
	to be used in ARTS.

	* arts/poslos2cart.m: Created this function to test out an algorithm
	to be used in ARTS.

	* arts/do_gridcell_3d.m: Finished text for header.

	* atmplots/atmplot_sph2cart.m: Described the coordinate system used.

	* atmplots/atmplot_pol2cart.m: Described the coordinate system used.

	* atmplots/atmplot_gridcell3D.m: Improved the header slightly.

	* atmplots/atmplot_gridcell2D.m: Improved the header slightly.

2002-12-25  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-19

	* atmplots/atmplot_sph2cart.m: Created.

	* atmplots/atmplot_gridcell3D.m: Created.

	* arts/do_gridcell_3d.m: Created this function. Setting of 
	at_lower/upper_psurface to be fixed.

	* atmplots/atmplot_pol2cart.m: Changed the coordinate system so
	lat=0 equals now x=0.

	* arts/do_gridcell_2d.m: Finished this function.

2002-12-21  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-18

	* arts/do_gridcell_2d.m: The function works but documentation is
	lacking.
	The intention of this function is to test the ARTS function with the
	same name, and to be used for making figures in AUG.

	* atmplots/atmplot_pol2cart.m: The function works but documentation is
	lacking.

	* atmplots/atmplot_gridcell2D.m: Created.

	* physics/constants.m: Added constants EARTH_RADIUS, DEG2RAD and
	RAD2DEG.

2002-12-21  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-17

	* arts/artsplanck.m: Created this function to demonstrate the
	potential of qtool, and how to link a control file template with
	an actual ARTS calculation.

	* files/qtool.m: Copied the function from AMI and made some 
	modifications. The main change is that the template is given as
	a string array, which gives a higher flexibility. The template
	can now be read from a seperate file by file2strs, or be defined
	inside a local sub-function (as done for artsplanck).

	* examples/sample.tmplt: Added this file.

	* files/call_fmodel.m: Created this function.

	* atmlab/atmlab_defs.m: Changed FMODEL to FMODEL_NAME, and added
	the setting FMODEL_EXEC. 

	* files/file2strs.m: Created this function.

	* handy/tail.m: There is now an error message if the tail length 
	exceeds the length of the vector.

2002-12-20  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-16

	* CONFIGURE, files/create_tmpfolder.m, files/delete_tmpfolder.m,
	handy/min_nargin.m: Fixed typos.

	* atmlab/atmlab_get.m: Second argument name was 'requiered' but
	referenced inside the function as 'required'.

2002-12-20  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-15

	* files/delete_tmpfolder.m: Created this function.

	* files/create_tmpfolder.m: Created this function.

2002-12-20  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-14

	* handy/prstnt_struct.m: Particular code for version after 6.1 removed
	as the older solution still works, and the newer version caused
	an error in older Matlab versions.

	* atmlab/atmlab_get.m: Apparently exist('atmlab','file') also gives
	true for the atmlab folder and this caused a bug. The bug is fixex
	by looking for atmlab.m instead.

	* files/: Created this folder.
	
	* files/fileopen.m: Created this function. 

	* files/fileclose.m: Created this function.

2002-12-19  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-13

	* atmlab_version.m: Moved to atmlab/. Now you need to push more
	buttons to reach atmlab_version from ChangeLog, but I thought this
	was worth the advantage of having no Matlab functions in the top
	folder.

	* atmlab_init.m: Moved to atmlab/ and modified accordingly.

	* empty_heading.m: Moved to examples/.

	* example_heading.m: Moved to examples/.

	* atmlab_defs.m: Created a way to set personal settings. 
	Read CONFIGURE as an introduction. Please, check it out and comment. 

	* examples/atmlab.m: Created this function as a template for
	personal atmlab functions.

	* atmlab/atmlab_get.m: A gateway function to atmlab to make it
	possible to create decent error messages and allow that no personal
	settings are specified.

	* README: A simple README file. Some more text should be added later.

	* CONFIGURE: Info on how to start up Atmlab and create personal
	settings.

	* AUTHORS: Atmlab authors. Please add some text for you (Oliver: are
	you happy about what I wrote for you?)

	* examples/startup_menu.m: Merged some of my own files to create this
	file to give an example on selecting different environments at startup.

2002-12-19  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-12

	* xml/xmlWriteArrayOf.m, xml/xmlWriteArrayOfArrayOf.m,
	xml/xmlWriteVector.m: Allow empty objects.

2002-12-19  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-11

	* xml/xmlWriteMatrix.m, xml/xmlWriteNumeric.m, xml/xmlWriteTensor3.m,
	xml/xmlWriteTensor4.m, xml/xmlWriteTensor5.m, xml/xmlWriteTensor6.m,
	xml/xmlWriteTensor7.m, xml/xmlWriteVector.m: Use scientific notation
	in output files.

2002-12-19  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-10

	* xml/xmlWriteArrayOfArrayOf.m: Bug fix.

2002-12-19  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-9

	* xml/xmlWriteArrayOf.m, xml/xmlWriteArrayOfArrayOf.m,
	xml/xmlWriteVector.m: Extended routines to deal with column and row
	Vectors/Arrays.

2002-12-19  Stefan Buehler  <sbuehler@uni-bremen.de>

	* xml/xmlWriteArrayOfArrayOf.m: Working commit with Oliver.

2002-12-19  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-8

	* xml/xmlWriteArrayOf.m, xml/xmlWriteArrayOfArrayOf: Added missing
	attribute type. ArrayOfArrayOf must call ArrayOf for each element.

2002-12-18  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-7

	* atmplots/atmplot_timeseries.m: Values were not centered before for
	facated and flat shading. Profiles are now plotted diferently, 
	depending on the shading. A NaN made two rectangles empty for flat
	and faceted shading (due to a strange behaviour of Matlab), which
	is now corrected.

2002-12-18  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-6

	* xml/xmlWriteGasAbsLookup.m: Corrected name of Array functions.

2002-12-18  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-5

	* xml/xmlWriteSpeciesTag.m: Added.

	* xml/xmlReadSpeciesTag.m: Make it work.

	* xml/xmlReadAttributes.m, xml/xmlReadTag.m: Parsing of tags with no
	attributes was completely broken.

2002-12-17  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-4

	* xml/Contents.m: Added documentation.

	* xml/xmlStore.m: Fixed copy'n'paste error.
	Added documentation.

2002-12-17  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-1-3

	* xml/xmlReadGasAbsLookup.m, xml/xmlReadSpeciesTag.m,
	xml/xmlWriteHeader.m, xml/xmlWriteMatrix.m, xml/xmlWriteTensor3.m,
	xml/xmlWriteTensor4.m, xml/xmlWriteTensor5.m, xml/xmlWriteTensor6.m,
	xml/xmlWriteTensor7.m, xml/xmlWriteVector.m:
	Adapted to be used by xmlStore.m.  

	* xml/xmlWriteArrayOf.m, xml/xmlWriteArrayOfArrayOf.m,
	xml/xmlWriteGasAbsLookup.m, xml/xmlWriteIndex.m,
	xml/xmlWriteNumeric.m: Added.

	* xml/xmlStore.m: General writing routine.

2002-12-17  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-2

	* atmlab_version.m: Just a demo commit.

2002-12-16  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-1

	* handy/tail.m: Created this function to get the last part of
	any vector.

	* graphs/axes_frame.m: The old version did not work for printing.
	That works now.

	* graphs/children.m: A comment regarding allchild included in the 
	header.

2002-12-15  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-1-0

	* Atmlab-0.1 !
	Introduced a first minor version to show that Atmlab is operational:
	Atmlab contains already a lot of useful functions and we are 
	using the package for Odin-SMR work. There are already about 60
	functions in Atmlab. If we add 60 functions per minor version,
	Atmlab will be a big toolbox when we reach Atmlab-1.0  :-)

	* handy/prstnt_struct.m: A help function to handle settings for
	environments and other purposes. 

	* graphs/tplot.m: Created this function to create easily plots with
	just text.

	* handy/nversion.m: A function to get the Matlab version number
	as a number. Can be used if different solutions are needed for
	different Matlab versions.

	* graphs/axes_frame.m: The axes are now restored fully when executing
	axes_frame(h,'on');

2002-12-14  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-15
	
	* graphs: The function find_legend is removed (I was confussed and
	thought that there is only one legend per figure, which is not the
	case. Functions for axes below, and legends are axes objects, 
	requieres now that some handle is given.)

	Several functions have been re-named:
	   legend_frame -> axes_frame
	   legend_text  -> set_text
	   legend_title -> axes_title
	   scale_legend -> scale_axes

	A handle argument is added to some of these functions.

2002-12-13  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-14

	* graphs/set_XXX.m: Created the functions set_axes.m, set_labels.m
	and set_titles.m. See on-line help for info.
	
2002-12-13  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-0-13

	* xmlAddAttribute.m, xmlOpenOutputFile.m, xmlWriteCloseTag.m,
	xmlWriteFooter.m, xmlWriteHeader.m, xmlWriteMatrix.m, xmlWriteTag.m,
	xmlWriteTensor3.m, xmlWriteTensor4.m, xmlWriteTensor5.m,
	xmlWriteTensor6.m, xmlWriteTensor7.m, xmlWriteVector.m:
	Implemented writing routines.

	* xmlGetAttrValue.m: Clear variables after use.
	
	* xmlReadTensor5.m: Fixed typo.

	* xmlReadIndex.m, xmlReadNumeric.m, xmlReadSpeciesTag.m,
	xmlReadTensor7.m: Added more reading routines.

2002-12-13  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-0-12

	* atmlab_init.m: Removed path artsfuns.

2002-12-13  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-0-11

	* physics/Contents.m: Added this file.

	* atmlab_init.m: Added the physics folder here.

	* physics/constants.m: Modified documentation. Now the help gives
	out a complete list of defined constants.

2002-12-13  Stefan Buehler  <sbuehler@uni-bremen.de>

	* atmlab-0-0-10

	* atmlab_init.m: Added xml directory to path.

	* atmlab_version.m: Corrected function name.

2002-12-13  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-0-9

	* xml: Added reading routines.

2002-12-12  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-8

	* graphs: Created the functions:
	   children.m
	   find_legend.m
	   legend_frame.m
	   legend_text.m
	   legend_title.m
	   scale_fig.m
	   scale_legend.m
	   scale_text.m
	Type "help function" for more information. 

	The legend in Matlab does not always work veru well, but the legend
	functions above should be a good help to fix the legend when you
	are not happy with the default result. 

2002-12-12  Claudia Emde  <claudia@sat.physik.uni-bremen.de>

	* atmlab-0-0-7
	
	* physics: Created this directory. 
	This folder contains basic physical function needed for
	remote sensing applications.

	* physics/constants.m: Created this function, which returns
	physical constants or an error message, if the constant is not
	defined.

	* physics/Int2Planck.m: Created. Converts intensities to planck BT.

	* physics/Int2RayJean.m: Created. Converts intensities to 
	Rayleigh Jeans BT.

2002-12-12  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-6

	* math/isvector.m: Created this function. 

	* graphs/fit_to_paper.m: Wrote a header. Introduced vertical and
	horisontal borders and landscape paper size.

	* graphs/add_plot_row.m: Created this function. Check it out, it is
	cool.

2002-12-11  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-5

	* handy/min_nargin.m: Created this folder and this function. 

	* graphs/fit_to_paper.m: Created this function to set the figure size
	to match the paper size. Not ready!

	* atmplots/atmplot_timeseries.m: Renamed atmplot_scanseries.m to this 
	name. The function is now working. Maybe there will be some future
	modifications.

2002-12-10  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-4

	* example_heading.m: Changed the format on the starting line.
	The name of the function shall be there (in all uppercase letters).

	* math/Contents.m: Created this foler to hold:
	This folder contains functions performing basic mathematical 
	operations. Included are functions to determine the variable types.

	* math: Added functions iseven.m, isinteger.m, isodd.m, isscalar.m,
	vec2col.m and vec2row.m, where most are copiued from AMI.
	
	* atmplots/Contents.m: Created this foler to hold:
	This folder contains core functions to generate typical plots used to
    	display results retrieved from atmospheric remote sensing observations.

	* atmplots/atmplot_scanseries.m: Started on this function.

	* graphs/Contents.m: Created this foler to hold:
	This folder contains functions to make the usage of the different graph
 	commands in Matlab simpler. 
	See further the mentioned file.

	* arts/Contents.m: The folder artsfuns has been renamed to arts
	(as it is obvious that it contains functions).

	* atmlab_init.m: Added new folders. 
	Atmlab includes now functions also found in AMI. If you will use Qpack
	and AMI on the same time (maybe as part of Qpack), I recommend to run 
	atmlab_init before /ami/init to make sure that the AMI version of
	functions is used.

2002-12-10  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-3

	* This is just a commit to really add some folders and functions.
	More info in next commit.

2002-12-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-2

	* example_heading.m: Forgot to mention this file, and empty_heading,
	in the last commit. 
	I discovered that the AMI/Qpack type of headers in fact work rather
	poor with the Matlab help tool. So I have made new template functions.
	There are also some hints about optional variables. Please, read
	and comment.

2002-12-09  Patrick Eriksson  <Patrick.Eriksson@rss.chalmers.se>

	* atmlab-0-0-1

	* atmlab_init.m: This file adds the Atmlab folders to the search path.
	Call this function from your startup.m file if you want to use Atmlab.
	All folders that are added to Atmlab must be included in this function.

	* atmlab_version.m: The version number shall be transfered to this
	function before each commit. This function prints the version number.

	* INSTRUCTIONS: Instructions for future Atmlab authors. Please, read 
	and comment. 
	Oliver: I was not sure what to write about what you have to put in 
	Makefile.am. Can you add this?

	* artsfuns/Contents.m: Started on this folder, mainly as an example 
	(but so far a bad example).

2002-12-05  Oliver Lemke  <olemke@uni-bremen.de>

	* atmlab-0-0-0

	* Initial version

