2020-12-14 Patrick Eriksson * atmlab-2-4-3 * gformat/gf_load.m: loadvar was used but that function has been changed and does not work here. Changed to use load directly. Should fix problem reported by Witali Krochin. 2020-11-24 Patrick Eriksson * atmlab-2-4-2 * arts/qarts2cfile.m: Check of ARTS version was wrong. It is now demended to have a ARTS 2.4 version. 2020-10-16 Patrick Eriksson * atmlab-2-4-1 * arts/qarts3cfile.m: Removed demand on ARTS version. 2020-10-14 Oliver Lemke * atmlab-2-4-0 * 2.4.0 Release * CHANGES-2.3: Renamed to CHANGES-2.4 2020-10-11 Patrick Eriksson * atmlab-2-3-293 * forwardmodel/add_za_aa.m: * forwardmodel/diff_za_aa.m: Were not updated to use zaaa2enu, instead zaaa2cart. 2020-09-27 Patrick Eriksson * atmlab-2-3-292 * geodetic/ellipsoid_intersection.m: New. * geodetic/ellipsoidradii.m: Fixed typo in header. 2020-09-22 Patrick Eriksson * atmlab-2-3-291 * scattering/molecular_scatcoef.m: New, not totally finished. 2020-09-17 Patrick Eriksson * atmlab-2-3-290 * geodetic: Fixes of several headers and some eefficiency improvements. * arts/qarts3.m: Default for Q.CHECKS_DO is now false. This to allow that default Q creates an empty cfile. * geodetic/zenith2cart.m: New. * geodetic/cartposlos2geocentric.m: Calculation of aa not vectorised, but up to 3D data are now handled. Beofe just vector input was OK. 2020-09-12 Patrick Eriksson * atmlab-2-3-289 * geodetic: Smaller fixes in documentation in several functions. * geodetic/cartposlos2geodetic.m: New. * geodetic/enu2zaaa.m: New. * geodetic/geodeticposlos2cart.m: Finished documentation. 2020-09-11 Patrick Eriksson * atmlab-2-3-288 * geodetic/: Polishing of documentation. * geodetic/zaaa2enu.m: New * geodetic/geodeticposlos2cart.m: New 2020-09-01 Patrick Eriksson * atmlab-2-3-287 * arts/qarts3cfile.m: * arts/qarts2cfile.m: Added handling of ANTENNA_OPTION2D. * arts/qartsSensor.m: Introduced ANTENNA_OPTION2D, an option to appear in ARTS. 2020-08-31 Patrick Eriksson * atmlab-2-3-286 * arts/qarts3cfile.m: Smaller fixes. * forwardmodel/convert_mpm89_lines.m: New. 2020-08-21 Patrick Eriksson * atmlab-2-3-285 * Smaller updates of Qarts some Qarts demos and further work on Qarts3. Some first demos in place. * tests/make_check_qarts.m: Updated. * arts/qarts.m: OUTPUT_FILE_FORMAT now given a default value: 'binary'. 2020-08-19 Patrick Eriksson * atmlab-2-3-284 * The core functionality of qarts3 now in place, but many Q fields are lacking support. 2020-08-18 Patrick Eriksson * atmlab-2-3-283 * Some work and testing, as a small start towards qarts3 and qpack3. 2020-04-15 Salomon Eliasson * atmlab-2-3-282 * files/loadncfile.m: Don't fail if there is problem with global attributes, just output the message asbout it * geoplots/gmt/gmt_plot.m: numerous small edits and improvements to default behaviour * geoplots/gmt/create_gmt_earth.m: Small edits 2020-03-28 Patrick Eriksson * atmlab-2-3-281 * arts/qarts2cfile.m. Multiple ABS_LINES now allowed for XML. 2020-03-28 Patrick Eriksson * atmlab-2-3-280 * geographical/set_lon_limits.m: Limits could end up above 360 due to how margin was added. 2020-03-27 Patrick Eriksson * atmlab-2-3-279 * arts/qarts2cfile.m: Negative Q.ABS_LINESHAPE_CUTOFF now gives no cutoff again. Now also new abs_line system supported. Q.ABS_LINESHAPE_MIRRORING now handled * arts/qarts.m: Updated following changes above. 2020-03-26 Patrick Eriksson * atmlab-2-3-278 * Updates to make qarts to work with present arts version (2.3.1279). Not sure if all is fixed, but demos seem to run at least. * Removed some less important demos, as well as the two related to scattering. The later as qarts should not be considered to support scattering calculations (but still possible if using a lot of tricks). * arts/qarts2cfile.m: Changes related to abs_lines and jacobianAdd. * arts/qarts.m: Updated and removed some obselete text for Jacobians. * demos/qarts_mcdoit_demo.m: * demos/qarts_scattering_demo.m: * demos/qarts_ppath_demo.m: * demos/qarts_zeeman_demo.m: Removed. * demos/qarts_demo2.m: * demos/qarts_demo.m: * demos/qpack2_demo.m: * demos/qpack2_demo2.m: * demos/qarts_iy_demo.m: * demos/qpack2_wind3d_demo.m: Small update fixes. 2020-03-13 Robin Ekelund * atmlab-2-3-277 * scattering/assp2g.m: Fixed problem that occurs if S.za_grid is not a column 2020-03-13 Patrick Eriksson * atmlab-2-3-276 * handy/vif.m: Added this function Richie Cotton (taken from Matlab's file central). It is a "vector if" function, that also almost works as a ternary conditional operator. * scattering/pnd2bulk.m: Did silently assume that cloudbox covers complete atmosphere. Now cloudbox limits must be given and smaller cloudboxes are handled. 2020-03-04 Patrick Eriksson * atmlab-2-3-275 * scattering/pnd2bulk.m (pnd2bulk): New function. 2020-01-23 Patrick Eriksson * atmlab-2-3-274 * arts/wsv2group.m: * arts/xml/xmlStoreAuto.m: New functions. 2019-12-03 Salomon Eliasson * atmlab-2-3-273 * math/binning_fast: small bugfix 2019-09-07 Patrick Eriksson * atmlab-2-3-272 * demos/qpack2_demo.m: Second case now perturbed in frequency. 2019-05-21 Patrick Eriksson * atmlab-2-3-271 * h2o/parametrisations/ice_psd_Mcfar_97.m: Added t_min_psd and t_max_psd as optional arguments, following the ARTS version. 2019-02-04 Patrick Eriksson * atmlab-2-3-270 * retrieval/oem.m (oem): Added check that O.linear is true is characterisation shall be done. 2019-01-23 Imke Hans * atmlab-2-3-269 * datasets/+satreaders/poes_radiometer_FCDR.m, datasets/+satreaders/poes_radiometer_level1b.m, datasets/+satreaders/ssmt2_ngdc_ncreader, datasets/+satreaders/ssmt2_ngdc_ncreader.m, datasets/datasets_config.m, datasets/define_datasets.m: Added functions to organise the reading from FCDR and level1b data for MW radiometers. Added reader for SSMT2-NGDC-data. Modified config+define code to allow for usage of the new readers. * sensors/read_AMSUB_allvar.m, sensors/read_AMSUB_header.m, sensors/read_AMSUB_record.m, sensors/read_FIDUCEO_MW_FCDR.m, sensors/read_MHS_allvar.m, sensors/read_MHS_header.m, sensors/read_MHS_record.m, sensors/read_MW_level1b.m, sensors/read_SSMT2_allvar.m, sensors/ssmt2_read.m: Added readers for level1b data (all variables) and FCDR data for MW humidity sounders. * site-specific/hamburg/datasets_init.m: Modified: added paths and regualr expressions for FCDR data stored on thunder. 2018-12-19 Patrick Eriksson * atmlab-2-3-268 * forwardmodel/add_za_aa.m: * forwardmodel/diff_za_aa.m: vrot now set directly, faster than older calculation by cross. * math/rotationmat3D.m (rotationmat3D): Removed some strange code for nargin == 1. 2018-12-18 Patrick Eriksson * atmlab-2-3-267 * forwardmodel/diff_za_aa.m: New functions. * forwardmodel/add_za_aa.m: 2018-12-10 Patrick Eriksson * atmlab-2-3-266 * site-specific/chalmers-gem/OdinSmr/smrapi_load_l1b.m: Added optional argument for triggering "debug". 2018-12-06 Lukas Kluft * atmlab-2-3-265 * graphs/cmaps/typhon_cmaps.m, graphs/cmaps/material.txt, graphs/cmaps/max_planck.txt, graphs/cmaps/uhh.txt: Add qualitative colormaps "material", "max_planck" and "uhh". 2018-11-07 Patrick Eriksson * atmlab-2-3-264 * geodetic/ellipsoidradii2.m: * geodetic/ellipsoidradii.m: Corrected header text. * math/isodd.m (isodd): * math/iseven.m (iseven): Non-integer values were not handled correctly. 2018-10-11 Patrick Eriksson * atmlab-2-3-263 * geographical/adjust_to_lonlimits.m: * geographical/set_lon_limits.m: Changes of header text. 2018-09-07 Patrick Eriksson * atmlab-2-3-262 * physics/airdensity.m: Header was not fully correct. * geophysics/mixr2massconc.m (mixr2massconc): Constant Re was set but not used. 2018-09-05 Patrick Eriksson * atmlab-2-3-261 * site-specific/chalmers-gem/era5_surface_read.m: Added handling of some surface rain and snow fluxes. 2018-08-08 Salomon Eliasson * atmlab-2-3-260 * handy/combine_pdfs.m: Added some more capabilities. Can now combine more file types * handy/list_colors.m: * geographical/getPredefinedRegions.m: * geographical/standardize_geodata.m: * geoplots/gmt/gmt_plot.m: small uninteresting changes 2018-06-13 Patrick Eriksson * atmlab-2-3-259 * geographical/set_lon_limits.m: Fixed error in header. And added margin as optional argument. 2018-06-11 Patrick Eriksson * atmlab-2-3-258 * Some work to update qarts to changes done in ARTS. Not fully completed. * arts/qarts2cfile.m (cfile_Absrpt): Updated setting of propmat_clearsky_agenda. * demos/qarts_demo.m (qarts_demo): Updated some settings. * gformat/gf_regrid.m (gf_regrid): Init of grids changed from [] to {}. * arts/arts_ji.m: New function. * arts/arts_oem_init.m (init_local): * arts/arts_y.m (arts_y): Now etting ji by calling arts_ji. 2018-06-03 Patrick Eriksson * atmlab-2-3-257 * geographical/set_lon_limits.m (set_lon_limits): Added output arguments lonlow and lonhigh. 2018-06-01 Patrick Eriksson * atmlab-2-3-256 * geographical/set_lon_limits.m: New. 2018-05-31 Patrick Eriksson * atmlab-2-3-255 * site-specific/chalmers-gem/era5_surface_read.m: More variables now handled. 2018-05-28 Patrick Eriksson * atmlab-2-3-254 * site-specific/chalmers-gem/era5_pressure_read.m: Added handling of cloud cover, RWC, and SWC. 2018-05-23 Patrick Eriksson * atmlab-2-3-253 * geodetic/destination_bearing.m: New. * geodetic/sphdist.m: Small fix in header. 2018-05-19 Patrick Eriksson * atmlab-2-3-252 * site-specific/chalmers-gem/era5_surface_read.m: data_name was set incorectly for v10 2018-05-18 Patrick Eriksson * atmlab-2-3-251 * site-specific/chalmers-gem/era5_surface_read.m: * site-specific/chalmers-gem/era5_pressure_read.m: New. 2018-05-17 Bengt Rydberg * atmlab-2-3-250 * sensors/read_mhs_data: added function that reads metop / microwave humidity sounder (MHS) level1b data files 2018-05-17 Patrick Eriksson * atmlab-2-3-249 * gformat/gf_regrid.m (gf_regrid): agrids was initialised wrongly. Now simple set to be empty for each i. * gformat/isatmdata.m (isatmdata): * gformat/isgformat.m (isgformat): Creation of Gt failed in newer matlab versions. Fixed by adding [] to get [G(:).DIM]. 2018-04-28 Patrick Eriksson * atmlab-2-3-248 * demos/simple_mw_sims.m: New. Can be used as it is. But also demonstrates how to simply make forward model simulations. 2018-04-24 Salomon Eliasson * atmlab-2-3-247 * handy/combine_pdfs.m: - now allways adding the suffix pdf to the ourput file incase there is none is given - fixed bug in filename passed to pdf-crop - Now handles png,tiff,eps, and jpg files and made sure the temporary files are all made in a temp directory that is later removed * handy/png2pdf.m: Added * geoplots/gmt/makepolar.m: fixed bug in the number of which boxes if reference is right on the maximum value * geographical/resample_geodata.m: * geoplots/gmt/gmt_plot.m: * geoplots/gmt/pscoast.m: * geoplots/gmt/create_gmt_earth.m: small edits 2018-04-23 Lukas Kluft * atmlab-2-3-246 * graphs/cmaps/cubehelix.txt, graphs/cmaps/typhon_cmaps.m: Add the default "cubehelix" colormap: https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/ 2018-04-04 Patrick Eriksson * atmlab-2-3-245 * site-specific/chalmers-gem/OdinSmr/smrapi_call.m: A bit improved handling of errors. 2018-02-07 Patrick Eriksson * atmlab-2-3-244 * First a warning. Qpack is not up to date with ARTS, and don't expect everything to work. Change below fixes at least basic pencil beam calculations * arts/qarts2cfile.m: A small change to allow pencil beam calculations togetehr with newest ARTS. 2018-02-02 Patrick Eriksson * atmlab-2-3-243 * site-specific/chalmers-gem/OdinSmr/smrapi_load_l1b.m: Renamed SMR.L1b to SMR.L1B. * site-specific/chalmers-gem/OdinSmr/smrapi_find_l2_period.m: The Data level is now removed, ie the actual data are at SMR.L2 and not SMR.L2.Data. L2i and L2c renamed to L2I and L2C. Now also L2a attached to SMR. 2017-11-24 Salomon Eliasson * atmlab-2-3-242 * geoplots/gmt/gm.t_plot.m: cosmetics * geographical/resample_geodata.m: Made much faster for regridding to similar sized grids 2017-10-26 Salomon Eliasson * atmlab-2-3-241 * math/binning_fast.m: made it faster to just get the counts. 2017-10-17 Patrick Eriksson * atmlab-2-3-241 * site-specific/chalmers-gem/OdinSmr/smrl2_frequency.m: Corrected header. 2017-10-16 Patrick Eriksson * atmlab-2-3-240 * forwardmodel/fm_o3_111ghz.m: Extended. 2017-10-16 Patrick Eriksson * atmlab-2-3-239 * site-specific/chalmers-gem/OdinSmr/smrapi_find_l2_period.m: Argument *project* was missing in header info. * site-specific/chalmers-gem/OdinSmr/smrapi_basic_settings.m: Added description of field retries. 2017-09-29 Salomon Eliasson * atmlab-2-3-238 * handy/combine_pdfs.m: - Made in.cols more flexible, and now a more robust handling of pages,rows, cols etc. - added --ini to pdfcrop since it has stopped working for me on several systems. * geoplots/gmt/test_gmt.m: Added pdfcrop as an option * geoplots/gmt/psscale.m: changed -Dj to -DJ since it was causing a weird bug that put the legend annotations on the wrong side * geoplots/gmt/makepolar.m: Fixed small bug * geoplots/gmt/gmt_plot.m: Fixed some bugs in making the legend in certain cases * geoplots/gmt/create_gmt_earth.m: commented out GMT_COMPATIBILITY=4 * geographical/resample_geodata.m: * handy/sanitise.m: small edit 2017-08-25 Patrick Eriksson * atmlab-2-3-237 * site-specific/chalmers-gem/OdinSmr: There now load functions also for L2, L2I and L2C. * site-specific/chalmers-gem/OdinSmr/smrapi_call.m: Now considers API.retries. 2017-08-21 Patrick Eriksson * atmlab-2-3-236 * site-specific/chalmers-gem/OdinSmr/smrapi_basic_settings.m: Slight change of fields, to url, version, timeout and robust. Adopted affected functions. 2017-08-20 Patrick Eriksson * atmlab-2-3-235 * site-specific/chalmers-gem/OdinSmr: A first working version. 2017-08-18 Patrick Eriksson * atmlab-2-3-234 * site-specific/chalmers-gem/OdinSmr: A small start. Four functions added. 2017-08-18 Patrick Eriksson * atmlab-2-3-233 * site-specific/chalmers-gem/OdinSmr: All functions removed. Will restart this function set from scratch. 2017-08-02 Patrick Eriksson * atmlab-2-3-232 * h2o/parametrisations/eps_ice_matzler06.m: Real part is now not allowed to go below 3.10, as in the book chapter it is said: At T < 240 K the temperature sensitivity decreases, and a constant value of 3.10 is found at T < 100 K. This was pointed out by Eugene Clothiaux. 2017-05-31 Salomon Eliasson * atmlab-2-3-231 * math/binning_fast.m: Fixed bug: Now making sure the output grid X-Y coordinates are ordered as they were inputted * files/loadvar.m: Can now ask to retrieve more than one variable at a time. * files/loadncvar.m: Also handle if the field 'attributes' or 'global_attributes' is passed to function * geoplots/gmt/makepolar.m: fixed bug where white region was not centered around the reference. Fixed nonsensical programming from an earlier me. * geoplots/gmt/gmt_plot.m: Added assertion. updated default plot title. Tweaked automatically finding the datarange * geoplots/gmt/gmt_inputs.m: don't allow psbasemap to be a string. it has to be a structure * geographical/standardize_geodata.m: made possible to silence output from this function * math/isodd.m: * math/iseven.m: changed "|" to "||" to silence mlint 2017-04-07 Patrick Eriksson * atmlab-2-3-230 * h2o/parametrisations/mgd_get_lambda2.m: * h2o/parametrisations/mgd_get_n02.m: New functions. * h2o/parametrisations/mgd_get_n0.m: * h2o/parametrisations/mgd_get_lambda.m: Header text modified. 2017-03-27 Patrick Eriksson * atmlab-2-3-229 * retrieval/mci.m: The normalisation of weights was not done exactly as said in header. Instead of using mean of chi2, I once tested to use the median instead and seems that I manged to commit this. Now changed back. Should not have made a big impact. 2017-03-27 Patrick Eriksson * atmlab-2-3-228 * sensors/read_ismar_l1b.m: Updated to latest format. Older formats no longer supported. 2017-03-09 Patrick Eriksson * atmlab-2-3-227 * scattering/particles2ab.m: Correction of format in header. 2017-03-01 Mareike Burba * atmlab-2-3-226 * gridcreation/annealing/find_best_freq_set_anneal_rowWise.m: update documentation * gridcreation/annealing/loop_anneal.m: fix bug with function naming * gridcreation/annealing/test_freq_set_gasteiger.m: update documentation * physics/i2planckTb.m: update documentation 2017-02-21 Patrick Eriksson * atmlab-2-3-225 * scattering/mie_arts_scat_data.m: Updated. Now returning data of version 3. * tests/make_check_qarts.m: * scattering/assp2backcoef.m: * scattering/assp2g.m: macroscopically_isotropic / horizontally_aligned replaced with totally_random / azimuthally_random. 2017-02-20 Mareike Burba * atmlab-2-3-224 * physics/NedT2NedR.m: function that converts noise equivalent temperature to noise equivalent radiances, input are NedT, reference temperature and a wavenumber. * physics/i2planckTb.m: a bit more fancy to handle dimensions mismatch between frequency and irradiance input. A single frequency is accepted for an irradiance vector. It can also deal with frequencies and irradiances when one of them needs to be transposed. * h2o/thermodynamics/vmr2dewpoint.m: get dew point from volume mixing ratio and pressure * physics/planck_wlength.m: typo fix in documentation. 2017-02-20 Mareike Burba * atmlab-2-3-223 * gridcreation/annealing/loop_anneal.m : replaces loop_anneal and apply_annealing. The reshaping in apply_annealing is moved here. The dimensions of the data are checked anyways. Furthermore, I added a new input parameter: bf_below. That stands for "brute force below" the given number of frequencies per channel. At the moment, it only works for bf_below <=2, so for one frequency per channel. But for more options could be added new functions. bf_below=1 means that no brute force approach will be used. * gridcreation/annealing/test_freq_set_gasteiger.m: added. Is the same as test_freq_set, but using a error measure like Gasteiger et al. 2014. * find_best_freq_set_anneal_rowWise.m : added functionality to use the Gasteiger error measure if C.use_gasteiger is set to true. C.use_gasteiger is false by default. If gasteiger is on, it is checked if the temperature T is greater than the smallest floating point number in Matlab. Otherwise the algorithm is stuck. 2017-02-15 Salomon Eliasson * atmlab-2-3-222 * handy/combine_pdfs.m: Using title for the filename is title is given and filename is not * handy/catstruct.m: * geoplots/gmt/create_gmt_earth.m: dealt with mlint messages * math/binned_statistics.m: removed error that snuck into the last commit 2017-02-10 Oliver Lemke * atmlab-2-3-221 * arts/xml/xmlReadSingleScatteringData.m: Convert version 2 data to version 3 on reading if possible (azimuthally random data is kept at version 2). 2017-02-10 Oliver Lemke * atmlab-2-3-220 * arts/xml/xmlReadSingleScatteringData.m: Add support for new SSD version 3. The version number is now stored as a field in the SSD structure. * arts/xml/xmlWriteSingleScatteringData.m: Add support for new SSD version 3. Non-azimuthally random oriented SSDs < version 3 are automatically stored as version 3. 'Horizontally aligned' particles are still stored as version 2. They can be converted to version 3 in ARTS. * arts/arts_ptype2string.m: Added new strings for version 3. * arts/arts_check_ptype.m: Checks if a ptype string is valid. * arts/arts_update_ptype.m: Converts old ptype strings to latest version. 2017-02-09 Salomon Eliasson * atmlab-2-3-219 * geographical/resample_geodata.m: * geographical/standardize_geodata.m: * math/binning_fast.m: - Improved documentation - Added additional error message * geoplots/gmt/gmt_plot.m: Added some little tweaks for more desirable default behaviour * handy/combine_pdfs.m: expanded to also include EPS files. It does not handle bitmaps such as PNG, since I rely on pdfinfo to find the size of the plot * math/binned_statistics.m: made a runtime message less repetitive * time/daterange.m: added optional argument to set the temporal resolution of the output regardless of how precise the provided date. E.g., [y1 m1;y2 m2]=daterange([y1 m1 d1],[y2 m2 d2],2) 2017-02-05 Patrick Eriksson * atmlab-2-3-218 * site-specific/chalmers-gem/erainterim2surfdata.m: * site-specific/chalmers-gem/erainterim2atmdata.m: Replaced sort with unique in last change. This to fix that 0 could appear twice in final grid. 2017-01-30 Patrick Eriksson * atmlab-2-3-217 * site-specific/chalmers-gem/erainterim2surfdata.m: * site-specific/chalmers-gem/erainterim2atmdata.m: There was a gap in the data coverage just below lon 360. Data for lon=0 not copied to really cover [0,360]. Probably still potential problems for close to -180. 2017-01-27 Patrick Eriksson * atmlab-2-3-216 * site-specific/chalmers-gem/find_ecmwf_files.m: Path to ERA now set to dendrite for user patrick. * atmlab/atmlab.m: Added some code allowing to set ARTS_PATH including flags, and not get a warning. E.g.: arts -n1 The code assumes that the ctual file path does not contain -. Works for me! A problem for someone? 2017-01-26 Patrick Eriksson * atmlab-2-3-215 * files/file2strs.m: Now not returns S=[] for empty files, instead of resulting in an error. 2017-01-17 Maryam Jamali * atmlab-2-3-214 * atmlab/h2o/parametrisations/snow_psd_kneifel11. Added. 2017-01-10 Lukas Kluft * atmlab-2-3-213 * arts/xml/xmlStore.m, arts/xml/xmlStoreWithComment.m: Improved documentation. Explicitly mention that the full ARTS data type has to be passed. 2016-12-19 Oliver Lemke * atmlab-2-3-212 NOTE: ArrayOfLineRecords are now returned as struct arrays, not cell arrays anymore. This means you have to index them with () instead of {}. * arts/xml/xmlWriteArrayOf.m: Give explicit implementations of array reading routines precedence over the generic implementation. Creates the possibility of overwriting the default array reading routine with a specialized one. Necessary for writing ArrayOfLineRecord. * arts/xml/xmlReadArrayOfLineRecord.m: Add support for reading ARTSCAT-5. Optimized reading speed of ARTSCAT-3 by factor 2 by preallocating the struct array and getting rid of the (slow) custom parsing function. Instead textscan is used to split the line into tokens. * arts/xml/xmlWriteArrayOfLineRecord.m: New writing routine for ARTSCAT-5. 2016-12-16 Lukas Kluft * atmlab-2-3-211 * lineshape/linewidth.m: Use linear interpoliation. The usage of linear interpolation leads to a significant performance improvement when searching the zero crossings with ``fnzeros`. 2016-12-14 Patrick Eriksson * atmlab-2-3-210 * site-specific/chalmers-gem/OdinSmr/smr_get_subfield.m: Crashed if input SMR was empty. 2016-12-13 Patrick Eriksson * atmlab-2-3-209 * site-specific/chalmers-gem/OdinSmr: Changes in all basically existing functions. Now handling multiple scanids etc. More robust against failures in reading. * site-specific/chalmers-gem/OdinSmr/smr_get_subfield.m: * site-specific/chalmers-gem/OdinSmr/smrapi_log_find_dates.m: New functions. 2016-12-13 Patrick Eriksson * atmlab-2-3-208 * site-specific/chalmers-gem/OdinSmr: Removed sub-folder WebApi, and placed functions in this folder. Some new and renamed functions. 2016-12-08 Lukas Kluft * atmlab-2-3-207 * lineshape/linewidth.m: Fixed documentation. 2016-12-08 Lukas Kluft * atmlab-2-3-206 * atmlab/atmlab_init.m: Added lineshape to atmlab path. * lineshape/linewidth.m: Function to calculate linewidth from frequency grid and absorption cross-sections. 2016-12-07 Patrick Eriksson * atmlab-2-3-205 * site-specific/chalmers-gem/erainterim2surfdata.m: * site-specific/chalmers-gem/erainterim2atmdata.m: Assert for lon grid assumed a global coverage. Now changed to just check that first lon >= 0. 2016-12-01 Jana Mendrok * atmlab-2-3-204 * h2o/parametrisations/n_ice_ray72.m: Tested and modified accordingly. 2016-11-30 Jana Mendrok * atmlab-2-3-203 * h2o/parametrisations/n_ice_ray72.m: Implementation of Ray, 1972 model for ice refractive index (this is largely outdated, but still some people dare to use it. needed here for being able to quantify differences to newer models). So far, untested. 2016-11-29 Patrick Eriksson * atmlab-2-3-202 * site-specific/chalmers-gem/OdinSmr/WebApi/: Started on this function set. 2016-11-15 Ole Martin Christensen * atmlab-2-3-201 * covmat/covmat3d.m: Bug in usage of gridinterp.m fixed. * covmat/covmat3d_from_cfun_not_seperable.m: Used depricated function interpd. Changed to pointinterp. * math/pointinterp: Corrected typo in header. 2016-11-14 Alex Bobryshev * atmlab-2-3-200 * datasets/+satreaders/saphirl2b.m datasets/+satreaders/atms.m: satreaders for the collocation toolkit. Work same as other satreaders. 2016-11-14 Lukas Kluft * math/allclose.m: Fixed handling of multi-dimensional arrays. 2016-11-14 Lukas Kluft * math/allclose.m, math/isclose.m: Element-wise comparison of two arrays. 2016-11-09 Lukas Kluft * graphs/cmaps/qualitative1.txt: Adjusted yellow to the one used in qualitaive2. 2016-11-07 Lukas Kluft * graphs/cmaps/qualitative2.txt: Exchanged the very bright yellow. 2016-11-02 Ole Martin Christensen * atmlab-2-3-199 * covmat/covmat3d.m: The function used the outdated function interpd, it is now rewritten to use gridinterp instead. 2016-11-01 Oliver Lemke * atmlab-2-3-198 * sensors/atovs/avhrr_gac_read.m: Fix indexing errors when channel 3a is present. 2016-10-20 Mareike Burba * atmlab-2-3-197 * gridcreation/annealing/loop_anneal.m: verbose level for gridcreation/annealing/find_best_freq_set_anneal.m has been always set to 1 in case the control structure was given, no matter which or if any verbose level was defined beforehand. Removed this, so verbose levels can be passed to find_best_freq_set_anneal.m via loop_anneal. 2016-10-20 Mareike Burba * atmlab-2-3-196 * gridcreation/annealing/apply_annealing.m: fixed function argument. 2016-10-20 Patrick Eriksson * atmlab-2-3-195 * scattering/tmatrix.m: Corrections of header text. 2016-09-20 Ole Martin Christensen * atmlab-2-3-194 * geophysics/pt2z.m: First estimate ignores altitude restrictions of p2z_simple * math/gridinterp.m: A for loop was wrongly concatinated when running with atmlab(STRICT_ASSERT) == 0. Fixed. 2016-09-10 Salomon Eliasson * atmlab-2-3-193 * geoplots/gmt/pspoly.m: small adaptation * geoplots/gmt/makepolar.m: Fixed buggy handling of background and foreground colours * geoplots/gmt/makecpt.m: changed & to && in conditional * geoplots/gmt/gmt_plot.m: making a pdf with just the legend didn't work anymore, but now it does. I needed to handle projection slightly differently * geoplots/gmt/create_gmt_earth.m: moved setup_projection to gmt_plot 2016-09-08 Patrick Eriksson * atmlab-2-3-192 * handy/gong.m: Produces a gong-type sound. 2016-09-01 Patrick Eriksson * atmlab-2-3-191 * time/yearnum.m (yearnum): * time/weekofyear.m (weekofyear): * time/monthofyear.m (monthofyear): * time/mjd2date.m (mjd2date): * time/mjd2jd.m (mjd2jd): * time/jdate2jd.m (jdate2jd): * time/jd2mjd.m (jd2mjd): * time/jd2jdate.m (jd2jdate): * time/jd2date.m (jd2date): * time/istime.m (istime): * time/isleapyear.m (isleapyear): * time/isjdate.m (isjdate): * time/isdate.m (isdate): * time/hms2days.m (hms2days): * time/easterday.m (easterday): * time/daysinmonth.m (daysinmonth): * time/days2hms.m (days2hms): * time/dayofyear.m (dayofyear): * time/date2jd.m (date2jd): * time/dayofmonth.m (dayofmonth): * time/date2unixsecs.m (date2unixsecs): In all these functions, commented out check of nargin of type: error(nargchk(0, 6, nargsin)); This as usage of nargchk now gives: Warning: NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK instead. And I just don't have the energy to properly change all those input checks. 2016-09-01 Patrick Eriksson * atmlab-2-3-190 * handy/hostname.m: Flag -s is now used when calling the system hostname function. This to make sure that the short version is obtained, and not the fully qualified domain name. This was my intention when making the function. So far only tested on Ubuntu 14 and 16. Tell me if the flag causes problems on other systems. 2016-08-31 Patrick Eriksson * atmlab-2-3-189 * math/nearestinvec.m: Extended the function to also handle non-scalar zi. 2016-08-24 Patrick Eriksson * atmlab-2-3-188 * files/tmpdir.m: An alernative to tempdir. This new function makes use of environemnt variable TMPDIR. * files/homedir.m: * handy/whoami.m: * handy/hostname.m: Now using internal persitstent variable, follwoing matlab's tempname function. This to avoid repeated system calls. * site-specific/chalmers-gem/find_ecmwf_files.m: Now using ~ in local path. 2016-08-24 Patrick Eriksson * atmlab-2-3-187 * site-specific/chalmers-gem/find_ecmwf_files.m: For ERA, local files are assumed if the hostname is virga (my laptop). This to allow running tests "off-line". Also added same "fix" for runs at C3SE. 2016-08-24 Salomon Eliasson * atmlab-2-3-186 * handy/combine_pdfs.m: Made it possible to combine .eps figures as well, and included the option of outputing the combined file as a .dvi instead of pdf (default) 2016-08-19 Patrick Eriksson * atmlab-2-3-185 * site-specific/chalmers-gem/erainterim2atmdata.m: * site-specific/chalmers-gem/erainterim2surfdata.m: Added asserts to make sure that input longitudes cover 0 to 360. 2016-08-17 Lukas Kluft * atmlab-2-3-184 * geoplots/gmt/cptfiles/difference.cpt, graphs/cmaps/difference.txt: Added a variant of a blue-to-red colormap. * geoplots/gmt/cptfiles/typhon_ctables.m, graphs/cmaps/typhon_cmaps.m: Updated new colormap in documentation. 2016-08-16 Patrick Eriksson * atmlab-2-3-183 * site-specific/chalmers-gem/erainterim2surfdata.m: Now handling multiple files as the atmdata version. * site-specific/chalmers-gem/erainterim2atmdata.m: A small fix. Now really tested. 2016-08-16 Patrick Eriksson * atmlab-2-3-182 * site-specific/chalmers-gem/erainterim2atmdata.m: There was a typo in new code. 2016-08-16 Patrick Eriksson * atmlab-2-3-181 * Missed comments for last commit: * randomize/iaaft/surrogate_2d_3d.m: * randomize/iaaft/iaaft_loop_3d.m: Some unnecessary lines commnted out. 2016-08-16 Patrick Eriksson * atmlab-2-3-180 * site-specific/chalmers-gem/erainterim2atmdata.m: Can now read and merge multiple files, but option noty yet tested. 2016-08-15 Bengt Rydberg * atmlab-2-3-179 * site-specific/chalmers-gem/find_ecmwf_files.m: added option for finding available ERAInterim files on chalmers-gem filesystem. 2016-08-12 Lukas Kluft * graphs/cmaps/typhon_cmaps.m: Added support for discrete colormaps. It is now possible to pass the optional argument N to specify an amount of discrete color levels. 2016-08-09 Lukas Kluft * atmlab-2-3-178 * geoplots/gmt/gmt_inputs.m: Added in.ctable.reverse. Included test for input field in.ctable.reverse. * geoplots/gmt/gmt_plot.m: Fixed type and documentation of in.ctable.reverse. 2016-08-08 Patrick Eriksson * atmlab-2-3-177 * randomize/iaaft/: Re-downloaded all data and files of IAAFT, to make sure that we have the latest version. Just a few m-files seem to have been changed. 2016-08-08 Lukas Kluft * atmlab-2-3-176 * geoplots/gmt/gmt_plot.m: Updated documentation about reversing color palettes. * geoplots/gmt/makecpt.m: Added option to reverse the sense of color progression. 2016-08-08 Lukas Kluft * atmlab-2-3-175 * atmlab/atmlab_init.m: Added geopltos/gmt/cptfiles to atmlab path. * geoplots/gmt/cptfiles/typhon_ctables.m: Function to return paths to color palette files. * geoplots/gmt/cptfiles/*.cpt: Color palette data files. Color palettes are defined in seperate cpt files. 2016-08-01 Gerrit Holl * atmlab-2-3-174 * datasets/SatDataset.m(level3): - Make this work with filters for multidimensional data such as BTs. I don't have time for thorough testing right now, this might break stuff. Please scream at me if it does. 2016-07-21 Oliver Lemke * atmlab-2-3-173 * math/rms.m: Adapt docs. 2016-07-21 Oliver Lemke * atmlab-2-3-172 * math/rms.m: Add optional dim argument to calculate RMS only along one dimension. 2016-07-14 Salomon Eliasson * atmlab-2-3-171 * geoplots/gmt/gmt_plot.m: if in.datarange is a scalar, the value represents the minimum plot value and in that case the maximum is taken from the 95th-percentile. * geographical/standardize_geodata.m: updated header 2016-07-14 Lukas Kluft * atmlab-2-3-170 * graphs/cmaps/typhon_cmaps.m: Function to read colormaps defined in typhon. * graphs/cmaps/*.txt: Colormap data files. Colormaps are defined in seperate txt files. 2016-06-28 Salomon Eliasson * atmlab-2-3-169 * geoplots/gmt/test_gmt.m: improved one of the tests. * geoplots/gmt/gmt_plot.m: Implemented a more clever automatic placement of the legends and map_title_offset * geographical/resample_geodata.m: edited header to reflect reality 2016-06-10 Salomon Eliasson * atmlab-2-3-168 * geoplots/gmt/test_gmt.m: Now checks if pdfinfo exists. if not, don't use combine_pdfs, but rather display each map separately * handy/combine_pdfs.m: fixed typo * geoplots/gmt/gmt_plot.m: changed name of a subfunction function 2016-06-01 Alex Bobryshev * atmlab-2-3-167 * documentation/hamburg/read_sat_data.tex: Added a "coocking recipe" like documentation on how to read satellite data using atmlab. 2016-05-27 Salomon Eliasson * atmlab-2-3-166 * graphs/scatter_density_plot.m: Added some more explanations in the header * datasets/SatDataset.m: Made changes to level3, to handle variables with more dimensions than lon lat * math/binning_fast.m: Fixed errors that surfaced when I tried to bin multi-dimensional data * handy/combine_pdfs.m: - Removed '' from sprintf('cp ''%s'' ''%s/%s''', P.file, tmpfolder, tmpplotname), since it wasn't executing in bash. This fixed a failure to execute although I don't know why it was suddenly failing. - made verbosity toggleable * geographical/standardize_geodata.m: stopped the lies coming from the header * handy/sanitise.m: Changed atmlab('ERR') to atmlab('OUT'). I hope no one cares * geoplots/gmt/test_gmt.m: * geoplots/gmt/psscale.m: * geoplots/gmt/gmt_plot.m: * geoplots/gmt/gmt_inputs.m (:): - Made some changes to the legend options, especially removing depricated options and using the new flashy approaches mean to be used in GMT5 * geoplots/gmt/create_gmt_earth.m: Fixed crash if one doesn't want a legend, but does want and extra_legend (such as because of NaNs) * geographical/resample_geodata.m: * math/binned_statistics.m: * geographical/getPredefinedRegions.m: insignificant * handy/list_colors.m: Added some assertions * geographical/regionize.m: fixed assertion 2016-05-22 Patrick Eriksson * atmlab-2-3-165 * scattering/particles2ab.m: New function. It derives a and b of mass = a * dmax^b. 2016-05-12 Oliver Lemke * atmlab-2-3-164 * arts/xml/xmlReadArrayOfLineRecord.m: Fix problem with non-Unix line-endings. Bug reported by Jonas Hagen. 2016-04-05 Oliver Lemke * atmlab-2-3-163 * CONFIGURE, INSTRUCTIONS, README: Update mailing list address. 2016-04-04 Oliver Lemke * atmlab-2-3-162 * arts/arts_x2QR.m: Fix typo in comment, replaced // with %. 2016-04-03 Patrick Eriksson * atmlab-2-3-161 * arts/arts_x2QR.m (arts_x2QR): Pointing jitter case was not handled. 2016-03-31 Ole Martin Christensen * atmlab-2-3-160 * geophysics/z2p_simple.m: added possibility to remove check in pressure/altitude. * geophysics/p2z_simple.m: added possibility to remove check in pressure/altitude. 2016-03-24 Patrick Eriksson * atmlab-2-3-159 * arts/qarts2cfile.m (cfile_Jacobi): The call of jacobianAddAbsSpecies has been incorrect since the addition of for_species_tag argument. dx ended up in the position of for_species_tag. for_soecies tag hard-coded to 1. 2016-03-13 Patrick Eriksson * atmlab-2-3-158 * demos/qarts_mcdoit_demo.m: And changed back to use Mie for setting scattering properties. 2016-03-12 Patrick Eriksson * atmlab-2-3-157 * demos/qarts_mcdoit_demo.m: IY_MAIN_AGENDA updated for mc part. Added horisontally aligned option when setting scat data. * arts/qarts2cfile.m (cfile_SctMth): Adopted to renaming of DoitAngularGridsSet. * demos/qarts_scattering_demo.m: IY_MAIN_AGENDA updated for mc and tr options. 2016-03-08 Patrick Eriksson * atmlab-2-3-156 * math/gridinterp.m: Added some comment and removed all %&% * math/pointinterp.m: Switched to use STRICT_ASSERT. 2016-03-04 Patrick Eriksson * atmlab-2-3-155 * geophysics/p2z_cira86.m: Now an error if selecting too low pressure. * geophysics/z2p_cira86.m: Added comment in header above upper limit. * geophysics/z2p_simple.m (z2p_simple): * geophysics/p2z_simple.m (p2z_simple): Introduced an upper limit at 0.01Pa/120km as this conversion is not even approximate in the thermosphere. 2016-02-25 Patrick Eriksson * atmlab-2-3-154 * h2o/parametrisations/eps_ice_matzler06.m: Changed max temperature to 280K, following the Liebe93 function. It is good to have some margin to O C when setting up scattering data. Values obtained at 280 K look OK. 2016-02-25 Patrick Eriksson * atmlab-2-3-153 * site-specific/chalmers-gem/erainterim2surfdata.m: * site-specific/chalmers-gem/erainterim2atmdata.m: Draft functions to read ERA-Interim netcdf files. * math/gaussfilter.m: New. * math/boxcarfilter.m: Slightly extended header text. 2016-02-16 Manfred Brath * atmlab-2-3-152 * retrieval/ismar/general/calculate_iwv.m: There was an error, if the pressure vector was a column vector instead of a row vector. Now, it works for row and column vectors. 2016-02-11 Patrick Eriksson * atmlab-2-3-151 * atmlab/atmlab_init.m: Path to retrieval/ismar/general now added. * retrieval/ismar/general/calculate_hmp.m: * retrieval/ismar/general/calculate_iwv.m: Moved to another folder. * sensors/cloudsat_read.m (unitconv): Added conversion for log(mm) and W. 2016-01-31 Patrick Eriksson * atmlab-2-3-150 * demos/qpack2_demo2.m (q_demo): Added comemnt around usage of covmat1d_markov. * covmat/covmat1d_markov.m: Non-constant sigma now handled. Sinv calculated just if it is requested. 2016-01-29 Patrick Eriksson * atmlab-2-3-149 * math/interpp.m: Added an assert to check consistent size of input. This after by accident finding out that there seems to be some loophole in the size checking inside interp1. * retrieval/oem.m: Fixed a spelling error. 2016-01-19 Patrick Eriksson * atmlab-2-3-148 * demos/arts_oem_demo.m: * retrieval/qpack2/qpack2.m: Adopted call of arts_oem_init. * arts/arts_oem_init.m: Structure O was in/out, but neither used or modified by the function and now removed as argument. 2016-01-07 Richard Larsson * atmlab-2-3-147 * arts/arts.m: Sets atmlab('ARTS_XMLDATA_PATH') as default datapath input if available as part of the system call that runs arts. 2016-01-07 Patrick Eriksson * atmlab-2-3-146 * ChangeLog: Added version number to last commit. * covmat/covmat3d.m: Corrected "small example" in header. I had missed to remove some old stuff. 2016-01-07 Ole Martin Christensen * atmlab-2-3-145 * covmat/covmat3d_from_cfun_not_seperable.m: Fixed bug in 3D function for linear and exponential correlation. 2016-01-06 Patrick Eriksson * atmlab-2-3-144 * If you have been using oem.m directly, note that O.sxnorm is removed. Nothing to change if you are a Qpack user. * demos/qpack2_demo2.m: Added demonstration of how to set SXINV. Used H2O for this. * retrieval/qpack2/qpack2.m: Adopted regarding removal of O.sxnorm. And now sets Sxinv (by arts_sx, before this calculation was done in oem). * arts/arts_sx.m: Can now also return Sxinv. As this function can invert sub-matrices to create the full Sxinv, using this option is more efficient than inverting the complete Sx. Makes use of SXINV, when set. * arts/qarts.m: Introduced the optional sub-field SXINV, for all retrieval quantities. * retrieval/oem.m (oem): Now follows STRICT_ASSERT. "sxnorm" is now not optional. It is always applied. I made this change as I realised that it is easy to apply the normalisation on Sxinv as well. That is, Sxinv can be pre-calculated even with sxnorm. Then changed as using sxnorm is the safest option, and to make the list of inputs and the code somewhat less complicated. 2016-01-05 Patrick Eriksson * atmlab-2-3-143 * You could need to update your functions if you use covariance matrices of 2D or 3D type. * retrieval/qpack2/qp2_l2.m (qp2_l2): The variable siz was not set correctly for 2D and 3D atmospheric variables. * covmat/covmat3d.m: D.SEPERABLE renamed to D.SEPARABLE, to use correct spelling. Header text expanded, including parts from removed covmat3d_from_cfun. * covmat/covmat_partstat_corr.m: * covmat/covmat3d_from_cfun_not_seperable.m: Expanded header somewhat, with a recommendation to primarily use the covmat3d interface function. * covmat/covmat3d_from_cfun.m: Removed this function. It did nothing not treated by *covmat_partstat_corr*, but slower, * arts/qarts.m: Just a typo fix. 2015-12-23 Patrick Eriksson * atmlab-2-3-142 * This commit should allow that Qpack2 can also be applied on 2D and 3D limb sounding. In any case, the latitude and longitude of the observation platform can now be specified. * demos/qpack2_t_demo.m: Changed old SENSOR_POL to new name of INSTRUMEMNT_POL. * retrieval/qpack2/qpack2.m (qp2_y2Q): Implemented handling of LAT_PLATFORM and LON_PLATFORM. Corrected check of size(Y.TNOISE). * documentation/qpack2/qpack2.tex: Updates with respect to changes below. And also added one point os SENSOR_POS/LOS. * retrieval/qpack2/qp2_y.m: Added LAT_PLATFORM and LON_PLATFORM, and expended somewhat description of LATITUDE and LONGITUDE. * gridcreation/grid_for_1line.m: Fixed typo in header. 2015-12-15 Manfred Brath * atmlab-2-3-141 * retrieval/ismar/hamburg/{calculate_hmp.m, calculate_iwv.m}: renamed the function names and reformatted the function headers * retrieval/ismar/hamburg/ismar_import_zipped_arts_simulation.m: reformatted the function headers * retrieval/ismar/hamburg/load_database_wfilter.m: added a function to load chunks of an ISMAR database and to join the chunks. Additionally there is also the possibility to filter data, so that only the data which passes the filter are joined. 2015-12-17 Patrick Eriksson * atmlab-2-3-140 * scattering/tmatrix.m: Fixed a spelling mistake in header. 2015-12-17 Patrick Eriksson * atmlab-2-3-139 * scattering/tmatrix.m (tmatrix): Added ngds as optional input. Selected 5 as default value, which differs from the (present ) default is arts that is 2. A higher value should be hood for accuracy, and clearly help to handle high axial ratios. 2015-12-15 Patrick Eriksson * atmlab-2-3-138 * demos/qpack2_wind3d_demo.m: * demos/qpack2_t_demo.m: * demos/qpack2_demo2.m: * demos/qpack2_demo.m: * demos/qarts_zeeman_demo.m: * demos/qarts_scattering_demo.m: * demos/qarts_iy_demo.m: * demos/qarts_demo2.m: * demos/qarts_demo.m: * demos/qarts_backend_demo.m: * demos/asg_clearsky_demo.m: * demos/arts_oem_demo.m: Removed defintion of BLACKBODY_RADIATION_AGENDA. * arts/qarts2cfile.m: * arts/qarts.m: Removed BLACKBODY_RADIATION_AGENDA. 2015-12-15 Manfred Brath * atmlab-2-3-138 * retrieval/ismar/hamburg/{calculate_hmp.m, calculate_iwv.m}: renamed the function names and reformatted the function headers * retrieval/ismar/hamburg/ismar_import_zipped_arts_simulation.m: reformatted the function headers * retrieval/ismar/hamburg/load_database_wfilter.m: added a function to load chunks of an ISMAR database and to join the chunks. Additionally there is also the possibility to filter data, so that only the data which passes the filter are joined. 2015-12-15 Manfred Brath * atmlab-2-3-137 * documentation/ismar/: added database documentation * retrieval/ismar/hamburg/{calculate_HMP.m, calculate_IWV.m}: added functions to calculate integrated water vapor and hydrometeor paths from database * retrieval/ismar/hamburg/ismar_import_zipped_arts_simulation.m: added a function to convert the output of an arts-simulation for the database into a mat-file 2015-12-09 Salomon Eliasson * atmlab-2-3-136 * site-specific/hamburg/datasets_init.m: accidental commit. reverted this one 2015-12-09 Salomon Eliasson * atmlab-2-3-135 * datasets/SatDataset.m: -Added some extra arguments to binned_statistics call in level3. There was a rare case that caused cell2mat to crash. Sometimes 'limitbinnedstats' emptied cells instead of [0x1]. I now added the 'replace' and 'dataClass' arguments to avoid this happening again. * geographical/standardize_geodata.m: fixed lying header * geoplots/gmt/gmt_plot.m: - default add_offset and scale_factor is now 0 and 1 respectively * math/binned_statistics.m: cosmetics 2015-12-07 Patrick Eriksson * atmlab-2-3-134 * arts/arts_version.m: Adopted call of arts.m. * arts/arts.m: Don't display text messages on screen if result is output argument. 2015-11-23 Salomon Eliasson * atmlab-2-3-133 * handy/combine_pdfs.m: Fixed bug if the asked for number of pages is too high 2015-11-16 Ole Martin Christensen * atmlab-2-3-132 * covmat/covmat3d_from_cfun.m: corrected a bug in the z direction for gaussian non-separable matrix. 2015-10-22 Patrick Eriksson * atmlab-2-3-131 * Some changes to catch up with changes in ARTS. * arts_usage/arts_radioocc_1D_slta.m: * arts_usage/arts_radioocc_1D.m: Changed to new agenda name, refr_index_airMicrowavesEarth. * demos/qarts_ppath_demo.m: * tests/test_arts_refraction.m: * demos/qarts_scattering_demo.m: Changed to use new name agenda template, refr_index_air_agenda__GasMicrowavesEarth. * demos/qpack2_demo2.m: SENSOR_POL changed to INSTRUMENT_POL. * arts/qarts2cfile.m (cfile_Sensor): Adopted to the two changes below. * arts/qarts.m (qarts): Added SENSOR_POL. * arts/qartsSensor.m: Renamed old sensor_pol to instrument_pol. 2015-10-22 Patrick Eriksson * atmlab-2-3-130 * Found out that 80% of the time for some calculations were spent on reading the ppath structure into Matlab. Now possible to just store and read the partial version, and ppath is just stored if actually required. * arts/arts_iy.m (arts_iy): Added code to handle storage of ppath from this function, with using ppathWriteXMLPartial as default. * arts/qarts2cfile.m (cfile_PbcExe): Removed storing of ppath to file. 2015-10-22 Patrick Eriksson * atmlab-2-3-129 * geodetic/line_point_shortest_dist.m: New. * ChangeLog: Corrected spelling mistakes in last ChangeLog message! 2015-10-22 Patrick Eriksson * atmlab-2-3-128 * Following change in ARTS, removed Thayer as standard for microwave refractive index (Earth). If you want to reproduce the old Thayer function, set k2 and k3 to 64.8e-8 and 3.776e-3, respectively. * forwardmodel/n_air_mwawes_earth.m: New, based on function below. * forwardmodel/n_air_thayer.m: Removed/replaced with function above. 2015-10-22 Patrick Eriksson * atmlab-2-3-127 * sensors/ismar_los.m: Changed treatment of pitch0. Some cleaning of code. Stuart and I now get consistent results (angle differences below 1e-5 deg)! 2015-10-21 Patrick Eriksson * atmlab-2-3-126 * sensors/read_ismar_l1b.m: Added reading of azimuth angle. So far just found in a test file. Will be part of revised L1b data? * sensors/ismar_los.m: Corrected/updated some comments. 2015-10-19 Patrick Eriksson * atmlab-2-3-125 * sensors/ismar_los.m: Changed order between pitch and roll (when calculating r1) as that gives a perfect match with angles found in L1b data. 2015-10-19 Patrick Eriksson * atmlab-2-3-124 * sensors/ismar_los.m: Modified. There were several problems in the function. Changes made but some parts require verification from Stuart, how some angles are defined. However, note that for usage with MetMM, you now need to set an additional variable, a flag to trigger these calculations. Using sensor_pol is now the default case. 2015-10-19 Patrick Eriksson * atmlab-2-3-123 * Started a small series of functions, deriving variables from ARTS single scattering data. * scattering/assp2backcoef.m: New. * scattering/assp2g.m: New, replaces function below. * scattering/asymmetry_parameter.m: Replaced by function above. 2015-10-18 Patrick Eriksson * atmlab-2-3-122 * sensors/ismar_los.m (ismar_los): Some typo fixes. 2015-10-14 Salomon Eliasson * atmlab-2-3-121 * handy/combine_pdfs.m: options.pages wasn't implemented properly * geoplots/gmt/gmt_plot.m: Added add_offset, fill_value, and scale_factor for if you want to scale and add an offset inside gmt_plot. This is nice if browsing through data variables straight from a netcdf file * geoplots/gmt/gmt_inputs.m: Added some more variables to check 2015-10-08 Patrick Eriksson * atmlab-2-3-120 * arts/qarts2cfile.m (cfile_CldBox): Cloudbox limits were written to the cfile as %.3f. This is not sufficient precision when going down to m scales. The limits are now written as %.9e to allow simulations on more small scales. 2015-10-06 Patrick Eriksson * atmlab-2-3-119 * arts/qarts2cfile.m (cfile_Jacobi): Removed mapping of rel to logrel 2015-09-22 Patrick Eriksson * atmlab-2-3-118 * sensors/ismar_los.m: Fixed typo in header text. 2015-09-18 Patrick Eriksson * atmlab-2-3-117 * covmat/covmat1d_markov.m: Call of covmat1d_from_cfun was completly wrong and caused an error. 2015-09-14 Salomon Eliasson * handy/combine_pdfs.m: fixed little bug when displaying the final pdf * geographical/regionize.m: Now Including upper edge in the region to extract. * geographical/resample_geodata.m: Commented out assertion that I don't think I need (that the lat and lon are equally spaced). * geoplots/gmt/gmt_plot.m: - Use PDFVIEWER first and foremost if it is provided - Fixed bug when making separate file for legend (psscale) * handy/combine_pdfs.m: fixed little bug when displaying the final pdf 2015-09-08 Patrick Eriksson * atmlab-2-3-115 * arts/qarts_hse.m: Was commited with a test keyboard statement left. 2015-09-07 Patrick Eriksson * atmlab-2-3-114 * documentation/qpack2/qpack2.tex (subsubsection{Qpack2 specifics}): Added comment making clear that HSE has higfhest priority when setting z_field. 2015-09-07 Salomon Eliasson * atmlab-2-3-113 * geographical/standardize_geodata.m: Fixed bug when dealing with duplicate data * geographical/resample_geodata.m: Fixed so that it can also handle uint8 data * math/binning_fast.m: Made something clearer in header 2015-09-07 Salomon Eliasson * atmlab-2-3-112 * geoplots/gmt/gmt_plot.m: Fixed bug determining map width if in.proj is a string * handy/combine_pdfs.m: fixed bug in output filename if using pdfcrop * geographical/resample_geodata.m: Fixed bug determining which resampling method to use 2015-09-03 Patrick Eriksson * atmlab-2-3-112 * sensors/cloudsat_read.m (unitconv): Column values (such as IWP) were not scaled to SI units. * time/mjd2string.m (mjd2string): Changed how seconds are written. Old pattern resulted in floating point output. Now fixed point, including digits dowm to ms. 2015-09-01 Salomon Eliasson * atmlab-2-3-111 * handy/combine_pdfs.m: Made much more robust * math/binning_fast.m: Fixed header * geoplots/gmt/gmt_plot.m: cosmetics 2015-08-31 Patrick Eriksson * atmlab-2-3-110 * demos/qarts_zeeman_demo.m: Extended, to also cover demo of mag field retrieval. This seems now to work! * arts/arts_oem_init.m (force_file_local): This sub-function now considers Q.INPUT_FILE_FORMAT, to avoid inconsistency to the saving done qarts2cfile. * arts/qarts2cfile.m (cfile_Sensor): STOKES_ROTATION was saved as a matrix, corrected to vector. 2015-08-31 Patrick Eriksson * atmlab-2-3-109 * arts/arts_oem_init.m: * arts/arts_oem: * arts/qarts2cfile.m: Further work on mag field retrieval. * arts/arts_oem_init.m: * arts/qarts.m: Added the option MINMAX to wind components. * demos/data/HITRAN2012_o2line_118GHz.par: New name of this file. * demos/qarts_zeeman_demo.m: Updated paths to CIRA86 files, and had to change namw on file holding HITRAN data. Started to add test of mag field retrieval. 2015-08-28 Patrick Eriksson * atmlab-2-3-108 * arts/arts.m: Yet an attempt to improve this function, as the last change did not solve the problem for everybody. Seems to be a problem with older matlab versions. Using a hint from Oliver, the call is now redirected through bash. Works for for me, but as last time: Tell me if you get unexpected behaviour on your system, now after this change. 2015-08-27 Patrick Eriksson * atmlab-2-3-107 * retrieval/qpack2/qp2_l2.m: * arts/qarts_atm_field.m: * arts/arts_sx.m: * arts/arts_x2QR.m: * arts/arts_oem_init.m: * arts/qarts.m: Preperations for allowing retrieval of magnetic field components. 2015-08-26 Patrick Eriksson * atmlab-2-3-106 * arts/arts.m: Revised how this function handles screen output and error messages, after wasting time due to missing error information in a case reported by Fran in Bern. Seems that -echo flag is not working on all systems (an obselete flag?), and removed this flag. Also removed the noecho input argument, as the verbosity now is supposed to controlled by FMODEL_VERBOSITY. Adopted the code following these changes. Tell me if you get unexpected behaviour on your system, now after this change. 2015-08-21 Patrick Eriksson * atmlab-2-3-105 * datasets/land_sea_mask.m: lon grid ended up having two 0 when shifting to [-180,180]. * geographical/adjust_to_lonlimits.m: Corrected header. 2015-08-21 Patrick Eriksson * atmlab-2-3-104 * datasets/land_sea_mask.m: Mistake in my last commit. Output arguments were not set without using the new optional arguments! 2015-08-20 Patrick Eriksson * atmlab-2-3-103 * datasets/land_sea_mask.m: Moved to new folder. Now allows lat and lon cropping (but cropping applied first after reading). * datasets/read_gtopo30.m: * sensors/cloudsat_read.m: Making use of new function below, and now allows lon limits following [0,360]. * geographical/adjust_to_lonlimits.m: New. * geographical/chk_lat_limits.m: * geographical/chk_lon_limits.m: New. function pair. * geographical/shift_longitudes.m: Improved spelling in header text. * demos/asg_clearsky_demo.m (asg_clearsky_demo): Correction for N2. Was set to 0718, now 0.781. 2015-08-19 Patrick Eriksson * atmlab-2-3-102 * demos/asg_*_demo.m: Removed all old ASG demos as they have not been working for a long time, and instead * demos/asg_clearsky_demo.m: added this new demo file. 2015-08-19 Patrick Eriksson * atmlab-2-3-101 * arts/qarts2cfile.m (cfile_CldBox): Adopted to recent changes in ARTS. ScatSpeciesInit and ScatElementsPndAndScatAdd are now used. * forwardmodel/n_air_thayer.m: Added nh as output argument, and a, b anc as inout ones (following ARTS). Adopted header. 2015-08-12 Patrick Eriksson * atmlab-2-3-100 * sensors/ismar_los.m: Small extension of header. And now also handles MARSS. That is, both "ISMAR functions" cover also MARSS. * sensors/read_ismar_l1b.m (read_ismar_l1b): Fixed some spelling mistakes in header and comemnts. 2015-08-12 Patrick Eriksson * atmlab-2-3-99 * files/whichfiles.m: Added reference to whichfolders in header text. * files/whichfolders.m: New. 2015-08-11 Patrick Eriksson * atmlab-2-3-98 * sensors/ismar_los.m: Added this function made by Bengt. 2015-08-11 Patrick Eriksson * atmlab-2-3-97 * math/vec2cell.m: New. * sensors/read_ismar_l1b.m: MJD was totally wrong. Fixed typos in header. 2015-08-07 Patrick Eriksson * atmlab-2-3-96 * sensors/read_ismar_l1b.m: New. Despite the name, also MARSS is handled. 2015-08-07 Patrick Eriksson * atmlab-2-3-95 * site-specific/chalmers-gem/ecmwf2atmdata.m: * site-specific/chalmers-gem/ecmwf2surfdata.m: * site-specific/chalmers-gem/find_ecmwf_files: Added. 2015-08-07 Patrick Eriksson * atmlab-2-3-94 * Did last commit from a sub-folder and then missed some new/changed files. 2015-08-07 Patrick Eriksson * atmlab-2-3-93 * A restart of the ARTS scene generator. This work has up to now been done outside Atmlab, largely by Bengt. * arts/scenegen/modify/asg_hydrostat.m: * arts/scenegen/regrid/surfrtdata_empty.m: * arts/scenegen/regrid/asg_regrid.m: * arts/scenegen/export/asg2q.m: * gformat/atmdata_rndmz_by_covar.m: * gformat/atmdata_dimadd.m: Added. * atmlab/atmlab_init.m: Added ARTS scenegen folders to search path. * arts/scenegen_old: Old version movewd here, for reference. Not active/working. * covmat/covmat1d_from_cfun.m: Fixed typos in header text. 2015-08-05 Patrick Eriksson * atmlab-2-3-92 * physics/hz2invcm.m: * physics/invcm2hz.m: Two new functions for conversion between Hz and cm-1. 2015-07-24 Richard Larsson * atmlab-2-3-91 * arts/qarts2cfile.m: Temporary fix. nlteOff now runs and the generic input bad_partition_functions_ok=1 is forced. If these should be choices, I have no idea where qpack sets those choises, so I cannot add the code. 2015-06-25 Richard Larsson * atmlab-2-3-90 * arts/xml/xmlWriteSpeciesAuxData.m: Added partition type tags. 2015-06-25 Oliver Lemke * atmlab-2-3-89 * arts/xml/xmlReadSpeciesAuxData.m, arts/xml/xmlWriteSpeciesAuxData.m: Added reading/writing support for SpeciesAuxData. * arts/xml/xmlReadArrayOfLineRecord.m, arts/xml/xmlReadIndexVector.m, arts/xml/xmlReadMatrix.m, arts/xml/xmlReadSingleScatteringData.m, arts/xml/xmlReadSparse.m, arts/xml/xmlReadTensor3.m, arts/xml/xmlReadTensor4.m, arts/xml/xmlReadTensor5.m, arts/xml/xmlReadTensor6.m, arts/xml/xmlReadTensor7.m, arts/xml/xmlReadVector.m: Use str2double instead of str2num. 2015-06-18 Patrick Eriksson * atmlab-2-3-88 * sensors/cloudsat_read.m: Setting limits in lat and lon was broken. 2015-06-18 Patrick Eriksson * atmlab-2-3-87 * geophysics/p2z_cira86.m (p2z_cira86): Now using STRICT_ASSERT. Path inside arts-xml-data updated. * geophysics/z2p_cira86.m (z2p_cira86): Path inside arts-xml-data updated. 2015-06-17 Patrick Eriksson * atmlab-2-3-86 * Adopted to recent changes in arts and arts-xml-data. The solution with respect to addition of non-lte in arts is a bit dirty and should be revised later. * demos/qpack2_t_demo.m: * demos/qpack2_demo2.m: * demos/qpack2_wind3d_demo.m: * demos/qarts_demo2.m: * demos/qpack2_demo.m: Paths changed according to moves inside arts-xml-data. * arts/qarts2cfile.m (cfile_Absrpt): Call of FlagOn(nlte_checked) added in two places. 2015-06-16 Patrick Eriksson * atmlab-2-3-85 * WARNING: Critical changes in reading of CloudSat data, if using cloudsat_read. Data were before converted to g, now kg. Reading of Sigma-Zero was broken. Now fixed. But note that you now must select 'Sigma-Zero'. The data comes out as field Sigma_Zero as before. * sensors/cloudsat_read.m: Field renaming removed, as now done in function below. Changed unit conversion. * sensors/read_cloudsat_hdf.m: Added renaming of fields including '-'. 2015-06-15 Patrick Eriksson * atmlab-2-3-84 * h2o/parametrisations/mgd_get_lambda.m: * h2o/parametrisations/mgd_get_n0_lambda.m: * h2o/parametrisations/mgd_get_n0.m: Corrected format string in header. 2015-06-12 Patrick Eriksson * atmlab-2-3-83 * h2o/parametrisations/mgd_de2dg.m: * h2o/parametrisations/mgd_dg2de.m: New. * h2o/parametrisations/particle_dg2de.m: * h2o/parametrisations/particle_de2dg.m: New names of functions listed below. Replaced dmax with dg in function names, to be consistent with Petty&Huang 2011. * h2o/parametrisations/particle_dmax2de.m: * h2o/parametrisations/particle_de2dmax.m: Renamed, see just above. * h2o/parametrisations/mgd_get_*.m: Ice is now default for density, to be consistent with the particle_dx2dy functions. * h2o/parametrisations/mgd_get_n0.m: New. * h2o/parametrisations/mgd_get_parameters.m: Replaced by function below. * h2o/parametrisations/mgd_get_n0_lambda.m: New. Replacing the function above. * h2o/parametrisations/mgd_get_lambda.m: Changed to return PSD for d_g, to return PSD for d_e. Input a and b then replaced by rho. * h2o/parametrisations/mgd_moment.m: There was a mistake in the core calculation. 2015-06-11 Patrick Eriksson * atmlab-2-3-82 * h2o/parametrisations/rain_psd_mp48.m: Interface to ARTS' WSM dNdD_MP98. Interface should be OK, but results are unrealistic. Jana contacted about a possible typo in the arts code. * h2o/parametrisations/mgd_get_lambda.m: * h2o/parametrisations/mgd_moment.m: * h2o/parametrisations/mgd_psd.m: Start on making a set of functions for operations on modified gamma distributions. * handy/scalars_vectors2same_size.m: New function. Cryptic name, but did not find anything better. The function is useful for parsing input arguments, see e.g. mgd_momoment. 2015-06-10 Patrick Eriksson * atmlab-2-3-81 * retrieval/qpack2/qpack2.m: If any error in oem, this error is now displayed. Note that if all inversions fail, then L2 comes out as empty. The creation of Se failed for cases with appended spectra, such as in qpack2_wind_demo. How long has this been broken? 2015-06-08 Patrick Eriksson * atmlab-2-3-80 * scattering/backcoef2dBZ.m: * scattering/dBZ2backcoef.m: * scattering/mie_back.m: Added comments in header that the backscattering coefficient of concern equals 4pi*Z(Omega=180). This to avoid any confusion about this for the future. 2015-05-25 Patrick Eriksson * atmlab-2-3-79 * arts/qarts2cfile.m (cfile_Jacobi): The unit 'logrel' is now mapped to 'rel' when calling arts. This as logrel now is removed from arts. In arts logrel and rel were identical options. * arts/arts_version.m: Just editing of header text. * atmlab/atmlab_version.m (atmlab_version): Removed 'This is' from screen output version. The two possible failures were treated in different ways. Now both result in an error. 2015-04-30 Salomon Eliasson * atmlab-2-3-78 * geographical/getPredefinedRegions.m: Small edit * geographical/standardize_geodata.m: - Made way more flexible. Before the output data was organised according to certain rules. Now that is only the default and the user can pass the data through and decide how the data should be formatted. 1) You can decide if you want the data ordered as (lat,lon,....) or (lon,lat,....) 2) have ascending or descending latitudes or not 3) whether to have the data in the longitude regime 0:360 or -180:180 * geographical/regionize.m: * geographical/resample_geodata.m: * geographical/geo_single_localtime.m: - Adapted to new standardize_geodata * geoplots/gmt/create_gmt_earth.m: - Fixed serious bug if data was not global and in.center was defined not near the center of the longitude range. - Fixed other smaller bugs * geoplots/gmt/gmt_inputs.m: Added option in.nearneighbor.memGb which allows you to set/limit the amount of RAM used to generate the plot. only relevant for very large data amounts * geoplots/gmt/gmt_plot.m: Fixed bug in picking the best default number of levels and bug in defining regions * geoplots/gmt/grdimage.m: Fixed bug in -n option * geoplots/gmt/test_gmt.m: Small updates * handy/combine_pdfs.m: Fixed numerous bugs and made more stable * handy/list_colors.m: Added way more colors derived from a list of colors on some webpage 2015-04-20 Patrick Eriksson * atmlab-2-3-77 * Added functionality to easier make use of iyCalc. Ise arts_iy for this. And a small revision of arts_y.m. * arts/arts_iy.m: New function. * demos/qarts_iy_demo.m: New demo script. * arts/arts_y.m (arts_y): Added y_geo, y_f, y_pol, y_pos and y_los as output arguments. * arts/qarts.m (qarts): Added RTE_POS, RTE_POS2 and RTS_LOS. 2015-04-18 Patrick Eriksson * atmlab-2-3-76 * Qarts updated to changes in ARTS around DOIT. * arts/qarts2cfile.m: Several changes in DOIT part. * demos/qarts_scattering_demo.m (qarts_scattering_demo): C.METHOD_PRMTRS.ALL_F changed to true, could not false to work. Jana emailed about it. * tests/make_check_qarts.m (make_check_qarts): Updated target for DOIT test. 2015-03-25 Salomon Eliasson * atmlab-2-3-76 * geoplots/gmt/test_gmt.m: Fixed som bugs and added a test * geoplots/gmt/makepolar.m: Corrected an error message * geoplots/gmt/gmt_plot.m: Fixed a bug in deciding the number of levels. Clarified some help on legends * geoplots/gmt/create_gmt_earth.m: Added a comment * geoplots/gmt/append_tickannotations.m: Fixed a bug * geographical/regionize.m: Fixed bug that was changing the datatype of the output data * geographical/getPredefinedRegions.m: Now also making a logical mask for each region 2015-03-23 Salomon Eliasson * atmlab-2-3-75 * geoplots/gmt*: - Substantial commit where the GMT wrapper is now adapted to GMT5. I.e. if anyone is using GMT4 (which they shouldn't) than the codes are broken after this commit - Fixed several strange coding practices in my codes and made much more self-consistent and consistent with the GMT codes. * geoplots/gmt/append_tickannotations.m * geoplots/gmt/create_gmt_earth.m * geoplots/gmt/extra_legend.m * geoplots/gmt/gmt_inputs.m * geoplots/gmt/gmt_plot.m * geoplots/gmt/gmt_unicode_converter.m * geoplots/gmt/grdcontour.m * geoplots/gmt/grdimage.m * geoplots/gmt/makecpt.m * geoplots/gmt/makepolar.m * geoplots/gmt/nearneighbor.m * geoplots/gmt/psbox.m * geoplots/gmt/pscoast.m * geoplots/gmt/pslocations.m * geoplots/gmt/pspoly.m * geoplots/gmt/psscale.m * geoplots/gmt/pstext.m * geoplots/gmt/test_gmt.m 2015-03-19 Patrick Eriksson * atmlab-2-3-74 * arts/xml/xmlReadRetrievalQuantity.m: Added reading of subsubtag, as this field has been added on the arts side. * arts/xml/xmlWriteRetrievalQuantity.m: Same for writing files. 2015-03-17 Salomon Eliasson * atmlab-2-3-73 This is probably the final commit for these gmt codes that support GMT4. It is time for me and the gmtlab codes to move on to GMT5 which the new linux distributions have installed, and is much nicer anyhow. I don't think many are using these codes so I won't bother to make it backward compatible. * geoplots/gmt/makepolar.m: fixed for bug that was rarely triggered * geoplots/gmt/grdimage.m: Changed the default gridding algorithm. The previous default bicubic interpolation introduces artifacts in some cases. The Nearneighbor to nearest point also causes problems for high density data. * geoplots/gmt/gmtlab.m: Changed the default verbosity * geoplots/gmt/gmt_plot.m: - Added options "treatAsGridded" and "mask" - in.TreatAsGrridded: This is a patch. It allows you to treat gridded data as ungridded. This can be useful if you think the internal interpolation for the plot projection is causing weird side effects (such as near NaN values) - in.mask: A mask for the data. e.g. @(x)(x>0); This masks all values less than 0 with NaN - the default in.nlevels is now derived based on the data. It used to be hard coded at 20. - I put in some more assertions * geoplots/gmt/gmt_nc_save_ungridded.m: Now making sure that all the inputs have the right dimensions * geoplots/gmt/gmt_inputs.m: - Changed input name 'thick' to 'fontsize' - Changed input type for in.color from '%s' to [%f %f %f] * geoplots/gmt/extra_legend.m: Updatated header * geoplots/gmt/create_gmt_earth.m: Accept -g for global region * geoplots/gmt/test_gmt.m: * geoplots/gmt/pstext.m: * geoplots/gmt/pspoly.m: * geoplots/gmt/pslocations.m: * geoplots/gmt/psbox.m: * geoplots/gmt/polygoninize_regions.m: miniscule changes 2015-03-17 Salomon Eliasson * atmlab-2-3-72 * geographical/standardize_geodata.m: Made more verbose. Made codeing and header more clear * geographical/resample_geodata.m: Made a little more verbose * geographical/regionize.m: Made function a lot more time efficient * geographical/getPredefinedRegions.m: Revamped and added some statistics to the regions. I wonder if anyone other than me is using this function. Maybe remove from atmlab? 2015-03-16 Salomon Eliasson * atmlab-2-3-71 * handy/combine_pdfs.m: Fixed a bug on hspace. I have a feeling that there are more bugs will surface when "unusul" requests are made * math/binning_fast.m: fixed bug for values that that exactly on the edges * files/getfiles_matching_regexp.m: Use amtlabs verbosity instead * datasets/define_datasets.m: small edit in units attributes 2015-03-10 Gerrit Holl : * atmlab-2-3-70 * sensors/atovs/avhrr_define_gac_l1b.m: - Give a friendly error message when atmlab('ATMLAB_DATA_PATH') is not set. 2015-03-06 Gerrit Holl : * atmlab-2-3-69 * datasets/SatDataset.m(level3): - Improve processing so it can handle vector-valued data, for example, profiles or multiple channels. 2015-03-06 Gerrit Holl : * atmlab-2-3-68 * collocations/CollocatedDataset.m(collocate_granule): - Bugfix: this routine was silently assuming that the time axis would always count since the start of the day. This is true for many SatDatasets but not for many HomemadeDatasets, in particular not for SpareIce. Now check sameday/nextday in a more rigorous manner. 2015-03-04 Gerrit Holl : * atmlab-2-3-67 * datasets/HomemadeDataset.m(read_homemade_granule): Revert change made in atmlab-2-3-53, which fixed a problem for collocating SpareICE, but destroyed it for any other HomemadeDataset. * retrieval/spareice/NNTrainetProduct.m(read_homemade_granule): Implement aforementioned change in this derived method instead, exactly where it belongs. 2015-03-03 Salomon Eliasson * atmlab-2-3-66 * datasets/define_datasets.m: Added MODIS collection 6 dataset * collocations/CollocatedDataset.m: Added satname = ''; if it is not found in info. 2015-02-24 Patrick Eriksson * atmlab-2-3-65 * files/homedir.m: * files/folder_of_fun.m: Just moved to a more suiting folder. * demos/qpack2_wind3d_demo.m: Improved language in comments. 2015-02-23 Patrick Eriksson * atmlab-2-3-64 * retrieval/qpack2/qpack2.m (qpack2): Now also the case of no succesful inversion handled. L2 then returned as empty. Changed my mind, and calculation crashes now flagged as -99. NaN should rather indicate that value so far not known, i.e. no inversion even started. 2015-02-23 Patrick Eriksson * atmlab-2-3-63 * retrieval/qpack2/qpack2.m (qpack2): Call of oem.m now inside try-catch, to avoid a complete crash if something goes wrong. L2.converged is set to NaN, and all other fields empty, for cases where an error occur in the oem/arts call. * retrieval/oem.m (oem): converged now set to -1 for linear inversions. This to leave NaN free to flag more fundamental problems. * handy/pickvalue.m: New function. * retrieval/qpack2/qpack2.m (qp2_y2Q): nf now set based on Y.Y, as Y.F not always set. * arts/qarts2cfile.m (cfile_Sensor): Changed type for sensor_response_dlos_grid to Matrix. 2015-02-09 Gerrit Holl * atmlab-2-3-62 * retrieval/spareice/define_local_datasets.m: - Write a more correct granule_duration. Unlike other HomemadeDatasets, this one is not 86400 seconds but more similar to AMSU. * datasets/CollocatedDataset(collocate_and_store_date): - Provide a helpful error message if some essential information is missing, such as basedir, subdir, filename. Should probably do the same for AssociatedDatasets. 2015-02-04 Ole Martin Christensen * atmlab-2-3-61 * arts/qartsSensor.m: H.ANTENNA_LOS -> H.ANTENNA_DLOS 2015-02-04 Patrick Eriksson * atmlab-2-3-60 * retrieval/oem.m: Removed a small "short-cut". For Marquardt-Levenberg, the convergence criterion a matrix (SJSJ) was influenced by the gamma factor, which is not formally correct. Not actually time consuming to use correct matrix, so now changed. This fixed after input from Ole Martin. * demos/arts_oem_demo.m: MBLOCK_ZA_GRID was still used. 2015-02-04 Ole Martin Christensen * atmlab-2-3-59 * arts/qarts.m: changed documentation of ABS.SPECIES.DX * retrieval/qpack2/qp2_rel2vmr.m: Can now take several species (rel and vmr) 2015-02-04 Bengt Rydberg * atmlab-2-3-58 * gformat/surfdata_empty.m: new function to handle surface data types, similar to the existing atmdata that handles atmospheric data. * gformat/surfdata_scalar.m: new function to handle surface data types. * gformat/issurfdata.m: new function to handle surface data types. * gformat/surfdata_dimadd.m: new function to handle surface data types. 2015-02-01 Patrick Eriksson * atmlab-2-3-57 * arts/qarts2cfile.m: Adopted to recent changes around DOIT in ARTS. * demos/qarts_mcdoit_demo.m: Used for testing, no actual change. 2015-01-30 Bengt Rydberg * atmlab-2-3-56 * datasets/read_etopo1: modified. added extra input/output options and bug-fix. 2015-01-29 Bengt Rydberg * atmlab-2-3-55 * datasets/read_etopo1: added a function that reads etopo1 topography data. 2015-01-28 Patrick Eriksson * atmlab-2-3-54 * physics/fresnel_mueller.m: Corrected typos in header. 2015-01-22 Gerrit Holl : * atmlab-2-3-53 * datasets/HomemadeDataset.m(read_homemade_granule): - Bugfix: do not set .epoch to earliest measurement, time axis counts from Unix epoch already so epoch should be 0 instead. Thanks 圣殷 (Shengyin Li) for leading me to fixing this. 2015-01-22 Gerrit Holl * atmlab-2-3-52 * retrieval/spareice/get_surface_elevation.m: Copied over file from my personal codes that was missing for the correct working of reading SPARE-ICE. * atmlab/atmlab_init.m: Finally decided to also add spareice to the path, even though it's not up to atmlab standards. * datasets/GriddedDataset.m: Added missing newline in error message. 2015-01-21 Patrick Eriksson * atmlab-2-3-51 * arts/various/arts_map_daa.m: Added local versions of zaaa2cart and cart2zaaa as these functions have been removed from atmlab. Code taken from arts. 2015-01-19 Patrick Eriksson * atmlab-2-3-50 * In short, changes to get synced with changes in ARTS. Most changes do not affect the standard usage of qarts/qpack2. With one exception, MBLOCK_ZA_GRID is now called MBLOCK_DLOS_GRID. For standard cases you just need to rename this Q field. For further details, see ChabgeLOg of ARTS. * demos: General revision of the demo scripts, to adopt to changes. * arts/qarts2cfile.m: Adopted to changes below and others recent ARTS changes, such as ScatteringDoit is now called DoitCalc. * arts/arts_oem_init.m: Some changes following new Q field names listed below. * arts/qarts.m: Changes in defined fields. Renamed ones: ANTENNA_DLOS -> ANTENNA_DLOS MBLOCK_ZA_GRID -> MBLOCK_DLOS_GRID SENSORS_RESPONSE_ZA -> SENSOR_RESPONSE_DLOS SENSORS_RESPONSE_ZA_GRID -> SENSOR_RESPONSE_DLOS_GRID Removed: SENSORS_RESPONSE_AA SENSORS_RESPONSE_AA_GRID 2015-01-19 Ole Martin Christensen * atmlab-2-3-49 * retrieval/qpack2/qp2_l2.m: Added the possibility to get ML-parameter ('ga'). * covmat/covmat3d_from_cfun_not_seperable.m: New 2d-3d covariance matrix script for non-seperable dimensions. * covmat/covmat3d_from_cfun.m: This function is defunct, it only handles seperable covariance matrices, use new covmat3d_from_cfun_not_seperable for non separable case. * covmat/covmat3d.m: This function now uses the new function covmat3d_from_cfun_not_separable. 2015-01-16 Bengt Rydberg * atmlab-2-3-48 * datasets/read_gtopo30: modified. Bugfix. Earlier version produced error in data when input lat_limits crossed -60 deg. 2015-01-16 Bengt Rydberg * atmlab-2-3-47 * datasets/read_gtopo30: modified. modified input and output. Now read gtopo30 data into gformat structure for desired lat/lon limits. 2015-01-15 Bengt Rydberg * atmlab-2-3-46 * datasets/read_gtopo30: new. reads digital elevation model data files. These files belongs to the atmlab-data svn package. 2015-01-15 Bengt Rydberg * atmlab-2-3-46 * h2o/parametrisations/cloudparticle_mgd.m: new. returns concentration of cloud particles following a modified gamma distribution. * h2o/parametrisations/mgd_get_parameters.m: new. returns some modified gamma distribution parameters given some other. 2015-01-15 Patrick Eriksson * atmlab-2-45 * gformat/gf_dimcrop.m: New. 2015-01-12 Salomon Eliasson * atmlab-2-3-44 * math/binned_statistics.m: - Made more verbose and slightly quicker * math/binning_fast.m: - Fixed fairly newly introduced bug - major speedup for dense grids (e.g. 3x faster for .1 deg global grids) * geographical/ungridded2gridded.m: updated header to be clearer 2015-01-09 Patrick Eriksson * atmlab-2-3-43 * retrieval/qpack2/qp2_l2.m: jq and ji are now automatically included if that information is relevant. * documentation/qpack2/qpack2.tex: * documentation/qpack2/qpack2.pdf: Description of jq and ji added. 2015-01-08 Patrick Eriksson * atmlab-2-3-42 * An attempt to improve the qpack2 documentation, as well as adding the option to include the complete A matrix in L2. The later on popular demand. Note that L2 does not include any information the order of the elements of x. So use the full A ( as well as (J, S, So ...) with care. * retrieval/qpack2/qp2_l2.m: Added some options missing in the header text. Also added the option 'Afull'. * documentation/qpack2/qpack2.tex: Some improvements in the documentation of how the fields of L2 are controlled. * documentation/qpack2/qpack2.pdf: New version. 2014-12-16 Bengt Rydberg * atmlab-2-3-41 * scattering/backcoef2dBZ.m: added optional inputs. 2014-12-12 Patrick Eriksson * atmlab-2-3-40 * h2o/parametrisations/snow_psd_field07.m: Added argument to suppress warnings. 2014-12-12 Patrick Eriksson * atmlab-2-3-39 * arts/qarts2cfile.m: Changed CloudboxGetIncomg to DoitGetIncoming, folwoing change in arts. 2014-12-12 Bengt Rydberg * atmlab-2-3-38 * h2o/parametrisations/ice_psd_Mcfar_97.m: modified so output not becomes nan for input diameter of 0. also changed back so input iwc unit is in kg/m3, which was by mistake changed to g/m3 in last commit. 2014-12-12 Bengt Rydberg * atmlab-2-3-37 * h2o/parametrisations/ice_psd_Mcfar_97.m: modified so output not becomes Nan for high and low input values of iwc. 2014-12-11 Patrick Eriksson * atmlab-2-3-36 * scattering/tmatrix.m: Small correction of header text. 2014-12-11 Patrick Eriksson * atmlab-2-3-35 * arts/qarts2cfile.m (cfile_SctMth): Moved DoitInit to be called before CloudboxGetIncoming, following change in ARTS. 2014-12-08 Salomon Eliasson * atmlab-2-3-34 * handy/combine_pdfs.m: - Added option "samesize". Default is false, but if true, it will make the figures have the same size dimensions in the output file. This can be useful to make sure your plots are nicely aligned on the page, especially if you have plots that are nearly the same size - More flexible options for the space between your plots (options.hsize) 2014-12-04 Patrick Eriksson * atmlab-2-3-33 * demos/qarts_mcdoit_demo.m (qarts_mcdoit_demo): Just added some inactive code to test using Hong DDA data. 2014-12-02 Salomon Eliasson * atmlab-2-3-32 * collocations/CollocatedDataset.m: Fixed bug in size of n_add * datasets/SatDataset.m: - if ~reload, also check to see if we can read cached data stored in persitent cached data (self.pcd.has_entry))(but first check cache directory) * datasets/define_datasets.m: Added MODIS collection 6 * handy/PersistentCachedData.m: shorted std out a little * handy/combine_pdfs.m: - Added option to specify the number of rows of plots per page (i.e. can now create pdfs containing several pages) * handy/sanitise.m: Added another problematic character * datasets/modis_postprocessor.m: * files/getfiles_matching_regexp.m: * math/bin.m: edit to comments * site-specific/hamburg/datasets_init.m: Merged my version of hamburgs dataset_init 2014-11-18 Gerrit Holl : * atmlab-2-3-31 * retrieval/spareice/NNTrainedProduct.m: - BUGFIX: when processing using a pre-existing neural network, this network is read from a file. This means that self.members and self.cols need to be reset subsequently, otherwise the inputs won't get written to processed files. * retrieval/spareice/{NNTrainedProduct, compare_collocation_iwp_products, define_local_datasets}.m: - Changed from hard-coded-for-Kiruna to hardcoded-for-Hamburg. As warned previously, the directory spareice/ is not up to the standard of the rest of Atmlab. Sorry about that. 2014-11-18 Gerrit Holl : * atmlab-2-3-30 * site-specific/hamburg/datasets_init.m: Added - Default configuration for people wanting to run codes from Hamburg, in particular on thunder7 but I hope it's the same elsewhere. And I don't know if thunder7 is physically in Hamburg but this name is most convenient for me. 2014-11-18 Gerrit Holl : * atmlab-2-3-29 * atmlab/atmlab.m: - When setting a value to a path, issue a warning if this path does not exist. 2014-11-18 Patrick Eriksson * atmlab-2-3-28 * physics/fresnel_mueller.m: New function. * physics/fresnel.m: * physics/snell.m: Now using STRICT_ASSERT. 2014-11-13 Patrick Eriksson * atmlab-2-3-27 * h2o/parametrisations/ice_particleshape_Hogan2012.m: Header text edited. 2014-11-12 Patrick Eriksson * atmlab-2-3-26 * h2o/parametrisations/particle_de2dmax.m: * h2o/parametrisations/particle_dmax2de.m: Added mass and PSD rescaling factor as output to both functions. 2014-11-09 Patrick Eriksson * atmlab-2-3-25 * h2o/parametrisations/snow_psd_field07.m: The allowed range set for a was too narrow. 2014-11-08 Patrick Eriksson * atmlab-2-3-24 * h2o/parametrisations/particle_de2dmax.m: * h2o/parametrisations/particle_dmax2de.m: New. * h2o/parametrisations/snow_psd_field07.m: New. * h2o/parametrisations/ice_psd_Mcfar_97.m: Line added recently for g/m3 to kg/m3 was not silent. * h2o/parametrisations/ice_psd_mh97.m: * h2o/parametrisations/ice_psd_h11.m: Updated to match changes in arts. 2014-10-30 Patrick Eriksson * atmlab-2-3-23 * h2o/parametrisations/ice_particleshape_Hogan2012.m: A reimplementation of the function. Set output arguments changed. There are some differences to old version for the 66-97 um range, otherwise same results. However, the aspect ratio to apply above 97 um is now an optional input. In order to make the function more general. 2014-10-26 Patrick Eriksson * atmlab-2-3-22 * scattering/tmatrix.m: axial -> aspect, following change in arts. 2014-10-23 Ole Martin Christensen * atmlab-2-3-21 * added the files mentioned in the previous log. 2014-10-23 Ole Martin Christensen * atmlab-2-3-20 * h2o/thermodynamics/kelvin_term.m: New function that calculates the correction to the saturation vapour pressure to take into account the effect of droplet/crystal curvature. * h2o/thermodynamics/critical_radius_ice.m: New function that calculates the critical radius for droplet formation. 2014-10-22 Patrick Eriksson * atmlab-2-3-20 * demos/qarts_mcdoit_demo.m: Adopted call of tmatrix. * scattering/tmatrix.m: Adopted to changes in arts. Meta data now also fully handled. *outfile* shall now NOT include extension. 2014-10-22 Patrick Eriksson * atmlab-2-3-19 * arts/xml/xmlWriteSingleScatteringData.m: * arts/xml/xmlReadSingleScatteringData.m: Check of valid ptype now made. 2014-10-22 Oliver Lemke * atmlab-2-3-18 * arts/xml/xmlReadScatteringMetaData.m, arts/xml/xmlWriteScatteringMetaData.m: Add reading/writing support for ScatteringMetaData version 3. 2014-10-19 Patrick Eriksson * atmlab-2-3-17 * scattering/tmatrix.m: Fixed typos on header, and fixed type check for pdiameter and aspect_ratio. 2014-10-14 Patrick Eriksson * atmlab-2-3-16 * scattering/asymmetry_parameter.m: Replaces Asymmetry_parameter.m. Some changes and polishing of the code. * scattering/tmatrix.m (tmatrix): Adopted to renaming in arts, scat_data -> scat_data_single. 2014-10-07 Patrick Eriksson * atmlab-2-3-15 * physics/planck.m: Radiance unit was wrong. * physics/rayleighjeans.m: Polishing of how unit is written. * physics/i2planckTb.m: * physics/i2rayjeanTb.m: * physics/di2planckTb.m: Moved from /forwardmodel, to have all Planck and RJ functions in the same folder. Header texts revised. 2014-10-06 Patrick Eriksson * atmlab-2-3-14 * physics/rayleighjeans.m: New. 2014-10-03 Patrick Eriksson * atmlab-2-3-13 * demos/qarts_zeeman_demo.m: Updated to changes in ARTS. Now at least runs, but not sure if all around Zeeman is actually OK. Added an option to perform a "stokes rotation". * demos/data/line118ghzHITRAN2012.par: Replaces the file below. The content in the file is taken from HITRAN2012. * demos/data/line118ghz.hit: Removed. * arts/qarts2cfile.m: Added handling of STOKES_ROTATION. * arts/qartsSensor.m (qartsSensor): Added STOKES_ROTATION. 2014-09-29 Patrick Eriksson * atmlab-2-3-12 * demos/qarts_mcdoit_demo.m: New option below used. * scattering/tmatrix.m: Added outfile option, to make it possible to leave calculated data be left as file. * scattering/mie_arts_scat_data.m: ptype now set to a string, by arts_ptype2string. And changed description string. * arts/arts_ptype2string.m: Removed p40, as this option now removed from arts. * arts/xml/xmlReadSingleScatteringData.m: Second input to xmlGetAttrValue was wrong. 2014-09-29 Oliver Lemke * atmlab-2-3-11 * arts/arts_ptype2string.m: Add horizontally aligned. 2014-09-29 Oliver Lemke * atmlab-2-3-10 * arts/xml/xmlWriteSingleScatteringData.m: Always write SingleScatteringData version 2. * arts/xml/xmlReadSingleScatteringData.m: Add support for reading SingleScatteringData version 2. * arts/arts_ptype2string.m: Add convenience function. 2014-09-29 Patrick Eriksson * atmlab-2-3-9 * scattering/tmatrix.m: Added de as output. And some small fixes. 2014-09-27 Patrick Eriksson * atmlab-2-3-8 * scattering/tmatrix.m: Removed old code. Updated header. * demos/qarts_mcdoit_demo.m (qarts_mcdoit_demo): Added an internal switch to use T-matrix instead for Mie (for testing purposes). * scattering/mie_arts_scat_data.m: ssp.pha_mat_data, ssp.ext_mat_data and ssp.abs_vec_data are now sized outside loop, to save a bit of time. 2014-09-25 Patrick Eriksson * atmlab-2-3-7 * demos/qarts_mcdoit_demo.m: Added a comment. * arts/qarts2cfile.m (cfile_SctMth): Things around ZA_GRID_OPT_FILE did not work as explained in qartsCloudbox.m. In practice all accepted input triggered doit_scat_fieldCalcLimb. Fixed and added some new options for flagging no ZA_GRID_OPT_FILE. * arts/qartsCloudbox.m: Explained that now ZA_GRID_OPT_FILE can be flagged in three different ways. Improved description of SCAT_ZA_INTERP. 2014-09-24 Patrick Eriksson * atmlab-2-3-6 * Comment: If you want to make a direct interface to some ARTS WSM, these new PSD functions show how this can be done. * h2o/parametrisations/ice_psd_h11.m (ice_psd_h11): New. * h2o/parametrisations/water_psd_h98.m: New. * h2o/parametrisations/water_psd.m: * h2o/parametrisations/ice_psd_gamma.m: * h2o/parametrisations/ice_psd_ellipsoids.m: * h2o/parametrisations/ice_psd_Mitchell_99.m: * h2o/parametrisations/ice_psd_Ivanova_01.m: * h2o/parametrisations/ice_psd_Donovan_03.m: Changed unit for IWC and LWC to kg/m3 from g/m3. You need to adopt your input. 2014-09-23 Patrick Eriksson * atmlab-2-3-5 * CHANGES-2.3: Added note about change from g/m3 to kg/m3. * h2o/parametrisations/ice_psd_Mcfar_97.m: Changed unit for IWC from g/m3 to kg/m3. This as kg is the SI unit. This will be done for all PSDs inside atmlab. * h2o/parametrisations/ice_psd_mh97.m: New. An interface to ARTS WSM. * scattering/tmatrix.m (tmatrix): Now using function below. * arts/arts_cfiletext.m: New. * physics/constants.m: Added DENSITY_OF_ICE and DENSITY_OF_WATER. 2014-09-23 Patrick Eriksson * atmlab-2-3-4 * sensors/amsua_apply_polarisation.m: The function assumed radiance input, which is not likely. Now changed to take Tb as input. Added comment in header. And it was somewhat incorrect for either H and V (don't remember which), as the weight for Stokes U element got wrong sign. 2014-09-22 Ole Martin Christensen * atmlab-2-3-3 * arts/qarts2cfile.m: Added the possibility to numerically calculate jacobians from abs species. 2014-09-21 Patrick Eriksson * atmlab-2-3-2 * demos/qarts_mcdoit_demo.m: Further tweaking of the demo. Main change is that the cloud now has a 400 m transition length on both lower and upper side. 2014-09-18 Patrick Eriksson * atmlab-2-3-1 * CHANGES-2.3: Added. Same role as same file in arts. * demos/qarts_mcdoit_demo.m (qarts_mcdoit_demo): Added p_grid as optional argument. * arts/qarts2cfile.m (cfile_Absrpt): Added handling of Q.ABS_LINES_FLIMS. * arts/qarts.m (qarts): Added field Q.ABS_LINES_FLIMS. 2014-09-15 Oliver Lemke * atmlab-2-3-0 * Start new development version by increasing minor version number. 2014-09-14 Patrick Eriksson * atmlab-2-2-12 * demos/qarts_mcdoit_demo.m: Added frequency as input argument, as well as giving full control of DOIT and MC METHOD_PRMTRS settings. * handy/optargs_struct.m: The case of userin=[] now handled. Output is then simply the defaults. * arts/qarts2cfile.m (cfile_SctMth): Added handling of the new fields mentioned below. * arts/qartsCloudbox.m (qartsCloudbox): Added NORMALIZE and NORM_ERROR_THRESHOLD. 2014-09-13 Patrick Eriksson * atmlab-2-2-11 * demos/qarts_mcdoit_demo.m: Updated, improved and header written. * arts/text2cfile.m: A help function for simpler usage of the new feature below. * demos/qarts_demo.m: Q.Z_SURFACE now set using new feature below. * arts/qarts2cfile.m: Added features allowing Q fields matching WSV to be include cfile text. * arts/qarts.m: Updated with respect to extension above. * retrieval/qpack2/qp2_y.m: Some type fixes. * documentation/qarts/qarts.txt: A very basic qarts user guide. So far just ascii. * retrievals/ismar: Started this folder. * retrievals/ismar/general: General stuff goes here, such as calculating IWC on database cases. * retrievals/ismar/hamburg: Scripts used in Hamburg to create retrievalal databases. * retrievals/ismar/chalmers: Scripts used at Chalmers to create retrievalal databases. * documentation/ismar: Started this folder, to hold documentation around ISMAR database format and associated retrievals. * documentation/qpack2: Moved everyting around qpack2.tex to this new folder. * documentation/collocations: Moved everyting around collocations.tex to this new folder. 2014-09-04 Patrick Eriksson * atmlab-2-2-10 * retrieval/mci_max.m: New. A simple version of *mci* that finds the case having highest a posterior probability. * scattering/tmatrix.m: Small typo in header text. 2014-09-01 Ole Martin Christensen * retrieval/oem.m: Added the possibility of outputting gamma to X. 2014-08-29 Patrick Eriksson * atmlab-2-2-8 * handy/folder_of_fun.m: New. 2014-08-12 Patrick Eriksson * atmlab-2-2-7 * A revision of the gformat related function. The only real change is described in the two first bullets below. * gformat/griddedfield2gf.m: Now only handling single G and GF. All other code removed (not sure if it worked). This as "vectorisation" has been removed from all other parts of gformat. Copied the sub-function from gf_artsxml, as doing the same thing but handles more forms of data. * gformat/gf_artsxml.m: Now using griddedfield2gf. This to avoid having duplicated code. That is, the sub-function is removed (rather moved to griddedfield2gf). * gformat/griddedfield2gf.m: * gformat/gf2griddedfield.m: * gformat/gf_set_grid.m: * gformat/gf_set_fields.m: * gformat/gf_set_data.m: * gformat/gf_save.m: * gformat/gf_load.m: * gformat/gf_get_grid.m: * gformat/gf_empty.m: * gformat/atmdata_scalar.m: * gformat/atmdata_empty.m (atmdata_empty): Removed %&% and replaced with STRICT_ASSERT. * gformat/gf_get_grid.m: Corrected format line in header. * gformat/isatmdata.m: Fixed some types in header text. Also some reformatting. 2014-08-12 Patrick Eriksson * atmlab-2-2-6 * arts/scenegen/asg_use_v2.m: Removed. Folder for V2 still empty! * arts/scenegen2: Folder removed. 2014-07-30 Mathias Milz * atmlav-2-2-5 * sensors/read_saphir_l1.m fixed the issue with changing Variable names within V1.06 Now the different Incidence_Angle Variable decriptions are both possible the small bug call hdf5info was inverted as some other calls need it but inreoduced another call to enable the reading of nionzipped files which need the call. info=h5info(filename); 2014-07-14 Jana Mendrok * atmlab-2-2-4 * h2o/parametrisations/n_ice_zhang01.m: Complex refractive index according to Zhang et al, 2001. * h2o/parametrisations/eps_ice_Jiang_04.m, eps_ice_liebe93.m, n_ice_warren84.m: Fixed documentation. 2014-07-14 Maryam Jamali * atmlab-2-2-3 * h2o/parametrisations/eps_ice_Jiang_04.m: Provides the complex dielectric constant following the Jiang 2004 paper. 2014-06-23 Salomon Eliasson * atmlab-2-2-2 * math/binning_fast.m: Generalizing even more: Now you can pass the argument in.counts = true, if you only want the number of hits (numel) per grid, and don't want to actually grid any data. This is much faster than binning the data and then getting the numel from binned_statitics.m as before 2014-06-19 Salomon Eliasson * atmlab-2-2-1 * datasets/define_datasets.m: Added missing value definintion to some datasets * geoplots/gmt/gmt_plot.m: Prepend "gmtfile_" to default filename when using in.header to build filename * handy/PersistentCachedData.m: Puny change in output text * handy/combine_pdfs.m: No longer allow an empty title to be used as a filename * math/binned_statistics.m: Fixed documentation * math/binning_fast.m: - Updated function to be general for most puposes and not just for geographical data as the previous version. - The function is still completey backward compatible but now one can grid 'Z' with the coorinates 'X' and 'Y' into a grid with the centers defined by 'newX' and 'newY'. - If you data 'X','Y','Z' is used instead of 'data','lat','lon', no geographical sanitity checks are performed 2014-06-06 Oliver Lemke * atmlab-2-2-0 * 2.2 Release 2014-06-04 Oliver Lemke * atmlab-2-1-504 * arts/netcdf/arts_nc_read_arrayofmatrix.m, arts/netcdf/arts_nc_read_arrayofvector.m: Replace obsolete inqVarId with 'new' inqVarID to fix reading of ARTS arrays. 2014-06-03 Gerrit Holl * atmlab-2-1-503 * retrieval/spareice/Contents.m: - Expanded explanations a bit * retrieval/spareice/cfsr_month2day.py: - Python script to convert CFSR data as downloaded from the archive, to a format to be understood by the atmlab reading routine * retrieval/spareice/compare_collocated_iwp_products.m: - Do not call this function. It is needed because of some oddities with the storage of the neural nets (see function header for details). * datasets/GriddedDataset.m: - Bugfix when ttime_i gets negative. Not 100% sure why that happens but chosen the least bad solution. If anyone notices that the first day of the month looks significantly worse than other days, please look in this file around ttime_i<=0 and start debugging there. 2014-05-27 Gerrit Holl * atmlab-2-1-502 * datasets/GriddedDataset.m: - Give a friendly error message on missing data (such as the case for CFSR) * retrieval/spareice/*: - Copied codes from my personal svn repository. Note that these codes are raw and uncut and poorly documented and not up to atmlab standards. Use with extreme care. See retrieval/spareice/Contents.m. I purposefully did *not* include this directory in the atmlab path through atmlab_init. Do this by hand if you want to use the functions and classes here. They presently might or might not work. I will likely adapt this in the coming days. 2014-05-27 Patrick Eriksson * atmlab-2-1-501 * h2o/parametrisations/n_ice_warren84.m (n_ice_warren84): New. Requires ARTS! 2014-05-22 Patrick Eriksson * atmlab-2-1-500 * retrieval/qpack2/qpack2.pdf: Updated. * retrieval/qpack2/qpack2.tex: A smaller revision and update. * arts/qarts.m: Improved formatting for WSMS_AT_START. 2014-05-22 Patrick Eriksson * atmlab-2-1-499 * arts/arts_oem_init.m: Added handling of empty MINMAX. * arts/qarts.m: Added description of the new feature below. Added that MINMAX can be empty. * arts/qarts2cfile.m (add_wsms): Added an if/else/end feature to fields of WSMS type. 2014-05-21 Patrick Eriksson * atmlab-2-1-498 * retrieval/qpack2/qpack2.m (qp2_y2Q): Code did not work for vector Y(m).TNOISE. 2014-05-21 Patrick Eriksson * atmlab-2-1-497 * arts/arts_autoset_includes.m: New. * arts/arts_absmodels.cfile: Removed this one. The options to include files are now improved and this file should not be needed. * arts/arts_version.m: Did not work due to changes in arts. And now used noecho feature below. * arts/arts.m: Added a noecho optional input argument. 2014-05-20 Patrick Eriksson * atmlab-2-1-496 * arts/qarts2cfile.m (file_or_data): Extended type checks of input. Data of type ArrayOfXxx now also treated. 2014-04-28 Patrick Eriksson * atmlab-2-1-495 * arts_usage/qarts_add_venus_planettbox.m: * arts_usage/qarts_add_mars_planettbox.m: Had to change how pmin and pmax are set, due to changes in the planet toolbox. 2014-04-08 Patrick Eriksson * atmlab-2-1-494 * gformat/atmdata_scalar.m: New. * gformat/atmdata_empty.m: Fixed a spelling error in header. 2014-04-04 Patrick Eriksson * atmlab-2-1-493 * retrieval/oem.m: Improvements of the description of stop_dx. 2014-04-04 Oliver Lemke * atmlab-2-1-492 * arts/xml/xmlWriteScatteringMetaData.m: Added. * arts/xml/xmlReadScatteringMetaData.m: Add unknown version error. 2014-04-03 Patrick Eriksson * atmlab-2-1-491 * scattering/tmatrix.m: Meta data now a second output argument. 2014-04-03 Oliver Lemke * atmlab-2-1-490 * arts/xml/xmlReadScatteringMetaData.m: Added. 2014-03-26 Patrick Eriksson * atmlab-2-1-489 * geophysics/z2p_cira86.m: Wrong function name in header. 2014-02-25 Patrick Eriksson * atmlab-2-1-488 * A change that I have missed to commit ... * scattering/tmatrix.m: There was a small bug for ischar(ptype)=true. 2014-03-21 Carlos Jimenez * atmlab-2-1-487 * arts/xml/xmlWriteNumeric.m: it seems to me that there was a bug in fprintf (fid, [xmlGetPrecisionFormatString (precision) '\n'], data). Replaced with fprintf (fid, [xmlGetPrecisionFormatString(precision) '\n'], data); 2014-03-20 Patrick Eriksson * atmlab-2-1-486 * sensors/backend_amsutype.m: New. 2014-03-19 Mathias Milz * atmlab-2-1-485 * arts/xml/xmlWriteSparseData.m: removed blank between function name and bracket in call to xmlGetPrecisionFormatString. This caused an error. 2014-03-18 Patrick Eriksson * atmlab-2-1-484 * arts_usage/arts_radioocc_1D.m: Spell fixes of header. Planet radius and refractive index now can be set by input arguments. * arts_usage/arts_radioocc_1D_slta.m: As above. 2014-03-15 Patrick Eriksson * atmlab-2-1-483 * forwardmodel/n_air_thayer.m: New. 2014-03-07 Oliver Lemke * atmlab-2-1-482 * sensors/read_saphir_l1.m: Mathias: Handle changes in field names in meghatropique version 1.06. Oliver: Make optional arguments actually 'optional'. Determine mode (l1a/l1a2) from filename. 2014-02-17 Maryam Jamali * atmlab-2-1-481 * scattering/Asymmetry_parameter.m: extracts the asymmetry parameter from an array of ARTS single scattering data. 2014-02-12 Carlos Jimenez * atmlab-2-1-480 * physics/constants: updating 'GAS_CONST_DRY_AIR' from 287.04 to 287.058 (as given in the mentioned reference). * physics/airdensity.m: trivial mscript to calculate the dry air density. * geophysics/mixra2massconc.m: Updating the description (wrong units) and using the built-in mscript airdensity. 2014-02-12 Gerrit Holl * atmlab-2-1-479 * graphs/scatter_density_plot.m: - Update documentation for medprops to describe a feature that was implemented a while ago (two medprops structs in an array) * math/binned_statistics.m: - Allow to pass more than one filter in a cell array, and they will all be applied. * geographical/sun_angles.m, handy/cur.m, handy/cached_evaluation.m, handy/par.m: - Added/expanded "See also" to documentation. * geoplots/gmt/gmt_plot.m: - Fix typo in documentation * handy/getfields.m: - Don't crash if zero fields are requested * handy/PersistentCachedData.m: - Use Matlabs internal functions to get last-modified-date for persistent cached file, no need to go through 'ls -l' unless I'm missing something * datasets/SatDataset.m(level3): - Improved a lot, it could even possibly work now, if you're lucky and circumstances are right and the moon is full and in the right constellation. * datasets/GriddedDataset.m(read_from_grid): - Improved this quite a while ago, don't even remember what/why. * datasets/+satreaders/patmosxL3.m: - Uncomment time-setting 2014-01-29 Carlos Jimenez * atmlab-2-1-478 * geophysics/mxr2masscon: updating the mscript by using the GAS_CONST_DRY_AIR from the atmlab constants, missed that in previous commitment. 2014-01-28 Carlos Jimenez * atmlab-2-1-477 * geophysics/mxr2masscon: very simple mscript to convert mass mixing ratio (Kg/Kg) to mass concentration (Kg/m3), assuming a mixture of species/hydrometeor in dry air. 2014-01-19 Ole Martin Christensen * arts/qarts_vmr_field.m: Fixed bug in the latest update made the atmdata (G) to continiously beeing overwrite. * arts/qarts_atm_field.m: Same as above. 2014-01-15 Patrick Eriksson * atmlab-2-1-476 * math/step_transition.m: * math/linear_transition.m: New. 2014-01-07 Patrick Eriksson * atmlab-2-1-475 * retrieval/mci.m: Seems that nargout can be corrupted inside a parfor loop. So now nargout copied to a local variable. But removed parfor matlab anyhow goes beyond 100% with just a for loop, and then did not bother to track down some other error just occuring with parfor. 2014-01-04 Patrick Eriksson * atmlab-2-1-474 * demos/qpack2_t_demo.m (y_demo): Fixed typo. * math/full_or_sparse.m: New. * retrieval/oem.m: When calculated internally, Seinv and Sxinv are passed through full_or_sparse. xnorm is now ensured to be full. If sparse is inherited from Sx, this gives an overhead further down. Pointed out by Ole Martin. * arts/arts_oem.m: The rescaling of J for "rel" now done column-by-column. The old version hit the memory roof for large J. And new solution in fact faster (60% saving), at least for my test with a J of 3.3 GB. 2014-01-01 Patrick Eriksson * atmlab-2-1-473 * arts/qarts2cfile.m (cfile_RteExe): Commented out saving of y_f, y_pol, y_pos and y_los. * demos/qarts_zeeman_demo.m: * demos/qarts_mcdoit_demo.m: * demos/qarts_scattering_demo.m: * demos/qarts_backend_demo.m: * demos/qarts_demo2.m: * demos/qarts_demo.m: Adopted call of arts_y. * arts/arts_y.m (arts_y): Removed ydata as output. For larger calculations, the reading of y_pol takes a lot of time, that should be avoided. This information can be recreated in other ways. And I assume that nobody is using ydata. If you do, tell me and I will find some alternative solution. * arts/qarts_vmr_field.m: * arts/qarts_atm_field.m: Both functions restructured and partly rewritten. Earlier version did not handle all 2D cases. * gridcreation/grid_weightspaced.m: Changed from using cumsum to cumtrapz. This gives a better treatment of end points, and also allows handling of non-uniform grids. 2013-12-18 Carlos Jimenez * atmlab-2-1-472 * geophysics/mixr2vmr.m: small change of units, better to leave the ppm conversion up tp the user, so units are now m3/m3. 2013-12-15 Patrick Eriksson * atmlab-2-1-471 * retrieval/oem.m: Fixed small typo in header. Characterisation option did not work, xa is needed! 2013-12-11 Carlos Jimenez * atmlab-2-1-470 * geophysics/mixr2vmr.m: simple mscript to convert mass mixing ratio to volume mixing ratio. 2013-12-07 Salomon Eliasson * atmlab-2-1-469 * collocations/CollocatedDataset.m: * geoplots/gmt/gmt_plot.m: * datasets/define_datasets.m: * datasets/HomemadeDataset.m: Puny insertions 2013-12-07 Salomon Eliasson * atmlab-2-1-468 * datasets/define_datasets.m: * site-specific/kiruna/datasets_init.m: Added extra dataset LWP to cpr-dardar dataset * geoplots/gmt/gmt_plot.m: use squeeze on indata to remove singleton dimensions hence avoiding a crash 2013-12-03 Maryam Jamali * atmlab-2-1-467 * scattering/Liu_Database.m Edit the description of the function. 2013-12-02 Maryam Jamali * atmlab-2-1-466 * scattering/Liu_Database.m This function extracts the DDA calculation for the some differents ice particle shapes, from the Liu Database. 2013-11-29 Patrick Eriksson * atmlab-2-1-465 * h2o/parametrisations/n_ice_warren08.m: New. 2013-11-29 Salomon Eliasson * atmlab-2-1-464 * handy/combine_pdfs.m: small fix 2013-11-27 Salomon Eliasson * atmlab-2-1-463 * geoplots/gmt/makepolar.m: -Fixed bug in number format string (small numbers are also allowed now) - Fixed bug if the reference value is at or outside the data range edges. * handy/combine_pdfs.m: - Made help section human-readible - default behaviour is now to name the outfile after the title (if given) and if no in.filename is given - fixed the default viewer to 'gnone-open' or 'kde-open' if on linux, and 'open' if on a Mac * handy/sanitise.m: silenced annoying warning about dangerous characters * datasets/define_datasets.m: Added modis field 2013-11-10 Patrick Eriksson * atmlab-2-1-462 * retrieval/mci.m (mci): Added some comments. More importantly, the function can now make use parallelisation. To make use of this feature, first call matlabpool. 2013-11-08 Patrick Eriksson * atmlab-2-1-461 * arts/arts_x2QR.m: Pointing off-set were put into Q.SENSOR_LOS, but needs to be stored to used file to have an effect. This should hopefully fix problem reported by Ole Martin. Also added this if-statement: if do_sensor arts_sensor( Q, R.workfolder ); end 2013-11-06 Salomon Eliasson * atmlab-2-1-460 * geographical/regionize.m: Puny string edit 2013-11-05 Patrick Eriksson * atmlab-2-1-459 * pyarts: Removed the folder and its content. As far as I know, not used by anyone and probably not working. The same functionality now exists inside ARTS, that can be used by tmatrix.m. * atmlab/atmlab_init.m: Removed adding of pyarts folder. 2013-11-04 Patrick Eriksson * atmlab-2-1-458 * scattering/tmatrix.m: Changed to use the temporary method scat_meta_arrayAddTmatrixOldVersion. 2013-10-29 Patrick Eriksson * atmlab-2-1-457 * arts_usage/arts_radioocc_1D_slta.m: Changed gps/leo to rec/tra, as earlier done in function below. * arts_usage/arts_radioocc_1D.m: Added workfolder as optional argument. 2013-10-27 Patrick Eriksson * atmlab-2-1-456 * demos/qarts_demo.m: Updated setting of SURFACE_RTPROP_AGENDA 2013-10-25 Patrick Eriksson * atmlab-2-1-455 * sensors/atovs/atovs_read_data.m: Reactivated the last two lines. 2013-10-25 Gerrit Holl * atmlab-2-1-454 * geodetic/geographic_mean.m: Added, forgot to add earlier! 2013-10-25 Patrick Eriksson * atmlab-2-1-453 * sensors/atovs/atovs_read_data.m (atovs_read_data): I had to comment out two last line as the function geographic_mean is not in atmlab. * h2o/parametrisations/eps_water_liebe93.m: Polished header. 2013-10-22 Patrick Eriksson * atmlab-2-1-452 * arts_usage/qarts_add_jupiter_planettbox.m: Quickly fixed header. Wind and magnetic field parts are not handled, but no time to fix those parts now. 2013-10-22 Patrick Eriksson * atmlab-2-1-451 * arts_usage/qarts_add_jupiter_planettbox.m: Just started. Handles the basic atmosphere, but not winds etc. And header text not completed. 2013-10-21 Gerrit Holl * atmlab-2-1-450 * datasets/GriddedDataset.m: - Added. First working functionality is here. For a gridded dataset, i.e. time/lat/lon stored per day, obtain data purely based on time/lat/lon. Will be needed to add reanalysis data to SPARE-ICE. * datasets/+satreaders/*: - Add notice on where to read help on the common format * math/binned_statistics.m: - Bugfix, have default option for non-mandatory argument 'opt' * math/DataHash.m: - Prevent infinite loop in case of function handles in workspace. This infinite loop is replaced by the new problem that non-unique hash can be generated, but I think this is less bad (one anyway shouldn't use DataHash for safety-critical situations, nor Matlab at all). * collocations/FieldMultiInstrumentCopier.m: - Fix typo in documentations * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Add CFSR * datasets/+satreaders/ncep_cfsr_day.m: - Add reading routine for NCEP CFSR reanalysis data sorted per day by Python script commited seperately in gerrits internal svn (ask if interested). * handy/CachedData.m(cached_evaluation): - Bugfix, if calling same method on different objects. Workaround: able to pass additional stuff that's taken into the hash-calculations but not passed on to the called function. * datasets/SatDataset.m: - Microscopic change 2013-10-18 Patrick Eriksson * atmlab-2-1-449 * arts_usage/arts_radioocc_1D.m: Expanded header to make clear how defocusing is obtained. 2013-10-17 Patrick Eriksson * atmlab-2-1-448 * arts_usage/arts_radioocc_1D.m: Added text in header about Q. 2013-10-16 Patrick Eriksson * atmlab-2-1-447 * arts_usage/arts_radioocc_1D_power.m: Renamed, see below. * arts_usage/arts_radioocc_1D_slta.m: The _power function renamed. Header partly rewritten, to reflect changes. * arts_usage/arts_radioocc_1D.m: Extended. Now also covering attenuation, vene for individual abs_species. 2013-10-15 Patrick Eriksson * atmlab-2-1-446 * arts_usage/arts_radioocc_1D_power.m: * arts_usage/arts_radioocc_1D.m: Added O.leo_movement as optional argument for both functions. 2013-10-14 Patrick Eriksson * atmlab-2-1-445 * graphs/clonefig.m: New. Taken from Matlab file exchange. 2013-10-14 Patrick Eriksson * atmlab-2-1-444 * arts_usage/arts_radioocc_1D_power.m: Added optional fields O.defoc_shift and O.defoc_method. 2013-10-13 Patrick Eriksson * atmlab-2-1-443 * arts_usage/arts_radioocc_1D.m: Added O.z_impact_min. 2013-10-12 Patrick Eriksson * atmlab-2-1-442 * arts_usage/arts_radioocc_1D_power.m: Now also handling Faraday rotation. 2013-10-11 Patrick Eriksson * atmlab-2-1-441 * arts_usage/arts_radioocc_1D_power.m: Copied changes in function below. * arts_usage/arts_radioocc_1D.m: Now free electrons included always in refr_index_air agenda. 2013-10-11 Patrick Eriksson * atmlab-2-1-441 * arts_usage/qarts_add_mars_planettbox.m: A bit improved header. * arts_usage/qarts_add_venus_planettbox.m: Some mars stuff remained. Now seems to run OK. * arts_usage/arts_radioocc_1D.m: Added basic data for Venus and Jupiter. 2013-10-10 Patrick Eriksson * atmlab-2-1-440 * arts_usage/arts_radioocc_1D.m: Planet specific mass introduced (to get correct satellite velocities). * arts_usage/qarts_add_venus_planettbox.m: New. Complete but not tested. * arts_usage/qarts_add_mars_planettbox.m: Polishing. 2013-10-10 Patrick Eriksson * atmlab-2-1-439 * arts_usage/qarts_add_fascode.m: Basically reimplemented from scratch. This to allow inclusion of ionospheric data from IRI and IGRF. Completed, but more testing would be good ... * arts/qarts2cfile.m (cfile_AtmSrf): Started to include vmr_zeropadding but realised that it should not help me now. But present changes make this addition simple in the future. * arts_usage/arts_radioocc_1D.m: Several smaller fixes. Introduced a reference point for t. * arts_usage/arts_radioocc_1D_power.m: A second version, also covering attenuation quantities (but much slower). 2013-10-10 Gerrit Holl * atmlab-2-1-438 * datasets/define_datasets.m: - Fixed bug for A_SATLON atts. 2013-10-10 Gerrit Holl * atmlab-2-1-437 * collocations/Collapser.m(fields_needed_for_dependency): - Added note that this method is insufficient in certain conditions. Started code to take care of those, but commented it out as it's not done yet. * collocations/CollocatedDataset.m(read): - Clarified in documentation that, when output is being merged, information from the secondary (core or associated) may be meaningless. * sensors/atovs/atovs_read_data.m: - Added possibility to read satellite latitude, longitude, elevation. * datasets/define_datasets.m: - Add satlat, satlon to assocated_gras_amsua - Started to get capsed lat2/lon2 for gras_amsua closest. Remains unfinished and commented out. 2013-10-09 Patrick Eriksson * atmlab-2-1-436 * arts_usage/qarts_add_mars_planettbox.m: Updated to Jana's changes in ARTS. Extended to handle grid cropping and winds. Should be ready. Tested to work with the function below. * arts_usage/arts_radioocc_1D.m: An initial Q can now be set. 2013-10-05 Patrick Eriksson * atmlab-2-1-435 * arts_usage/arts_radioocc_1D.m: R.defocus was still initiated to NaNs. Now field removed. Field l_proppath introduced. 2013-10-04 Jana Mendrok * atmlab-2-1-434 * h2o/parametrisations/eps_water_liebe93.m: Changed lower temperature limit to 248K. Introduced a flag to allow lower temperatures (but using eps(T=248K) for all eps(T<248K)). This as workaround (original liebe seriously degenerates, such that even constant eps assumptions seems much more reasonable) needed in ESA planet study to calculate sulfuric acid solution epsilon. * scattering/mie_arts_scat_data.m: Minor spellfix. 2013-10-03 Patrick Eriksson * atmlab-2-1-433 * arts_usage/qarts_add_mars_planettbox.m: A first working version. * arts_usage/qarts_add_fascode.m: FORMAT line was missing. * arts/qarts2cfile.m: Added handling of Q.WSMS_BEFORE_ATMSURF. * arts/qarts.m: Added Q.WSMS_BEFORE_ATMSURF. 2013-10-03 Patrick Eriksson * atmlab-2-1-432 * Quick commit as missed to do svn add on new files. * geodetic/ellipsoidmodels.m: Added SphericalVenus, SphericalMars and SphericalJupiter. 2013-10-03 Patrick Eriksson * atmlab-2-1-431 * arts_usage/qarts_add_mars_planettbox.m: Just started. * Somewhat changed strategy for the "atmospheric include" system. ABS_SPECIES now set by the atmfunc. Also LAT/LON_GRID are set by the function. Introduced features to fine-adjust P/LAT/LON_GRID. * arts_usage/arts_radioocc_1D.m: Extended name of function, for better clarity. Adopted to changes in function below. * arts_usage/qarts_add_fascode.m: Added q to the name, to be consistent with the naming pattern that functions just modifying Q start with qarts. Changed as described above. 2013-10-02 Patrick Eriksson * atmlab-2-1-430 * atmlab/atmlab_init.m (atmlab_init): Added arts_usage. Commented out the arts/scenegen folders as the stuff is not working. * h2o/parametrisations/complex_refr_indexFromFunc.m: Moved to this folder, from the arts folder. And improved spelling in header. * arts_usage/arts_ro_1D.m: Moved to this new folder. * arts_usage/arts_include_fascode.m: * arts_usage/Contents.m: New folder. The idea is to place more "high level" stuff here, and reserve the arts folder for core functions. (The scenegen stuff should be placed here, but better "hidden" in its present place until the system is updated). * arts/Contents.m: Updated. 2013-10-01 Patrick Eriksson * atmlab-2-1-429 * arts/arts_ro_1D.m: A typo made that T.l_geomtric was filled instead of T.l_geometric. 2013-10-01 Gerrit Holl * atmlab-2-1-428 * datasets/define_datasets.m: - Bugfix in collapser for CLOSEST, it should properly consider flagged data resulting in nans. 2013-10-01 Patrick Eriksson * atmlab-2-1-427 * arts/arts_ro_1D.m (arts_ro_1D): Defocusing calculation could crash for point it= 1 and nt. 2013-10-01 Gerrit Holl * atmlab-2-1-426 * datasets/HomemadeDataset.m(store): - Bugfix in flagging data. Was flagging too much in case of multi-channel instruments, and was causing complete failure in case of a very low number of collocs. 2013-09-30 Patrick Eriksson * atmlab-2-1-425 * arts/arts_ro_1D.m (arts_ro_1D): Defocusing now calculated on time sampled data. Much more stable results. 2013-09-30 Patrick Eriksson * atmlab-2-1-424 * arts/arts_ro_1D.m: Now also returning time sampled data. Defocusing results very unstable (for both R and T) and a fix is needed. Otherwise it looks good. 2013-09-30 Patrick Eriksson * atmlab-2-1-423 * arts/arts_ro_1D.m: Started on part providing time sampled data. Not ready! 2013-09-29 Patrick Eriksson * atmlab-2-1-422 * arts/arts_ro_1D.m: A basic version is ready. * arts/arts_include_fascode.m: Wrote header. * physics/constants.m: Added GRAVITATIONAL_CONSTANT and EARTH_MASS. (A fun coincidence here. For the gravitational constant, I first put in the value from Wikipedia. 30 min later I read Ny teknik from this week, and found out that a new measurement just has been published, 0.02% higher. I selected the new one. For link to abstract, see the file. Or see http://www.sciencenews.org/view/generic/id/353215/description/Notorious_Big_G_gets_a_little_larger). 2013-09-27 Patrick Eriksson * atmlab-2-1-421 * arts/arts_include_fascode.m: * arts/arts_ro_1D.m: Some small progress from the 20 min I got free today ... 2013-09-27 Patrick Eriksson * atmlab-2-1-420 * demos/qarts_demo.m: Spell fix. * arts/arts_include_fascode.m: Started ... * arts/arts_ro_1D.m: A bit more ... 2013-09-26 Patrick Eriksson * atmlab-2-1-419 * arts/arts_ro_1D.m: Just a start ... 2013-09-26 Gerrit Holl * atmlab-2-1-418 - BREAKING BACKWARD COMPATIBILITY! From now on, in the Collapser, the processor function handles must take TWO arguments. The first one is the data to be collapsed, while the second one is the core. Of course the second one need not be used, but it is passed on so it should be ignored if not used. * collocations/Collapser.m: - Adapt documentation and call to proccers{k}{pi} for the new processor methodology * datasets/HomemadeDataset.m(store): - Bugfix in concatenating structures, make sure it's the newest one that gets stored if the user explicitly passes something on. Also add my e-mail as a default contact. * datasets/define_datasets.m: - Adapt all listed processors for the aforementioned change - Add amsua CLOSEST for use in gras-amsua 2013-09-25 Maryam Jamali * atmlab-2-1-417 * scattering/Maxwell_Gar_mix_rule.m * scattering/Debye_mix_rule.m * scattering/Bruggeman_mix_rule.m: A modification of density calculations of a two-media mixture. 2013-09-04 Patrick Eriksson * atmlab-2-1-416 * graphs/new_figure.m: New. Useful if you want your new figures to be appended instead of put in first free slot, which is the option of the standard figure function. * scattering/mie_arts_scat_data.m: Changed 'size' to 'radius' in header text for r, for extra clarity. 2013-08-23 Patrick Eriksson * atmlab-2-1-415 * handy/par.m: Small correction of header. By the way, this an excellent function. 2013-08-26 Ole Martin Christensen * atmlab-2-1-414 * arts/qarts_atm_field.m: fixed bug for 2d regridding 2013-08-22 Patrick Eriksson * atmlab-2-1-413 * arts/qarts2cfile.m (cfile_Absrpt): Removed inclusion of abs_checkedCalc. * geographical/shift_longitudes.m: Default for lonlow/high was not stated in header. And now using atmlab( 'STRICT_ASSERT' ). 2013-08-20 Patrick Eriksson * atmlab-2-1-412 * arts/qarts.m: * arts/qarts2cfile.m: Adopted to changes in ARTS regarding checked WSMs and WSVs. 2013-08-20 Oliver Lemke * atmlab-2-1-411 * arts/qarts2cfile.m, scattering/tmatrix.m: scat_data_raw -> scat_data_array scat_data_meta -> scat_meta_array 2013-08-19 Gerrit Holl * atmlab-2-1-410 * collocations/CollocatedDataset.m: - Expand documentation on primary dataset (read): - Fix bug if no collocations exist AND no core fields are asked (collocate): - Expand docs * datasets/HomemadeDataset.m: - Odc-By v1.0 license by default 2013-08-19 Patrick Eriksson * atmlab-2-1-409 * h2o/parametrisations/eps_water_liebe93.m: Introduced and documented f and t limits. * h2o/parametrisations/eps_ice_liebe93.m: Changed and documented f and t limits. 2013-08-19 Patrick Eriksson * atmlab-2-1-408 * tests/make_check_qarts.m: Added a test call of tmatrix.m. Set new input argument do_fortran to include this check in the run. * scattering/tmatrix.m: Had to introduce a temporary variable when converting char input to cellstr. Worked on another matlab version!!! 2013-08-19 Patrick Eriksson * atmlab-2-1-407 * scattering/tmatrix.m: An interface towards ARTS to obtain T-matrix data. * arts/complex_refr_indexFromFunc.m: New. Sets up complex_refr_index using Atmlab's functions retirning n or eps. 2013-08-17 Patrick Eriksson * atmlab-2-1-406 * tests/test_arts_ppath.m: Updates to follow changes in arts were required when running with refraction. * arts/qarts2cfile.m (cfile_RteSet): Was not completely adopted to refr_index_air_agenda. 2013-08-14 Maryam Jamali * atmlab-2-1-405 * h2o/parametrisations/ice_particleshape_Hogan2012.m: * Changed: d_max to diameter_max, d_short to diameter_short and axratio to aspect_ratio. 2013-08-14 Patrick Eriksson * atmlab-2-1-404 * tests/test_arts_ppath.m: * arts/qarts2cfile.m: * demos/qarts_ppath_demo.m: * demos/qarts_scattering_demo.m: * arts/qarts.m: Changed REFR_INDEX_AGENDA to REFR_INDEX_AIR_AGENDA. 2013-08-14 Maryam Jamali * atmlab-2-1-403 * scattering/Three_phase_Maxwell_Gar.m: A function to calculate refractive index and density of a three-phase mixture by Maxwell Garnett mixing rule. * scattering/Three_phase_Debye.m: A function to calculate refractive index and density of a three-phase mixture by Debye mixing rule. * scattering/Three_phase_Bruggeman.m: A function to calculate refractive index and density of a three-phase mixture by Bruggeman mixing rule. * According to Galligani et al (2013), in snow (ice+water+air) a model which literature has shown to agree with the average characteristics of the melting layer for logterm observation is described as a two phase mixture of ice-air (dry snow) and water. This model first calculates dry snow (ice inclusions in an air matrix) and a second time to mix dry snow and water (water inclusion in a dry snow matrix environment). 2013-08-13 Maryam Jamali * atmlab-2-1-402 * h2o/parametrisations/ice_particleshape_Hogan2012.m: Non-spherical and non-solid ice particle dimensions. 2013-08-12 Patrick Eriksson * atmlab-2-1-401 * demos/qpack2_t_demo.m: Now commited with noise added and non-linear retrieval. 2013-08-11 Patrick Eriksson * atmlab-2-1-400 * demos/qpack2_t_demo.m: New demo/test file. 2013-08-10 Salomon Eliasson * atmlab-2-1-399 * datasets/define_datasets.m: - Renamed some of my datasets. - Made cloud_cci and modis have the same default interval and distance - Shorted the code a bit by removing from repetitiveness * handy/PersistentCachedData.m: Out put a message telling the user how long ago the cached datafile was created * handy/combine_pdfs.m: Account for the added space needed between the title and the underlynig pdf's * geoplots/gmt/separate_integer_and_unit.m: Fixed regular expression * geoplots/gmt/create_gmt_earth.m: fixed small bug * geoplots/gmt/test_gmt.m: made title a bit smaller * geoplots/gmt/gmt_plot.m: Fixed a never-trigged bug. Made the default legend orientation horisontal if you want to save the legend to a separate file * site-specific/kiruna/datasets_init.m: Changed the name of some of my datasets * time/daterange.m: Added capability to deal with 2 element dates ([yr,mn]) * math/land_sea_mask.m: Fixed broken function due to external changes * geographical/ungridded2gridded.m * math/binned_statistics.m: Using opt.dataClass='some class' the user can make sure that all the data in the cells have the same class. This is essential if you are later planning on doing a cell2mat on this output. 2013-08-08 Maryam Jamali * atmlab-2-1-398 * scattering/Bruggeman_mix_rule.m: New. Afunction to calculate refractive index by a mixing rule. 2013-08-08 Maryam Jamali * atmlab-2-1-397 * scattering/Debye_mix_rule.m: New. A function to calculate refractive index by a mixing rule. 2013-08-08 Maryam Jamali * atmlab-2-1-396 * scattering/Maxwell_Gar_mix_rule.m: New. A function to calculte refractive index by a mixing rule. 2013-08-08 Gerrit Holl * atmlab-2-1-395 * datasets/SatDataset.m(read_granule): - Point out what units the always-returned stuff is in. In particular, that 'time' is in seconds since 'epoch'. Pointed out by Ajil that this was dangerously undocumented. * math/binned_statistics.m: - Enhance documentation, what in/out args the filter expects - Fix a bug in the usage of the filter (was unconditionally failing, nobody ever used this?!) * collocations/CollocatedDataset.m: (collocate_granule): - Disable locking (collocate_and_store_date): - Throw error if overwrite=2 for CollocatedDataset, this is meaningless, only meaningful for AssociatedDatasets. Will only confuse upon writing, actually resulting in confusing errors later on. (read): - After popular request (;-), indicate how many collocations are being read in the process. * sensors/atovs/zamsu2l1c.sh: - set GFORTRAN_STDIN_UNIT=5 GFORTRAN_STDOUT_UNIT=6 GFORTRAN_STDERR_UNIT=0. Change actually by Oliver. Needed to read metop-b with AAPP7. Don't aks me why please. 2013-08-07 Patrick Eriksson * atmlab-2-1-394 * demos/qpack2_demo2.m: Slightly extended to have a demo case operating with STOKES_DIM > 1. * retrieval/qpack2/qpack2.m (qp2_y2Q): Removed demand that size(Q.TNOISE_C,1) == length(Y(m).F). Not true if several polarisations measured. 2013-08-01 Gerrit Holl * atmlab-2-1-393 * collocations/CollocatedDataset.m(collocate_granule): - Catch the new "catch-all" error identifier * sensors/read_saphir_l1.m: - Read either l1a or l1a2. Should be passed by 3rd argument 'mode'. * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Add saphir l1a2, and use it for collocated saphir. Also add missing_value. * datasets/SatDataset.m(read_granule): - Set version info from filename if possible and not already set by reader or reader-processor * datasets/+satreaders/saphir.m: - Also rotate IncidencAngle 2013-07-23 Salomon Eliasson * atmlab-2-1-392 * geoplots/gmt/gmt_plot.m: Fixed an old lying error message * geoplots/gmt/gmt_inputs.m: Corrected an input test * handy/combine_pdfs.m: Changed pdflatex call option from -interaction batchmode to -interaction nonstopmode to make sure that the whole output message is passed to exec_system_cmd if there is an error 2013-07-19 Gerrit Holl * atmlab-2-1-391 * collocations/CollocatedDataset.m(collocate): - Permit situation where primary or secondary has only one measurement. * sensors/atovs/atovs_get_l1c.m: - When replacing one error by another, add the original one to the cause field, so that no information is lost. * sensors/atovs/atovs_read_data.m: - Only add elevation if available. * geoplots/gmt/gmt_plot.m: - New option: 'force_nlevels'. Until now, gmt always reduced nlevels to the number of unique values. This is not always desirable, so it is now possible to switch this behaviour off by setting this flag to true. - In several places, replace hardcoded logtext(1, ...) by logtext(atmlab('OUT'), ...). Also replaced some fprintfs by logtexts. (rmNaNsGeo_and_standardize_geodata): - Amended log message. Was "dodgy geodata will be ignored (99%)", changed this to "dodgy geodata will be ignored (1%)", as this is what actually happened. * geoplots/gmt/create_gmt_earth.m: - Here too some fprintf/logtext changes. * handy/getfields.m: - Permit to pass all fields as a single cellstr * datasets/HomemadeDataset.m: (pos2re): New re, permit letters in version * datasets/SatDataset.m(find_granule_covering_instant): - New method. For a particular instant, return granule that should contain data for this moment. (find_granule_first_line): - Consider errid 'atmlab:SatDataset:cannotread'. - Adapt for situation where reading routine actually has nans in positions and times (happens with modis L2). * datasets/MaskInvalidGeoTimedataWithNaN.m: - Changed lying logging message to speak the truth. * datasets/+satreaders/grasdir.m: - Sensibly handle case with no data. * datasets/+satreaders/poes_radiometer.m: - Handle case with or without elevation 2013-07-11 Gerrit Holl * atmlab-2-1-390 * geoplots/gmt/gmt_plot.m, geoplots/gmt/gmt_inputs.m: - Changed behaviour for in.savelegend in order to behave as specified by the documentation. Documentation said, "If you want to have a separate pdf for the legend". Behaviour was to store only the legend, i.e. the actual map was lost! New behaviour is to store both. Additionally, the old behaviour was to still have the legend in BOTH the file containing the map AND in a separate file. Now one can set in.savelegend==2 to make sure that, if you store the legend to a separate file, it will not also be stored to the file containing the map. I'm not sure why would anyone would want that, but if one does, in.savelegend==1 still does that. - Changed hardcoded name for legend from 'legend' to [in.filename '_legend']. 2013-07-02 Gerrit Holl * atmlab-2-1-389 * geodetic/r_crossing.m: - Vectorised * geodetic/cartposlos2geocentric.m: - Pre-allocate vector. It should be vectorisable but for now this factor-20 speedup is sufficient for me * geodetic/geocentricposlos2cart.m: - Save memory by clearing variables as soon as they're no longer needed. * collocations/FieldCopier.m(process_granule): - Cleanup some old, commented out workaround no longer needed - There are some cases where sibling datasets, all from CloudSat, have numerically inequal but still very close latitude fields. Allow some margin in lat-differences before complaining latitude-fields are inconsistent. * collocations/Collapser.m(process_granule): - Bugfix if no. of uniques is very small in vectorised case (use size(...) instead of length(...)) * collocations/CollocatedDataset.m: (collocate_granule): - Bugfix, properly set cols structure (collocate_and_store_date): - Fix the logic in the circumstances under which to redo all because the main is redone. * sensors/atovs/atovs_read_data.m, datasets/+satreaders/poes_radiometer.m: - Also read satellite elevation * datasets/define_datasets.m: - Added saa, sza, and satellite elevation, for amsua. 2013-06-27 Patrick Eriksson * atmlab-2-1-388 * demos/qarts_zeeman_demo.m: Zeeman calcualtions now activated. Finished header info. 2013-06-26 Gerrit Holl * atmlab-2-1-387 * WARNING! Error identifier changed in SatDataset.read_granule. See below! * collocations/Collapser.m: (merge_matrix): changed flags, should be accessible from other classes (process_granule): - Bugfix in vectorised collapsing when core is empty - Be a little bit more verbose in vectorised collapsing - Set self.cols appropiately in vectorised collapsing (redo_all): - New protected method, overloaded from AssociatedDataset. See description there. Here, returns true if version that collapsed data were generated with is from before 2-1-337. * collocations/FieldCopier.m: (needs_data): - Bugfix when not 'all' fields are asked for appending and some have 'realname' members. * collocations/AssociatedDataset.m: (merge_matrix): - changed flags (see note at Collapser) (process_delayed): - catch the situation where the secondary could not be read, even though it was read at the time of the original collocations. Unfortunately, this happens from time to time. Generate a special exception for this case, and add the original as a 'cause'. This permits the parent to catch this particular case, and perhaps redo collocations for the entire day (which is probably needed :(). (redo_all): - New protected method. To be overloaded by subclasses. If there is a change that makes appending impossible, this one can return 'true' so that instead, everything is over-written. * collocations/FieldMultiInstrumentCopier.m: (process_granule): - Bugfix in situation where 'all' fields were processed - Bugfix in situation where some fields had 'realname' members - Bugfix related to collection of cols-structures * collocations/AssociatedPOESPlusCPR.m: (dynamically_get_members): - Remind myself to improve this one. It's extremely slow because it's called very many times! * collocations/CollocatedDataset.m: (collocate_granule): - Add new 'atmlab:SatDataset:cannotread' identifier when trying to read secondary granule (see note at SatDataset(read_granule). - Implement locking mechanism using get_lock around most memory-intensive part... I might remove it again though - Clear big variables when no longer needed to save memory - Also collect cols, as not all fields may be asked nowadays (collocate_and_store_date): - Use AssociatedDataset.redo_all to check if I should redo all fields, e.g. due to changed algorithms or so, see note at (redo_all) above. - When primary is overwritten, also overwrite all associateds - When some fields are processed, some are read, do the processing first so all can be read at once (collocate_and_store_date_range): - If I occur the case where I could previosuly read a file, but not anymore, redo collocations for the entire day (communicated via errorid atmlab:AssociatedDataset:cannolongerread). (fill_addi): - Private method. Move some of the collocate_and_store_date functionality here because I need to call it in two different cases. * atmlab/atmlab_version.m: - Expanded. When 3 output arguments, return major, minor, micro as numbers, rather than as a single string. Useful for checking version numbers. * files/get_lock.m: - Added. Creates lockfile if possible, otherwise waits until it's possible. Uses moving to minimise/prevent race conditions. Thanks Oliver for the algorithm idea. * files/quickly_read_gzipped_netcdf_header.m: - Also return global attributes * files/create_tmpfolder.m: - Added note in documentation to use onCleanup * site-specific/kiruna/datasets_init.m: - Added modis_L3 * handy/logtext.m: - When used inside parallel toolbox, also add task-id. Does not affect people without the toolbox. - When called from a SatDataset method, also output the class and the object 'name'. * handy/combine_pdfs.m: - Use a sans-serif font for the title. This should be the default. * handy/exec_system_cmd.m: - In case of an error, tell user what the command was that caused the error. * handy/cached_evaluation.m: - Small wrapper around CachedData.evaluate to prevent the need to create a CachedData object and stick it around somewhere persistent * handy/CachedData.m: - added evaluate to documentation method list * handy/sanitise.m: - Add '$' character to dangerous character list * datasets/HomemadeDataset.m: - Added 'version' member that can be used for various purposes (store): - Not sure when NetCDF library raises MATLAB:netcdf:defDim:nameIsAlreadyInUse and when MATLAB:imagesci:netcdf:libraryFailure. Just catch both. - Be a little bit more verbose if wrongyl sized data is being stored. (granule_first_line): - Always return 1, eliminating need for databases for homemade datasets, that anyway never should have duplicates. (repvars): - Compared to parent, also replace $VERSION. See also note at SatDataset(repvars). (infofit): - Compared to parent, also check is.version. See also note at SatDataset(infofit). (pos2re): - Also consider $VERSION * datasets/SatDataset.m: - Expand documentation a little bit (find_datadir_by_date): - Be a little bit more informative if no basedir initialised - Use self.repvars, supersedes stringrep_variables (find_granules_by_date): - Use self.repvars, supersedes stringrep_variables - Move find_info_from_granule matching to new method infofit (see below) (find_granule_by_datetime): - Allow to pass datevecs less than 5 elems (i.e. for one-granule-per-day sets) - Use self.repvars, supersedes stringrep_variables, see below (read_granule): - CHANGED ERROR IDENTIFIER! Now, catches any errors happening during reading, add those errors as the cause to a new exception, that is raised with err-identifier 'atmlab:SatDataset:cannotread'. Then, callers can catch all reading-related errors at once and don't rely on catching different error-ids based on hdf-library, netcdf-library, etc. This information is still available via the 'cause' member in the generated MException. (level3): - Take custom gridsize - use bin_nd instead of binning_fast therefore killing custom gridsize; in other words, method still work in progress (repvars): - New method, replaces strrep_variables. This one can be overloaded by subclasses that want more vars than the standard ones to be replaced; for example, HomemadeDatasets also replace $VERSION. (infofit): - New method, replaces functionality previously coded inside find_granules_by_date. Matches the output of find_info_from_granule to meta-information. Can be subclassed for more specific matching, such as HomemadeDataset, which also looks at version. * datasets/strrep_variables.m: - Added deprecation note in documentation. * datasets/CollocatedMicrowaveOnlyIWP.m: - No longer hardcode version here, this is now in HomemadeDataset. * datasets/define_datasets.m: - Added modis_L3 (no reader yet) - Changed more collapsers to be vectorised - Added G_PRESSURE to GRAS 2013-06-25 Patrick Eriksson * atmlab-2-1-386 * retrieval/qpack2/qpack2.tex: Adopted and extended to new features. * demos/qpack2_wind3d_demo.m: Settings improved. 2013-06-25 Patrick Eriksson * atmlab-2-1-385 * retrieval/qpack2/qpack2.m: Started on allowing 3D observation geometry. * arts/qarts_hse.m: Did just work for 1D. Z was set to result for last ilat/ilon combination. * demos/qpack2_wind3d_demo.m: Extended. Now operating in 3D. 2013-06-24 Patrick Eriksson * atmlab-2-1-384 * demos/qpack2_demo.m: Y.F now kept. * demos/qpack2_wind3d_demo.m: Just started. * retrieval/qpack2/qpack2.m: Started on extension, to handle multiple spectra observations. Y.F is now required to e set. * retrieval/qpack2/qp2_y.m: Added field AA. New text to describe size demands for ZA, Z_PLATFORM, AA and T_NOISE when measurement consist of several spectra. 2013-06-24 Gerrit Holl * atmlab-2-1-383 * files/loadncvar.m: - Fixed extremely dangerous bug where all unidentified errors were silently ignored. Please, when cathing an error and conditionally doing something, PLEASE add 'else, ME.rethrow()' to prevent errors from being silently ignored! 2013-06-24 Patrick Eriksson * atmlab-2-1-382 * sensors/amsua_apply_polarisation.m: New function. 2013-06-24 Patrick Eriksson * atmlab-2-1-381 * tests/make_check_qarts.m (make_check_qarts): For arts_oem_demo, now just demanding no error. The convergence can occasionally be poor and then a cost below 1.2 is not reached. * retrieval/qpack2/qpack2.tex: Updated with respect to changes below. * arts/qarts.m: Typo and spelling fixes. Added ATMDATA to WIND_U/V/W. * demos/qarts_zeeman_demo.m: Now also magnetic field set. Not ready, Zeeman still not active. * gformat/gf_artsxml.m: Added handling of mag and wind fields. * retrieval/qpack2/qpack2.m: Changes around ATMDATA. This field is now not required for ABS_SPECIES and T, if VMR_FIELD or T_FIELD is set, respectively. Added handling of ATMDATA for MAG and WIND quantities. In all cases, if ATMDATA is set, the corresponding FIELD is overwritten. For example, if T.ATMDATA is set, any setting of T_FIELD will be replaced. * arts/qarts_atm_field.m: Corrected header text. And %c changed to %s when creating astr. * demos/qpack2_demo2.m: Had to increase max of MINMAX for H2O. Old value was too low, but had no effect due to bug commented below. * arts/arts_oem_init.m: Gathered all input checks at start of function, to make good use of STRICT_ASSERT and make code below less messy. Improved check of wind fields. Extended header to make clear that the function does NOT consider ATMDATA. Max value of MINMAX was not applied due to a typo. 2013-06-21 Patrick Eriksson * atmlab-2-1-380 * retrieval/qpack2/qpack2.m: Had missed to add ... when breaking a line. 2013-06-21 Patrick Eriksson * atmlab-2-1-379 * arts/qarts.m (qarts): Commited with a typo causing error. And added missing empty line for I of T. 2013-06-20 Patrick Eriksson * atmlab-2-1-378 * Started some work but got stuck when noticing inconsistency in how ATMDATA is used. Some thinking needed before attacking this ... * arts/qarts.m: Just introduced MAG_U, MAG_V and MAG_W. 2013-06-20 Patrick Eriksson * atmlab-2-1-377 * demos/data/line118ghz.hit: A linefile based in HITRAN2008. * demos/qarts_zeeman_demo.m: Still not working ... Seems to be a problem in arts. 2013-06-19 Patrick Eriksson * atmlab-2-1-376 * demos/qarts_zeeman_demo.m (qarts_zeeman_demo): Started. * arts/qarts_abstable.m: Spelling mistake in header. * arts/qarts2cfile.m: Added handling of ABS_XSEC_AGENDA and PROPMAT_CLEARSKY_AGENDA. Changed sub-function where blackbody_radiation_agenda is set. Removed some repeated call of Checked-methods. * arts/qarts.m: More strict alphabetical ordering. Added fields ABS_XSEC_AGENDA and PROPMAT_CLEARSKY_AGENDA. * demos/arts_oem_demo.m: Did not work due to some more recent arts changes. Increased max iterations to ensure that convergence always reached. * tests/make_check_qarts.m (make_check_qarts): Renamed make_check, to stress that only the qarts part is considered. Now running of several more demos included. 2013-06-18 Salomon Eliasson * atmlab-2-1-375 * handy/catstruct.m: fixed bug. vargin = cell(length(structs_index),1); should be vargin = cell(sum(structs_index),1); 2013-06-17 Patrick Eriksson * atmlab-2-1-374 * demos/qpack2_demo2.m: A version of qpack2_demo, including tropospheric attenuation. * gformat/atmdata_empty.m: Name of function wrong in header. * demos/qpack2_demo.m: Header slightly extended. * arts/arts_oem_init.m (arts_oem_init): Improved error message for check of MINMAX datatype. 2013-06-17 Salomon Eliasson * atmlab-2-1-373 * handy/combine_pdfs.m: Added option pdfcrop (default=false) if you want to crop the output pdf. Works only if pdfcrop is installed 2013-06-16 Salomon Eliasson * atmlab-2-1-372 * math/binned_statistics.m: in.replace, (to put in place of empty cells) may be a cell so that you can have different "replace" values per input function. E.g., for @(x)(hist(x(x>=0),0:10)) I wanted to relace empty cells with "zeros(1,11)" since the output is a vector, but for @(x)(size(x,1)), I want to replace them by "0" since the output is a scalar. * geographical/ungridded2gridded.m: - Adapted for new in.replace. - Added a cautionary note about blindly using @(x)(x>0) as a filter if you are expecting a matrix output. Default is now to not filter the data in this way. I see that no other codes in atmlab are using this function right now. I feels dangerous to do have a filter by default, so the default filter is now ''. - Now only converts the binned data to double if it has to, or is it is asked to (if opt.ensureDouble = true) 2013-06-13 Salomon Eliasson * atmlab-2-1-371 * handy/combine_pdfs.m: Added extra tweak option "rightPadding". It does padding to the right of a row. Right now it needs one value per row. e.g., for 4 rows something like options.rightPadding=[1.7,1.7,0,0]. default is for this to not be set at all. Could be implemented nicer, but I was in a rush. * handy/catstruct.m: Fixed an error message * geoplots/gmt/create_gmt_earth.m: * geoplots/gmt/gmt_inputs.m: in.extra_legend can now also be set to false if you don't want it. Normally this legend is used to display the color of NaNs * geoplots/gmt/gmt_plot.m: Fixed typo. Fixed so that daterange doesn't get confused by -inf 2013-06-13 Gerrit Holl * atmlab-2-1-370 * collocations/Collapser.m: (vectorised): - New property, defaults to 'false'. If set to true, then the processors, global limitators, and local limitators, operate on vectorised input with nans. This can speed up processing by a factor 100 to 1000, but reduces flexibility and requires rewrites. Therefore, despite the huge speed increase, it is by default disabled. (fieldstruct), (overall_limitators): - Adapt documentation based on new vectorised technique. (process_granule): - Expanded. Can now handle either unvectorised or vectorised processing. Solution for vectorised processing is rather sophisticated and likely contains bugs. See new documentation and code for details. * datasets/define_datasets.m: - Add collocation_mhs_avhrr. The data are so huge, I won't be storing it. Also added fieldcopier and collapser. The collapser works in a vectorised way. 2013-06-11 Gerrit Holl * atmlab-2-1-369 * collocations/CollocatedDataset.m: (read): - Be more verbose when reading additionals (collocate_and_store_date_range): - Bugfix, also get duplicate-db (granule_first_line) for previous day, because last granule there is read. Prevent infinite loop. (meet_dependencies): - Bugfix, at the risk of introducing a new bug, do not wrongly complain that certain fields are missing if they aren't to be processed. Simply add all dependencies to the reading and if the reading fails, I'll find out later. * datasets/define_datasets.m: - For amsua, get rid of limitator, because sometimes, only some channels, not all, are flagged. Also take care of this situation when calculating the average and so. Involves new subfunction ignoreNeG. (ignoreNeG): Like ignoreNaN but ignoring negative values (flagged) * site-specific/kiruna/datasets_init.m: - Fix subdir for collapsed_gras_amsua (was set to basedir) 2013-06-11 Patrick Eriksson * atmlab-2-1-368 * gformat/atmdata_regrid.m (atmdata_regrid): Removed %&%-markers. * arts/arts_regrid.m: LAT_TRUE was used for 2D. Changed to LAT_GRID. This function works only for switching between basic grids, ie. LAT_TRUE and LON_TRUE should not be considered/used. Bug found by Ole Martin. * demos/qpack2_demo.m: Fixed two spelling errors in comments. 2013-06-10 Salomon Eliasson * atmlab-2-1-367 * datasets/define_datasets.m: Added cloudPhase field to a fieldcopier * datasets/SatDataset.m: Slight fix to if statement to avoid an unnecessary error * collocations/CollocatedDataset.m: Very slight edit to avoid a warning produced using vec2col * graphs/scatter_density_plot.m: Changed the article reference in the header 2013-06-08 Salomon Eliasson * atmlab-2-1-366 * geographical/ungridded2gridded.m: Put in some assertions to make sure the requested grid is correct and fixed a bug in setting the size of the grids. 2013-06-05 Patrick Eriksson * atmlab-2-1-365 * demos/qpack2_demo.m: Now abs_f_interp_order defined if wind retrieval, required due to change in arts. 2013-06-05 Gerrit Holl * atmlab-2-1-364 * collocations/CollocatedDataset.m: (verify_addis): - More informative error message (fix_dependencies): - Bugfix in error message generation * sensors/atovs/atovs_define_amsubl1c.m: - Added reference to docs in comment to reduce change of ambiguity * datasets/HomemadeDataset.m(store): - Check correct sizes, and if not found, give a helpful, informative error message. 2013-06-05 Patrick Eriksson * atmlab-2-1-363 * demos/qarts_scattering_demo.m: FOS was in an intermediate state. Now error if trying to use FOS. 2013-06-03 Patrick Eriksson * atmlab-2-1-362 * arts/qarts.m: Text for WSMS_AT_START was incorrect. Correct is that INCLUDES is called before WSMS_AT_START. * gformat/gf_empty.m: Adopted new assert expression, dim is allowed to be 0. * arts/qarts_abstable.m: Header text for optional arguments corrected and improved. Default for dt is now 1, the old of value of 3 is not a good one. 2013-06-03 Gerrit Holl * atmlab-2-1-361 * collocations/Collapser.m: (process_granule): - for the classical collocation situation (all or nothing), give deps_cols and memnames sensible defaults and make no. of arguments optional * collocations/FieldCopier.m: - add a private property oldlocalcols for internal use (process_granule): - for the classical collocation situation (all or nothing), give fields a sensible default and handle this properly. When reading a sibling failed, try to guess the width for the fields based on either previous experience, but preferably on a dims-field. Will give a warning if neither are found. Use oldlocalcols to communicate between subsequent calls. (needs_data): - Use 'realname' fields to determine if reading or not * collocations/FieldMultiInstrumentCopier.m: (needs_primary_data) (needs_secondary_data): - Handle properly the case where 'all' fields are requested. * collocations/CollocatedDataset.m: (collocate_granule): - Small addition to comments (collocate_and_store_date): - Fix allocation of addisread, addisprocess, addishas. Properly keep track of localcols (don't remember why exactly the change I did here). (read): - Be a little more verbose when reading from cache (deal_fields): - small fix (fix_dependencies): - Revert to old default if new argument not given * datasets/HomemadeDataset.m: (store): - Tell user how many collocs are written * datasets/dsmagic.m: - Properly relay isfield * datasets/define_datasets.m: - Expand valid_range for A_BT. Probably in error and actually a bug somewhere. 2013-05-31 Patrick Eriksson * atmlab-2-1-360 * atmlab/atmlab.m: Merged my and Salomon's text for STRICT_ASSERT. * arts/arts_abstable.m: Added check that target output file generated, to provide a proper error message. 2013-05-31 Salomon Eliasson * atmlab-2-1-359 * atmlab/atmlab.m: Added description about the new option (STRICT_ASSERT) in atmlab * geophysics/z2p_cira86.m: Use atmlab('STRICT_ASSERT') to skip the assertions. * gformat/gf_artsxml.m * gformat/gf_set_grid.m: * gformat/atmdata_regrid.m: * gformat/gf_regrid.m: * math/gridinterp.m: Put atmlab('STRICT_ASSERT') around assertions. * retrieval/qpack2/qpack2.m: * demos/qpack2_demo.m: Added some error identifiers and changed some & to &&, | to ||, and some length(x)>0 to ~isempty(x) to speed things up (probably slightly). * gformat/gf_empty.m: changed: rqre_alltypes( dim, {@istensor0,@iswhole} ); rqre_in_range( dim, 0 ); to assert(isnumeric(dim) && isscalar(dim) && all( dim - round(dim) == 0 )&& dim>0,... errid,'*dim* did not pass the test: @istensor0 && @iswhole') since it's the same and tic, toc says it's 1000x faster 2013-05-31 Patrick Eriksson * atmlab-2-1-358 * arts/qarts2cfile.m (cfile_AtmSrf): Added handling of VMR_NEGATIVE_OK. * demos/qpack2_demo.m: Min values defined for O3 retrieval. Comment around Q.VMR_NEGATIVE_OK added. * arts/arts_x2QR.m: R.minmax applied here. * arts/arts_oem_init.m: Now setting up a variable, R.minmax, that reflects ABS_SPECIES and T MINMAX, and allows that MINMAX is introduced also for other quantities. * arts/qarts.m: Added ABS_SPECIES.MINMAX, T.MINMAX and VMR_NEGATIVE_OK. 2013-05-31 Patrick Eriksson * atmlab-2-1-357 * arts/qarts2cfile.m: Added STRICT_ASSERT in one place. * retrieval/qpack2/qpack2.m: Now using STRICT_ASSERT. * atmlab/atmlab.m: Added STRICT_ASSERT. Will maybe be renamed. More information later. Updated text for WORK_AREA. 2013-05-30 Gerrit Holl * atmlab-2-1-356 * datasets/+satreaders/grasdir.m: - Fix dimensions, add version (unknown). * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added material for gras-amsua collocations * datasets/+satreaders/netcdf_dataset.m: - Adapt to changed behaviour in loadncvar 2013-05-29 Salomon Eliasson * atmlab-2-1-355 * gformat/gf_set_grid.m: Since this function may be called very many times, I sped this function up by a factor 2-3 by using assertions directly instead of the rqre_* functions * handy/combine_pdfs.m: Exchanged all the %f's with %g since there is no need to truncate values and the loss of precision was causing problems. 2013-05-27 Salomon Eliasson * atmlab-2-1-354 * handy/combine_pdfs.m: Fixed bad regular expression 2013-05-27 Salomon Eliasson * atmlab-2-1-353 * geoplots/gmt/psscale.m: exchanged %.0f with %g, because it's useless if I can't have tickspacing less than 1 * handy/combine_pdfs.m: got rid of needless assertion for vspace and hspace to be > 0 2013-05-27 Oliver Lemke * atmlab-2-1-352 * geophysics/z2p_cira86.m: Slight tweak. Allow empty Gc86z and Gc86t input to allow same call signature on first and following calls: cz=[]; ct=[]; [p,t,cz,ct]=z2p_cira86( 2000,80,100,cz,ct); [p,t,cz,ct]=z2p_cira86([1:1000]',45,100,cz,ct); 2013-05-27 Oliver Lemke * atmlab-2-1-351 * geophysics/z2p_cira86.m: Optionally return the original cira86 z_field and t_field. If the user has to call this function very often, he can cache the cira86 data and pass it in on following calls. This avoids reading the xml files over and over again. [p,t,cz,ct]=z2p_cira86(1000,45,100); [p,t] =z2p_cira86(2000,80,100,cz,ct); end 2013-05-24 Oliver Lemke * atmlab-2-1-350 * math/istensor0.m: Speed up by factor 10 by using isscalar. * math/istensor1.m: Speed up by factor 3-11 depending on input data. 2013-05-24 Oliver Lemke * atmlab-2-1-349 * arts/xml/xml*: strcat is evilly slow in Matlab. Replaced all occurrences with [] concatenation. Let me know if this breaks anything for you. Thanks to Salomon for making me aware it! Some before/after benchmarks: GriddedField4: >> tic, for i = 1:100, x = xmlLoad('cira86.z.xml'); end; toc Elapsed time is 4.657738 seconds. Elapsed time is 2.293827 seconds. ArrayOfIndex with 1000 elements: >> tic, for i = 1:10, x = xmlLoad('ai.xml'); end; toc Elapsed time is 14.921013 seconds. Elapsed time is 3.197786 seconds. ArrayOfString with 1000 elements: >> tic, for i = 1:10, x = xmlLoad('as.xml'); end; toc Elapsed time is 30.530031 seconds. Elapsed time is 6.121586 seconds. >> tic, qarts_demo2, toc Elapsed time is 3.432350 seconds. Elapsed time is 2.842945 seconds. >> tic, qpack2_demo, toc Elapsed time is 5.098557 seconds. Elapsed time is 4.428762 seconds. 2013-05-23 Patrick Eriksson * atmlab-2-1-348 * demos/qarts_demo2.m: Ah, warning added yeasterday works. DOY was given to qarts_atm_field, instead of MJD. * files/create_tmpfolder.m: Added a line removing whitespace from generated folder name. Needed as, for unknown reason, my user name now comes out with a leading space! 2013-05-23 Salomon Eliasson * atmlab-2-1-347 * arts/xml/xmlLoad.m: Added cobj = onCleanup(@()fclose(fid)); to make sure the fid is closed even if the code crashes later on 2013-05-22 Gerrit Holl * atmlab-2-1-346 * datasets/+satreaders/grasdir.m: Added - Read full directory of GRAS occultations as if it were a single granule. First version, work in progress but basics appear to work. 2013-05-22 Patrick Eriksson * atmlab-2-1-345 * Yes, there was a bug, but in a different way. atmdata_regrid takes only MJD is input date format (actually mentioned in header). The problem was that the cira86 functions sent in doy. Fixed and added a warning that hopefully shall catch bad usage in the future. (Discussed with Salomon before committing.) To be clear, the cira functions returned before data for doy-44. Sorry about that. * geophysics/z2p_cira86.m: * geophysics/p2z_cira86.m: MJD now sent to atmdata_regrid.m. * gformat/atmdata_regrid.m: Reverted Salomon's change. Added a warning, triggered if input days appear strange. 2013-05-22 Mathias Milz * atmlab-2-1-344 * gridcreation/annealing/join_fast_f_grid.m: Added join_fast_f_grid: Reads the f_grid from the individual channels which should be combined together with the annealing results of these channels and combines them to one long f_grid with the according weights in a sparse matrix 2013-05-22 Salomon Eliasson * atmlab-2-1-343 * gformat/atmdata_regrid.m: Fixed bug where dayofyear was being treated as a modified julian day. consequence of this is that the output from mjd2doy(doy) appears to be always doy-44, i.e. the day was silently shifted. I sent an email to atmlab_dev about this * time/mjd2doy.m: Make sure the input date is always double * geoplots/gmt/create_gmt_earth.m: small update * geoplots/gmt/test_gmt.m: Added another test and completely restructured function to make it easier to add new tests. * geoplots/gmt/gmt_plot.m: - Rearranged order of subfunctions. Made some other changes to the defaults * datasets/define_datasets.m: explictly set types for cloud_cci fieldcopiers * datasets/dardarsub_postprocessor.m: Added narginck * datasets/cpr_postprocessor.m: Added some more documentation * geophysics/z2p_cira86.m: Added identifiers to the errors * collocations/Collapser.m: Use newfield.stored.(procname).type if it is defined, istead of just always using 'float' 2013-05-22 Mathias Milz * atmlab-2-1-342 * gridcreation/annealing/loop_anneal.m: updated documentation * gridcreation/annealing/apply_annealing.m: Added. apply_annealing reads the required input from xml files (ARTS output), and uses the provided accuracy to initiate the loop to obtain the simulated annealing grid. The loop continues until the desired accuracy is reached. This run should be applied for each individual channel 2013-05-13 Patrick Eriksson * atmlab-2-1-341 * h2o/parametrisations/eps_water_liebe93.m: Removed alternative, inactive, internal version. Added comment explaining why result deviates slightly from epswater93. 2013-04-30 Patrick Eriksson * atmlab-2-1-340 * arts/qarts2cfile.m: Partly reverted last commit, following changes in arts. 2013-04-26 Patrick Eriksson * atmlab-2-1-339 * arts/qarts2cfile.m: Changed to use named version for GIN variables, for some WSM calls. (cfile_Absrpt): Added Ignore(rtp_pnd) to propmat_clearsky_agenda. 2013-04-26 Patrick Eriksson * atmlab-2-1-338 * atmlab/atmlab_init.m: Added new folder. * gridcreation/uniformsphere: Added this folder, with a set of functions to generate points giving an uniform sampling of a sphere. The functions are taken from the Matlab central. See Contents.m. 2013-04-25 Gerrit Holl * atmlab-2-1-337 * New feature in collocation toolkit. In addition to fully over-writing collocations (overwrite = 1) or skipping any cases where files already exist (overwrite = 0), one can can 'extend' any AssociatedDataset (at least FieldCopier, FieldMultiInstrumentCopier, Collapser, and their implementations). In this case, ONLY fields that are not already in the resulting file will be processed. * WARNING — change in collapser can cause inconsistencies with previously collapsed data! See below. * collocations/CollocatedDataset.m: (collocate_and_store_date): - In additional to "do not overwrite" and "do overwrite", implement "extend", triggered by overwrite = 2. (collocate_and_store_date_range): Tiny change (read): Ignore unused deal_index (collocate): - Ignore unused lon_grid1 - %#OK where I'm actually pre-allocating in a smart way. (deal_fields): - Pre-allocate cell array to shut up mlint. (fix_dependencies): - Adapt for new way of treating some fields only. Takes an additional argument describing the columns, and returns an additional one describing the columns. (meet_dependencies): - For the various additional datasets, make sure at least the fields within dependencies are read therefrom. * collocations/AssociatedDataset.m: (primary_arguments) (secondary_arguments) (needs_primary_data) (needs_secondary_data): - Changed abstract method signature. Now implementations must accept an input 'fields'. (process_granule): - Changed abstract method signature. Now implementations must accept additional inputs 'depcols', describing the columns in the dependencies, and 'fields', describing what fields are to be processed. Implementations should also output a second argument, 'localcols', describing the columns of the first one 'out'. (fields_needed_for_dependency): Added - New abstract method. For a certain dependency, describe what fields are needed. (process_delayed): - Added two new inputs and one new output. Since depies might no longer contain all fields, depcols now describes its columns. The 2nd new input 'fields' instructs what fields to process. The new output argument is a structure describing the columns of the 1st output. - Adapt for self.needs_primary_data, self.needs_secondary_data, self.primary_arguments, self.secondary_arguments, self.process_granule which all now take a 'fields' argument, and process_granule returns a localcols structure. * collocations/FieldCopier.m: (process_granule): - Improved. Only process fields that are asked to be processed. (primary_arguments) (secondary_arguments) (needs_primary_data) (needs_secondary_data): - Adapt for new signature, consider what fields are to be processed. Uses private methods 'arguments' and 'needs_data', respectively. (fields_needed_for_dependency): - Dummy implementation; FieldCopiers have no dependencies on other AssociatedDatasets. * collocations/Collapser.m: (process_granule): - Improved. Only process fields that are asked to be processed. This is a major change and might introduce bugs. - Do not remove collapsed fields just because all values happen to be flagged; this causes problems if such is different for subsequent collapsers of other fields based on the same original. Therefore, only remove if the global limitators say so. THIS CAN CAUSE INCONSISTENCIES WITH PREVIOUSLY COLLAPSED DATA! - Be more verbose in saying what is to be collapsed. (primary_arguments) (secondary_arguments) (needs_primary_data) (needs_secondary_data): - Adapt for new signature (but still all N/A). (get_cols_from_bro) (set_cols_from_bro): Helpers for new localcols. * collocations/FieldMultiInstrumentCopier.m: - Improved class documentation a bit (primary_arguments) (secondary_arguments) (needs_primary_data) (needs_secondary_data): - Adapted to changed signature. Mostly delegate everything to the 'child' FieldCopiers. (process_granule): - Now handles selective fields, outputs localcols. Mostly relies on changes in FieldCopier. * datasets/HomemadeDataset.m: (overwrite): Document new behaviour of property (store): - Implement new system of writing only some fields. If self.overwrite=2, the netcdf file is opened for appending, it is not overwritten. In this case, no global attributes are written (although they should, there's a FIXME). Variables that are already there are also not written (this should be improved). (linesize): - When estimating linesize, consider localcols. * datasets/SatDataset.m: (read_granule): Small doc improvement * datasets/define_datasets.m: - Adapt fields for associated_CPR_MHS_AMSU_HIRS and its collapser. No more profiles, but add liquid. No more coefficienc of variation, change frac100 to frac40 to correspond to result in Eliasson et al. (2013). * files/quickly_read_gzipped_netcdf_header.m: Added - Risky little function that unpacks the first couple of kB for a NetCDF file and tries to read it in order to return a cell array of contained variables. This allows te quickly look what names exist, without having to read a possibly huge file or even to gunzip it completely. This is risky because premature truncation of a NetCDF header crashes Matlab completely. Use at your own risk.Z * handy/safegetfield.m: Added - safegetfield(S, field, alt) returns S.(field) if field exists, alt otherwise. * handy/rqre_subset.m: Added - For two cell arrays, assert that one is a subset of the other. * collocations/colloc_config.m: Deprecate. 2013-04-24 Gerrit Holl * atmlab-2-1-336 * files/type_nc2ml.m: Added, convert from nc-type to matlab-type 2013-04-24 Salomon Eliasson * atmlab-2-1-335 * datasets/read_isccp.m: # Added generic ISCCP reading routine that can: - Read DX data (15km, 3rly) and output the results into a nice structure - Cannot not yet read the D1 dataset (250*250km,3hrly). Have put a placeholder for future implementation. - Can read the D2 dataset (250*250km, monthly mean). Currently the output format is in a legacy format and therefore doesn't match the function documentation (will be fixed when there is time). * datasets/+satreaders/isccp_dx.m: - updated to read read_isccp() * math/hist2d.m: - Added missing function. This function is called by scatter_density_plot but only existed locally on Gerrits and my computers. 2013-04-23 Gerrit Holl * atmlab-2-1-334 * datasets/define_datasets.m: - Added avhrr_capsed - Added some more fields for CPR (progress in progress) (mem2fc): Prepare fc members field for a fc's input field * site-specific/kiruna/datasets_init.m: - Added associated_cacmah_avhrr and collapsed_cacmah_avhrr * handy/get_columns: - Expanded, now takes either cell array or structure * datasets/HomemadeDataset.m(store): - Bugfix: do not flag ALL data if some are invalid, only those that are invalid - Small wording change * datasets/+satreaders/avhrr.m: - Temporary solution for flag_3_is_3A. * math/column_integrate.m: Write to atmlab('OUT'), not to 1 * collocations/Collapser.m: (process_granule): - When collapsing and it takes a long time, post some progress info every 10 minutes (read_homemade_granule): - Bugfixes, now correctly reading scalar and non-scalar fields * collocations/AssociatedDataset.m(process_delayed): - Keep user informed of progress * collocations/CollocatedDataset.m(deal_fields): - Change access permissions * files/uncompress.m: Bugfix (c -> cur) 2013-04-20 Salomon Eliasson * atmlab-2-1-333 * geoplots/gmt/gmt_plot.m: - Filename handling a bit smarter. Now looks for a suffix that indicates the type of file you want (e.g, pdf,jpg,png, etc), and will then create an output file in that format. If no suffix is present (or it's not a valid file type for gmt), then the output file is .pdf - supported figure types are: 'eps','pdf','BMP','jpg','PNG','PPM' (not recommended), or 'tif' - Added the fields: in.annot_font_size_primaty: sets the font size of primary annotations in.header_font: there are 35 fonts to choose from. - Changed the input type expected of a few variables. The fields: in.map_width,in.extra_legend.fontsize, and in.legend.{fontsize,length,width,xpos,ypos}, all changed their expected input from [%f] to [%s or %f]. The reason for this is increased flexibility. With a string, both the interger and unit are given (e.g. '17c'=17cm). Earlier the input %f was assumed to be a certain unit, often inches. If the input is %f, the globally set in.measure_unit is used for the unit - Renamed some fields. in.title => in.header in.headersize => in,header_font_size in.legend.annot_font_size_primary => in.legend.fontsize Some fields that have changed are still backwards compatible, some not. However, all input variables and fields are firstly checked to make sure they are the right type, and if not, the error message indicates what variable type is expected. - Much better default handling of the legends. - Restructured the help section so that it is easier to follow * geoplots/gmt/psscale.m: * geoplots/gmt/test_gmt.m: * geoplots/gmt/gmt_inputs.m : Adapted to new variable types. * geoplots/gmt/create_gmt_earth.m: - Added some more gmtdefaults. - Much improved handling of default legend options * geoplots/gmt/extra_legend.m: added error is mandatory input fields are missing * geoplots/gmt/separate_integer_and_unit.m: Added a little function that separates the integer and unit from a string. I use this a lot for options in gmt. e.g., '9i', '-23.534cm' gives [9,'i'], and [-23.534,'cm'] respectively. If the input is scalar, the unit is '' * geoplots/gmt/grdcontour.m: * geoplots/gmt/psbox.m: * geoplots/gmt/pslocations.m: * geoplots/gmt/pscoast.m: Small update for cleaner output * handy/combine_pdfs.m: Added a little extra room at the top of the pdf if you have a title * datasets/+satreaders/isccp_dx.m : Added reader satreader for isccp_dx 2013-04-19 Gerrit Holl * atmlab-2-1-332 * collocations/Collapser.m: (fieldstruct): Document new '.profile' setting. (process_granule): - Add capability to correctly collapse profiles. - Keep track of time to inform user how much progress is being made. (set_cols_from_bro): Added - For a collapsed dataset, derive cols-structure not from members-structure, but from the corresponding AssociatedDataset, so that users don't need to specify dimensions by hand. * collocations/FieldCopier.m(process_granule): - Flood the screen less when many sibling-fields are being read. * collocations/CollocatedDataset.m(list_fields): - Added warning to documentation, informing on limitations * datasets/define_datasets.m: - Added CPR_ECMWF - Include several ECMWF fields in associated_CPR_MHS_AMSU_HIRS - Updated associated collapser - Added AVHRR - Still working on cacmeh-fieldcopier - Added subfunction collapsed2fc * documentation/collocations.tex: - Started section on features. Work in progress. * site-specific/kiruna/datasets_init.m: - Added CPR_ECMWF * datasets/HomemadeDataset.m: (store): - Before writing, estimate future size (linesize): - Return the size (on disk) of a single collocation 2013-04-19 Patrick Eriksson * atmlab-2-1-331 * demos/qarts_scattering_demo.m: Restart for FOS ... * arts/qarts2cfile.m (cfile_Absrpt): The call of propmat_clearsky_agenda_checkedCalc now in this sub-function. 2013-04-19 Gerrit Holl * atmlab-2-1-330 * datasets/dsmagic.m: Added - Looks like a structure, feels like a structure, but secretly communicates with datasets() so that it gets updated whenever a dataset is added. * datasets/datasets.m: - Use dsmagic, refactored code. * datasets/define_datasets.m: - No need to recall datasets() so often anymore. Started work toward adding AVHRR to the collocations. Still in progress. * documentation/collocations.tex: - Write a bit more about the FieldCopier capabilities * collocations/Collapser.m(process_granule): - Fixed bug when using missing_value for collapsed statistic * collocations/CollocatedDataset.m(collocate_and_store_date): - Small correction in text written to stdout 2013-04-17 Patrick Eriksson * atmlab-2-1-329 * demos/qarts_backend_demo.m (qarts_backend_demo): New. * h2o/thermodynamics/spechum2e.m: Function name was wrong in header. * atmlab/atmlab.m: Replaced an ~ with a dummy variable (u) on output side. The ~ feature is quite new and can cause problems, such as for version 7.8 that I have on my laptop. 2013-04-17 Gerrit Holl * atmlab-2-1-328 * collocations/Collapser.m(read_homemade_granule): - Added. Calls self.parent.read, so now we can collocate collapsed datasets correctly. * sensors/atovs/avhrr_gac_read.m: - Fix order of dimensions - Read header to determine no. scanlines * sensors/atovs/avhrr_gac_read_raw.m: - Read header to determine no. scanlines * time/unixsecs2date.m: - Semi-revert previous edit. Previous edit fixed one bug (loss of precision), but doesn't work for vectorised input. Now check for vectorisation and choose based on that. * site-specific/kiruna/datasets_init.m: - Added avhrr and Collocated_cacmah_avhrr * handy/getfields.m: Added. Get multiple fields from struct. * handy/get_columns.m: Added. Get 'named' columns from matrix. * datasets/HomemadeDataset.m: (HomemadeDataset): Define granule_duration (cast_fields_back): Added. Cast fields from matrix back to struct. * datasets/SatDataset.m: (read_granule): - Various fixes (find_granule_first_line): - Don't crash if data are empty * datasets/+satreaders/avhrr.m: - Adapted to new in-house avhrr reading routine * datasets/define_datasets.m: - Added avhrr and cacmah_avhrr. Rewrote subfunction getSelection. 2013-04-17 Gerrit Holl * atmlab-2-1-327 * collocations/Collapser.m(process_granule): - Big speedup by simply caching some function calls outside the loop, even simple ones like ~isempty. Now spends most of the time in essential parts. * collocations/AssociatedDataset.m(process_delayed): - Inform on how many segments are to be processed. * handy/flat.m: Helper to flatten array in-place 2013-04-17 Salomon Eliasson * atmlab-2-1-326 * geoplots/gmt/test_gmt.m: Added back the utf-8 characters * handy/PersistentCachedData.m: Added workaround alternative way to find the free disk space if you are on a Mac * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: Added Collapser: dardar_modis_cprLidar_closest * graphs/scatter_density_plot.m: bugfix: use paddedx and paddedy in plot_medians() call 2013-04-16 Gerrit Holl * atmlab-2-1-325 * sensors/atovs/avhrr_gac_read.m: (avhrr_gat_read): - Added documentation - Added capability to read arbitrary fields - Define epoch appropriately (calibrate_avhrr): - Adapt to data_line being scalar structure with vector members - Flag data if particular bits are set (bad calibration, geolocation...) (navigate_avhrr): - Added routine to 'navigate', that is get lat/lon per footprint. Uses spline interpolation "inspired" by IDL code from Nigel Atkinson. * sensors/atovs/avhrr_gac_read_raw.m: - Check data integrity before proceeding to read binary data (quite basic check) - Vectorise reading by reading all data, then typecasting in a clever way. Much faster (>factor 10) now. * sensors/atovs/unpack_bip.m: - Speedup by "caching" words. * sensors/atovs/avhrr_define_gac_l1b.m: - Add 'cast_type' for new direct-casting usage * sensors/atovs/avhrr_gac_read_data.m: Deleted, obsolete. 2013-04-16 Patrick Eriksson * atmlab-2-1-324 * demos/qarts_ppath_demo.m (qarts_ppath_demo): New. * demos/qarts_demo.m: Fixed comment typo. 2013-04-15 Gerrit Holl * atmlab-2-1-323 * sensors/atovs/avhrr_define_gac_l1b.m: - Moved code to calculate types and sizes for reading here, it needs to be done only once per field after all. * sensors/atovs/avhrr_gac_read.m: (avhrr_gac_read.m): - Also read avh_sclintime and avh_pos - Call measurement 'y' because it's either Tb or albedo (calibrate_avhrr): - Add visible channels - Warn on negative radiances but don't crash on them, just set them to 0 - More commenting (navigate_avhrr): - Started work on navigation part. Unfinished. * sensors/atovs/avhrr_gac_read_raw.m: - Various speedups, twice as fast now, mainly by moving things out of loops, and by replacing cellfun with explicit loop. Should still be improvable (single file takes 30 seconds...). 2013-04-12 Gerrit Holl * atmlab-2-1-322 * sensors/atovs/avhrr_gac_read.m: Added - Major progress toward a reading routine for AVHRR GAC. Current status: reading and calibrating the thermal channels appears to work. Geolocation and solar channels still to be done. * sensors/atovs/unpack_bip.m: - Added FIXME that this function should be vectorised. * sensors/atovs/avhrr_gac_read_raw.m: - Change default behaviour. By default, read all lines rather than none. * handy/c.m -> handy/cur.m, handy/p.m -> handy/par.m: Renamed. * datasets/HomemadeDataset.m(read_single_day): - Graciously handle dataless day * datasets/+satreaders/cpr.m: - Bugfix as to for what epochs we have version numbers. This is a temporary solution until the reading routines are adapted. * handy/PersistentCachedData.m: - Actually convey some facts in the error message * collocations/CollocatedDataset.m: (read): - When verifying addi granule consistency, also pass date - Build a try/catch around the attempts to store a cache entry. If I can't store a cache entry, simply go on and don't crash, as caching is a luxury anyway. (verify_addi_granule_consistency): - Take the date as an argument (was erroneously writing the current date in the error message). * sensors/atovs/avhrr_gac_read_data.m: Nanochanges. 2013-04-11 Salomon Eliasson * atmlab-2-1-321 * geoplots/gmt/gmt_plot.m: - Fixed bug for horisontal legends. - ensure that the data input to the netcdf save is double * geoplots/gmt/create_gmt_earth.m: Fixed bug in header_offset * geoplots/gmt/test_gmt.m: Removed utf-8 stuff because Mac can't handle it * handy/combine_pdfs.m: forgot to have a default title (title='') 2013-04-11 Salomon Eliasson * atmlab-2-1-320 * collocations/Collapser.m: Added Gerrit's fixes that he did locally to not throw away valid footprints where one or some limiters return a missing value * geographical/ungridded2gridded.m: - More descriptive header. - Some more defaults. * site-specific/kiruna/datasets_init.m: Added ISCCP dx dataset * datasets/cpr_postprocessor.m: Adapted for multiLayer cloud Types * datasets/define_datasets.m: - Added ISCCP datasets. - Added for more pseudo_fields for cpr and MODIS datasets - read iwp_error instead of cwp_uncertainty in cloud_cci - dardar fieldcopier - setup to read cloud_types_multilayer instead for modisdarar_cloudtypes collocated dataset. - Adapted multilayer cloud types product * handy/combine_pdfs.m: Added capability to add a title and adjust its font size. 2013-04-08 Oliver Lemke * atmlab-2-1-319 * lineshape/faddeeva/: Ignore *\.mex*64 2013-03-28 Richard Larsson * atmlab-2-1-318 * atmlab/atmlab_mex.m: Added This file is infrastructure for the compilation of non-matlab code. Assumes the user has set up their mex compiler themselves already. * atmlab/atmlab_init.m: Changed Added path to the faddeeva function. * lineshape/faddeeva/*: New functionality Allows the user to call Faddeeva* functions. For mor information see the included README. This is exactly the same file and functionality that is included in ARTS presently. 2013-03-27 Gerrit Holl * atmlab-2-1-317 * handy/p.m: Added - Function equivalent of parenthesis, allowing for more compact code * handy/c.m: Added - Function equivalent of curly braces, allowing for more compact code * graphs/fill_between.m: Added - Analogue to matplotlibs fill_between, for filling an area between two lines * graphs/zerowhite.m, graphs/zerowhite2.m: Small change - In documentation added "see also" pointing to zerowhite, zerowhite2, and zerobright. * graphs/sanepcolor.m: Added - From Matlab file exchange. Like pcolor, but values relate to edges, not vertices. * graphs/drywet.m: Added - Colourmap ranging from field drab via white to midnight blue * graphs/zerobright.m: Added - Scale, stretch and centre colourmap so that the brightest colour, for example white, gets assigned to white. * graphs/save_figure_multi.m: - Added check if no figures are asked to be written at all. * collocations/Collapser.m(process_granule): Bugfix - Members-struct was "smartly" overwritten causing information on flags to be lost for collapsed fields. * collocations/CollocatedDataset.m(collocate_and_store_date_range): - For some reason logtext(self.log) occasionally fails. Comment out until I know why. * files/uncompress.m: - Added option to specify tool to uncompress with (shell or builtin). Defaults to old behaviour. * sensors/read_cloudsat_hdf.m: - Added try-catch in case uncompress fails, as sometimes it succeeds with the builtin tool even if it fails with 'unzip'. * datasets/HomemadeDataset.m(read_single_day): - Adapt error text if invalid data are found * datasets/SatDataset.m(read_granule): - Do not try to read/write cache if cache is not setup - Gracefully handle if data cannot be read due to shell-reported error * datasets/+satreaders/cpr.m: - Added workaround for missing attributes in E05/E06, set product_version to dummy * datasets/define_datasets.m: - Define missing_value for CV_ROIWP 2013-03-27 Ole Martin Christensen * atmlab-2-1-316 * gformat/gf_save.m: Added check for matlabversion and if version > 7.3 then save with the option '-v7.3' to accomodate files greater than 2 GB. 2013-03-27 Oliver Lemke * atmlab-2-1-315 * atmlab/atmlab.m: Use system instead of exec_system_cmd. There are more risks to run into the recursion bug in the future. E.g. if the default verbosity of exec_system_cmd would be changed to 1 for some reason, the recursion would be triggered by exec_system_cmd's call to logtext. It also depends on atmlab(). This function is so essential and at the core of atmlab that it should not call other atmlab functions itself. * handy/exec_system_cmd.m: Put back stuff I commented out in previous commit. 2013-03-26 Oliver Lemke * atmlab-2-1-314 * handy/exec_system_cmd.m: Commented out previous change. exec_system_cmd must not call atmlab() because it is itself called by atmlab() -> booom!!!. Leads to endless recursion in startup.m. 2013-03-26 Salomon Eliasson * atmlab-2-1-313 * datasets/cpr_postprocessor.m: - Cleaned up a little, and implemented a new behaviour with the cloud types * datasets/cloud_cci_postprocessor.m: - Updated for new field names * handy/combine_pdfs.m (combine_pdfs): - Added input option 'display'. If true it will try to open the final output .pdf-file * handy/exec_system_cmd.m: - Internally set atmlab('VERBOSITY') to verbose (2nd input argument). This is later reset to the initial atmlab('VERBOSITY') value when the function is exited 2013-03-21 Patrick Eriksson * atmlab-2-1-312 * arts/qarts2cfile.m: Adopted to new abs_speciesSet. abs_xsec_agenda_checkedCalc and propmat_clearsky_agenda_checkedCalc included automatically for standard usage. * demos/qarts_demo.m: * arts/qarts2cfile.m (cfile_AtmSrf): * arts/qarts.m (qarts): Removed EDENSITY_FIELD, as done in arts. 2013-03-20 Gerrit Holl * atmlab-2-1-311 * datasets/SatDataset.m: (read_granule): - Bugfix, use datahash for correct generation of cache (find_granule_first_line): nano-change * collocations/AssociatedDataset.m(process_delayed): - Improve error message when data are not properly sorted. * collocations/CollocatedDataset.m: (collocate_and_store_date), (collocate_date): - Added flag 'autofix', if data are b0rked it will try to fix it by recollocating immediately. * datasets/define_c2dp.m, datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Split c2dp into mhs/amsub * datasets/define_datasets.m: Bugfix for amsub 2013-03-19 Patrick Eriksson * atmlab-2-1-310 * retrieval/mci.m: Mofified header to make clear the p is optional input argument. Introduced M.norm_w (default keeps old behaviour). Changed the normalisation to use the median of the PDF (instead of mean), small impact but keep the mean of w a bit closer to 1. Note that the mean of w tend to be above 1, from 1.2 for m=3 to 3.3 for m=10 (assuming perfect knowledge of S). 2013-03-18 Gerrit Holl * atmlab-2-1-309 * collocations/Collapser.m, collocations/FieldCopier.m, collocations/AssociatedDataset.m, collocations/FieldMultiInstrumentCopier.m, collocations/AssociatedPOESPlusCPR.m, collocations/CollocatedDataset.m, datasets/HomemadeDataset.m, datasets/SatDataset.m, datasets/CollocatedMicrowaveOnlyIWP.m: - Make all properties transient, effectively prohibiting serialisation. * collocations/SatDataset(saveobj): - Issue a warning (errors don't work) when trying to serialise data, pointing out that it's not going to work. 2013-03-14 Gerrit Holl * atmlab-2-1-308 * graphs/save_figure_multi.m: Added - Helper function to store a figure in multiple formats, e.g. eps/png/fig * datasets/SatDataset.m(find_granule_first_line): - If no granules found, simply return after reporting so, don't subsequently crash. 2013-03-13 Oliver Lemke * atmlab-2-1-307 * arts/qarts2cfile.m (cfile_Absrpt): Initialize abs_xsec_agenda. 2013-03-13 Oliver Lemke * atmlab-2-1-306 * arts/qarts2cfile.m: Adapt for change in arts-2-1-549 abs_mat_per_species renamed to propmat_clearsky. 2013-03-12 Oliver Lemke * atmlab-2-1-305 * handy/freeRAM.m: Output on Mac was GB instead of MB. 2013-03-11 Salomon Eliasson * atmlab-2-1-304 * handy/freeRAM.m: Slight update in header and error message * datasets/modis_postprocessor.m: Added more pseudo_fields * site-specific/kiruna/datasets_init.m: Updated some paths 2013-03-07 Patrick Eriksson * atmlab-2-1-303 * Note compatibility braking change in atmlab and prstnt_struct !!! * arts/qarts_atm_field.m: * arts/qarts_vmr_field.m: Header was vague regarding input time arguments. Variables also renamed for clarity. * gformat/isatmdata.m: Description of hour-dimension slightly extended. * gformat/atmdata_regrid.m: Minimal change of header. * atmlab/atmlab.m: No active change, but note that the change below affects this function. Now this v = atmlab( 'VERBOSITY', 2 ); atmlab( 'VERBOSITY', v ); gives no change. The VERBOSITY at end the original value, while before this would set VERBOSITY to 2. * handy/prstnt_struct.m: Changed behaviour when setting a field. The returned value is now the old value. Before it was the new. This is more consistent with similar matlab functions, as pointed out by Gerrit. 2013-03-07 Oliver Lemke * atmlab-2-1-302 * demos/qarts_mcdoit_demo.m: Need to pass rtp_pos instead of rte_pos to InterpAtmFieldToRtePos now. 2013-03-07 Oliver Lemke * atmlab-2-1-301 * pyarts/tmatrix.py.tmplt: Fix template to work with latest PyARTS. 2013-03-07 Gerrit Holl * atmlab-2-1-300 * collocations/CollocatedDataset.m(collocate): - Bugfix: if grids extend to the poles, no. of lon-cells to check for particular lat becomes infinite. Explicitly maximize to total no. of lons. 2013-03-07 Salomon Eliasson * atmlab-2-1-299 * math/column_integrate.m: Made a message clearer * geographical/resample_geodata.m: Esthetics * datasets/define_datasets.m: - Fixed bug in a pseudo field (atts wrong level) - Fixed unlikely bug in one of my collapsers - Update valid ranges for the new cloud_cci data * datasets/dardarsub_postprocessor.m: Assigning missing_value instead of allowing the data to be NaN; * site-specific/kiruna/datasets_init.m: updated paths 2013-03-06 Gerrit Holl * atmlab-2-1-298 * math/DataHash.m: Added - Actually been using this one for months, but never added, oops. 2013-03-04 Gerrit Holl * atmlab-2-1-297 * collocations/Collapser.m(process_granule): - Give an understandable error message if the processor does not return a correctly sized bit of data to fit into the collapsed dataset (basically [1 ncol]). 2013-03-04 Gerrit Holl * atmlab-2-1-296 * math/bin.m: - Reïmplemented. Sorting the data first yields a much faster algorithm. * collocations/CollocatedDataset.m(collocate): - Use self.cache for the gridding, because subsequent pairs often share at least one granule. * handy/CachedData.m(evaluate): - Improve documentation - Improve verbosity 2013-03-04 Gerrit Holl * atmlab-2-1-295 * math/bin.m: - Oops, don't do the same work twice. * collocations/CollocatedDataset.m(collocate): - Be more verbose in informing user what I'm gridding and how 2013-03-04 Gerrit Holl * atmlab-2-1-294 * math/vec2col.m: - Define wid before use 2013-03-04 Gerrit Holl * atmlab-2-1-293 * math/bin_nd.m: - Bugfix. Now it works correctly and fast! However, remains in β. * math/vec2col.m, math/vec2row.m: - Make sure return value is always a column/row vector, even if one dimension is 0 - Issue a warning if all dimensions are 0, because then making it a column/row vector is impossible. * math/binned_statistics.m, math/binning.m: - Link to related functions * math/bin.m: - Make sure one always returns a column vector, even in corner cases. * collocations/CollocatedDataset.m: - Added property 'binning', set by default to 'experimental' which means 'collocate' uses bin_nd as opposed to binning_fast. Alternatively set to 'classical' to use binning_fast. - Set default gridsize to 1 to account for the faster binning. (collocate): - Optionally use bin_nd, much faster and same results as binning_fast. Still experimental. If you run into trouble, set property 'binning' back to 'classical'. 2013-03-04 Gerrit Holl * atmlab-2-1-292 * math/bin_nd.m: Much faster binning function. For 200k elements, 20x faster than binning_fast. Not ready for production-use yet, still being tested, but promising results. * math/binning_fast.m: Use uint32 not class(indata) for counts. * datasets/SatDataset.m(find_granules_by_datetime): Bugfix 2013-03-04 Salomon Eliasson * atmlab-2-1-291 * datasets/define_datasets.m: Removed mattype='single' because this was not enough 2013-03-04 Salomon Eliasson * atmlab-2-1-290 * collocations/CollocatedDataset.m: added a \n in a logtext. * datasets/cloud_cci_postprocessor.m: Added uncertainty fields * datasets/define_datasets.m: * site-specific/kiruna/datasets_init.m: Changed the names of some of the fieldCopier datasets and fields to be more consistent. Changed the paths for the same reason * datasets/modis_postprocessor.m: * datasets/+satreaders/modis.m: Moved pseudo_field-stuff to its own postprocessor function 2013-03-04 Gerrit Holl * atmlab-2-1-289 * collocations/CollocatedDataset.m, documentation/collocations.tex: - Explained in various places why one might want to change the gridsize * datasets/README: - Adapted for the new common_read replacements - Refer to collocations user's guide. 2013-03-01 Gerrit Holl * atmlab-2-1-288 * datasets/common_read_*.m -> datasets/+satreaders/*.m: - Move all (not so) common_read_-functions to their own namespace. * datasets/MaskInvalidGeoTimedataWithNaN.m, datasets/datasets_constants.m, datasets/define_datasets.m: - Update to reflect refactoring of common_read_-functions * datasets/+satreaders/Contents.m: - Write introduction + interface documentation 2013-03-01 Gerrit Holl * atmlab-2-1-287 * collocations/AssociatedDataset.m: (merge) → (merge_matrix): - Rename. Now one can either merge them in matrix-form or in struct-form. - Adapted documentation accordingly (merge_struct): - New method for merging output from read_homemade_granule * collocations/Collapser.m: (merge) → (merge_matrix): Rename (merge_struct): Added stub (not implemented) * collocations/FieldMultiInstrumentCopier.m(process_granule): - Adapted for merge → merge_matrix * collocations/CollocatedDataset.m: (verify_addi_granule_consistency): - Check that additional granule was actually generated with relation to core granule (read): - Use self.verify_addi_granule_consistency (read_homemade_granule): - Make protected * datasets/convert_dardar.m: - .getmembers() → .members * datasets/SatDataset.m: (level3): - Added warning that this is not finished (add_collocated_dataset): - Make protected * datasets/HomemadeDataset.m: - Changed access of some methods 2013-03-01 Salomon Eliasson * atmlab-2-1-286 * collocations/CollocatedDataset.m: Removed unused error case: 'atmlab:FieldCopier:nosibling' * site-specific/kiruna/datasets_init.m: Changed name of cprCldclass to cprCloud for consistency * datasets/common_read_cloud_cci.m: * datasets/common_read_dardarsub.m: Moved pseudo_fields part to postprocessor function. * datasets/cloud_cci_postprocessor.m: Added postprocessor to make pseudo fields for cloud_cci * datasets/dardarsub_postprocessor.m: Added postprocessor to make pseudo fields for dardar * datasets/define_datasets.m: - Fixed some issues with the pseudo_fields. - Decided to restructure the funtion. - getSelection is its own subfunction - all the dataset fields are now gathered and listed in a subfunction at the end of the file. 2013-02-28 Patrick Eriksson * atmlab-2-1-285 * h2o/thermodynamics/spechum2e.m (spechum2e): New. * h2o/thermodynamics/e2spechum.m (e2spechum): Polished the header. 2013-02-28 Gerrit Holl * atmlab-2-1-284 * collocations/Collapser.m, collocations/FieldCopier.m, collocations/AssociatedDataset.m, collocations/FieldMultiInstrumentCopier.m, collocations/AssociatedPOESPlusCPR.m, collocations/CollocatedDataset.m, datasets/SatDataset.m, datasets/HomemadeDataset.m: - Expose less methods to the public * datasets/HomemadeDataset.m, collocations/AssociatedPOESPlusCPR.m: - Make members a Dependent property - Use getter and setter for members - Get rid of setmems() and getmembers() hack, just use .members. * datasets/HomemadeDataset.m(pos2re): - Bugfix for certain homemade-datasets, more generous re now. 2013-02-27 Salomon Eliasson * atmlab-2-1-283 * datasets/SatDataset.m: Fixed bug in determining the names of the dependent fields belonging to pseudo_fields * datasets/define_datasets.m: * site-specific/kiruna/datasets_init.m: Added quite a few new datasets, added pseudo_fields * datasets/common_read_cpr.m: Removed subfunction dealing with pseudo_fields. This is now taken care of by the function to be used by the new SatDataset method reader_processor. (e.g., self.reader_processor = @cpr_postprocessor) * datasets/cpr_postprocessor.m: Added * deprecated/common_read_cpr_2BCWCRO.m: Moved to depricated. Deprecated since it is not general and common_read_cpr.m is a better suited to read all kinds of cloudsat data. * deprecated/cloudsat_read_zipped.m: Moved to depricated. Deprecated by the change to read_cloudsat_hdf.m * sensors/read_cloudsat_hdf.m: Added code to automatically uncompress (and later delete the uncompressed) input file if it ends in .gz,.zip, or .bz2 2013-02-27 Gerrit Holl * atmlab-2-1-282 * collocations/CollocatedDataset.m: (verify_addis): - New private method that verifies that AssociatedDatasets are actually registered with self. (collocate_and_store_date) (collocate_date) (collocate_granule): - Use self.verify_addis(...) 2013-02-25 Patrick Eriksson * atmlab-2-1-281 * geodetic/r_crossing.m:Added two missing ; * geodetic/geodetic2cart.m: Gave wrong result. DEG2RAD and RAD2DEG was mixed up. 2013-02-25 Gerrit Holl * atmlab-2-1-280 * datasets/SatDataset.m: - Added two new members: 'reader_processor' and 'pseudo_fields'. See documentation for details. (read_granule): - Allow for pseudo fields. For pseudo fields, the fields listed in the dependencies are passed on to 'reader' whereas the pseudo fields are passed on to 'reader_processor'. See documentation for the new members for details. - Verify that all expected fields are actually there. 2013-02-23 Patrick Eriksson * atmlab-2-1-279 * demos/qpack2_demo.m: Made P_GRID coarser. Retrieval grids are now set based on P_GRID, that is beneficial to keep representation errors low. * retrieval/qpack2/qpack2.m: Added oem's X as output, to make it possible to obtain e.g. Xiter. 2013-02-22 Ole Martin Christensen * atmlab-2-1-278 * demos/qarts_demo2.m: Added ANTENNA_DO = true so that the antenna pattern calculation is perfomed. * demos/qarts_demo.m: Added ANTENNA_DO = true so that the antenna pattern calculation is perfomed. 2013-02-22 Gerrit Holl * atmlab-2-1-277 * collocations/FieldCopier.m (process_granule): - Added one more error-identifier to list of error-identifiers that are expected if sibling can't be read. 2013-02-21 Patrick Eriksson * atmlab-2-1-276 * demos/qarts_scattering_demo.m * demos/qarts_demo.m (qarts_demo): Updated to "rtp". * arts/qarts2cfile.m: Changed some hard-coded settings related to rte -> rtp changes. * arts/arts.m: ARTS errors were printed twice. 2013-02-20 Salomon Eliasson * atmlab-2-1-275 * documentation/Makefile (clean): Added all the things that should be included in clean 2013-02-19 Gerrit Holl * atmlab-2-1-274 * documentation/collocations.tex: Expanded significantly. 2013-02-19 Gerrit Holl * atmlab-2-1-273 * datasets/SatDataset.m, collocations/FieldCopier.m, collocations/CollocatedDataset.m, datasets/HomemadeDataset.m: More cross-pointers between different types of documentation. * documentation/collocations.tex: Started on expanding this. 2013-02-19 Gerrit Holl * atmlab-2-1-272 * datasets/HomemadeDataset.m: - Added property 'mattype', defaults to 'double', can be set to 'single' as for the type used internally for the collocations. Saves 50% memory but may lead to loss of precision. * collocations/FieldCopier.m(process_granule): - Catch case when sibling was found, but cannot be read. - Use self.mattype * collocations/CollocatedDataset.m: Use self.mattype * datasets/common_read_cpr.m: Don't overcatch 2013-02-19 Salomon Eliasson * atmlab-2-1-271 * datasets/common_read_cpr.m: intermediate commit for error handling * datasets/common_read_cloud_cci.m: Fix bug of not always look for scale_factor and add_offset 2013-02-14 Salomon Eliasson * atmlab-2-1-270 * datasets/common_read_dardarsub.m: Adapted to the height vector no longer being included in the data, but instead a part of the meta-data of the defined dataset. * datasets/common_read_cloud_cci.m: Adapted to new loadncvar conventions * datasets/define_datasets.m: Added missing attributes for all considered variables. * datasets/HomemadeDataset.m: Fixed error in last commit by me 2013-02-14 Gerrit Holl * atmlab-2-1-269 * datasets/convert_dardar.m: - Get rid of height - Apply factor, offset, missing_value for temperature * datasets/define_datasets: - For dardarsub, add 'dims' for effective_radius and ln_effective_radius_error. Also add missing_value and valid_range for temperature. 2013-02-14 Salomon Eliasson * atmlab-2-1-268 * datasets/define_datasets.m: Added missing missing_value for 2C-ICE. 2013-02-14 Salomon Eliasson * atmlab-2-1-267 * datasets/define_datasets.m: Fixed typo that was about to make it into the saved datasets attributes 2013-02-14 Gerrit Holl * atmlab-2-1-266 * collocations/FieldCopier.m(process_granule): - Bugfix when the primary core was not requested, the primary sibling was not found, and a ref-lat was expected. 2013-02-14 Salomon Eliasson * atmlab-2-1-265 * files/uncompress.m: Added some more help text * sensors/ssmt2_read_ngdc.m: * datasets/HomemadeDataset.m: Adapted to the ncattributes being structures and not cells * datasets/define_datasets.m: - Added height as metadata to dardar_subsel since this is the same in all granules that I tested and therefore does not need to be repeated. - Added some missing_values 2013-02-13 Gerrit Holl * atmlab-2-1-264 * datasets/SatDataset.m: - Add property `metadata`, that can be used for arbitrary information. It's not used by the toolkit. * datasets/common_read_netcdf_dataset.m: - Make clear that this is only for reading *homegrown* netcdf datasets. 2013-02-13 Gerrit Holl * atmlab-2-1-263 * collocations/FieldCopier.m(process_granule): - Fixed bug related to reflat. Coincidentally, the code is simplified too. Should now treat all combinations of core and additional existing or not for either primary or secondary. 2013-02-13 Salomon Eliasson * atmlab-2-1-262 * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: Added CPR_2C-ICE and a fieldcopier 2013-02-13 Salomon Eliasson * atmlab-2-1-261 * files/loadncvar.m: Un-broke backward compatibility for those that want the global attributes as the second output argument. new usage; [data,globalAtt,variableAtt] = loadncvar(file/ncid,varnames) 2013-02-11 Oliver Lemke * atmlab-2-1-260 * files/loadncattr.m: Don't break if variable has no attributes. * files/loadncglobalattr.m: Don't break if there are no global attributes in the file. Use netcdf constant 'GLOBAL'. * arts/netcdf/arts_nc_read_*: Use loadncglobalattr. * files/addncattributes.m: Use struct for attributes. * files/getncattributes.m: Removed. 2013-02-09 Salomon Eliasson * atmlab-2-1-259 * files/loadncattr.m: Added function dedicated for extracting only the attributes for the variables you are interested in. if no variable names are given, the attributes of all the variables in the netcdf file are retrieved. * files/loadncglobalattr.m: Added function dedicated for extracting only the global attributes of a netcdf file. This is very similar to getncattributes.m that may or may not disappear as a consequence. * files/loadncfile.m: use the newly created loadncglobalattr.m to load the global attributes * files/loadncvar.m: Output the attributes for the read variables instead of the global attributes if nargout ==2 * handy/sanitise.m: Added "&" to list of symbols to be sanitised * datasets/common_read_cloud_cci.m: Added reader for new dataset. * datasets/MaskInvalidGeoTimedataWithNaN.m: Only put the NaNs in the time, lat, lon data fields since the other fields may have data types might not support NaNs * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: Added cloud_cci, a fieldcopier and a collapser. Added attributes to the old modis collapser 2013-02-07 Gerrit Holl * atmlab-2-1-258 * datasets/SatDataset.m(granule_first_line): Bugfix * datasets/HomemadeDataset.m: (store): - Warn if nonfinite values are found - Flag any nonfinite values with missing_value is provided - Give helpful error message if missing_value needed but not given (read_single_day): - Check that all stored values are in [lo, hi]; if not, throw error - Check for flagged values. Set those to nan. * datasets/define_datasets.m: - More conservative granule_duration for ssmt2 - Added missing_value for all HIRS fields and some others - Increased distance for SSMT2-collocations - Fixed valid_range for solar angles - Adapted AssociatedPOESPlusCPR definitions using getSelection * datasets/define_c2dp.m: - Define more sensible valid_range for c2dp * collocations/FieldCopier.m(process_granule): - Look for missing_value attribute, give nice error message if not there * collocations/FieldMultiInstrumentCopier.m(process_granule): - When an associated-dataset does not exist, set filler values. If no filler value defined, give a helpful error message. * collocations/AssociatedPOESPlusCPR.m: (AssociatedPoesPlusCPR): - Use self.setmems() to set members-field, because this needs to be recalculated when either of the sub-fieldcopier properties are updated, e.g. to set a missing_value attribute. (setmems): - Update the members-field from the sub-fieldcopier members fields. (translate): Cosmetic change * handy/exec_system_cmd.m: - Do not always write to stream 1, use atmlab('OUT') instead. 2013-02-07 Salomon Eliasson * atmlab-2-1-257 * geoplots/gmt/gmt_plot.m: fixed bug is the data is gridded * geographical/ungridded2gridded.m: Forgot to include lat and lon in the data struct 2013-02-07 Salomon Eliasson * atmlab-2-1-256 * geographical/ungridded2gridded.m: - Improved function by better defaults - Added more options - like a user defined masking fhandle - Possibility to just return a grid of cells containing all of the original measurements in vectors after allocating them to a grid box. - Better documentation * math/binned_statistics.m: Fixed bug if you want to replace empty cells with something (e.g., NaN) * geoplots/gmt/gmt_plot.m: Now automatically internally skips data that has dodgy lat-lons before plotting 2013-02-07 Oliver Lemke * atmlab-2-1-255 * arts/xml/xmlWriteCIARecord.m: Add writing routine for CIARecord. * arts/xml/xmlReadCIARecord.m: Jailbreak! Free strings from their cells. 2013-02-07 Oliver Lemke * atmlab-2-1-254 * arts/xml/xmlReadCIARecord.m: Add reading routine for CIARecord. 2013-01-30 Patrick Eriksson * atmlab-2-1-253 * arts/arts.m: Added '-echo' to system call, in order to get the output displayed directly, instead of first when the arts run is completed. Is this backward compatible? Tell me if you get an error due to this. 2013-01-30 Patrick Eriksson * atmlab-2-1-252 * demos/qarts_demo.m: agendas.arts now not included. All agendas defined in the file. * tests/test_arts_ppath.m: * tests/test_arts_refraction.m: Updated to follow recent ARTS changes. * demos/qarts_scattering_demo.m * demos/qpack2_demo.m * demos/qarts_demo2.m: Now using the new feature below. * arts/qarts2cfile.m (add_agenda): Added a feature to more easily use pre-defined agendas. If the agenda definition straing array has length 1, and the string starts as name_of_agenda__, a call of Copy is added instead of a definition of the agenda. That is, this now works: Q.REFR_INDEX_AGENDA = { 'refr_index_agenda__GasThayer' }; 2013-01-28 Patrick Eriksson * atmlab-2-1-251 * demos/qpack2_demo.m: Some spell fixes and some comments added. * demos/qarts_demo.m: Added Ignore(ppath_lraytrace) to PPATH_STEP_AGENDA. 2013-01-25 Gerrit Holl * atmlab-2-1-250 * datasets/SatDataset.m(read_granule): - Adapt to altered find_granule_by_datetime (see yesterdays commit). * collocations/FieldCopier.m: (process_granule): - Handle more nicely the case of a missing sibling-dataset. If set, a filler value in self.members.field.missing will be used instead. If this is not set, an error message will tell the user to set it. If the filler value is used, this shall be recognised by CollocatedDataset.read, and it will be replaced back by nans upon reading, with an appropriate message. The second part is not yet implemented. WORK IN PROGRESS. * handy/none.m: Added - Smill utility in analogy to `all` and `any`. 2013-01-24 Gerrit Holl * atmlab-2-1-249 * graphs/scatter_density_plot.m: - Bugfix related no option 'normalise' * sensors/ssmt2_reader_netcdf.py: - When error, use exit code 1, not 0 - Catch situation when there is no "number of data records". Instead, use "number of records" minus "number of header records". * time/unixsecs2date.m: - Re-implemented. No more rounding issues. Also no more fractional seconds. * time/iso_timestamp.m: - Adapt for lack of fractional seconds in unixsecs2date * geographical/shift_longitudes.m: - Bugfix. Was getting endless loop if input invalid, e.g. range larger than 360. Will now throw an error if this is the case. * datasets/SatDataset.m: (reader): Document what error shall be thrown. (overlap_granule): - Get rid of "tolerance" option, redundant with bugfix in unixsecs2date. * datasets/datasets_constants.m: Added DMSP sats * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added ssmt2 and 3 collocated datasets with ssmt2, and their fieldcopiers - Moved c2dp to "other home-made" 2013-01-16 Gerrit Holl * atmlab-2-1-248 * graphs/scatter_density_plot.m: expanded - Added possibility to individually specify xbins, ybins - Added option to normalise according to specified dimension - Added option to add linear-regression line - Return handles to axes and colorbar * handy/CachedData.m (evaluate): - Added method to evalute arbitrary expression and cache the result. If the same expression is asked to be evaluated again, the result is rather read from cache, saving considerable time. Can of course also be used with PersistentCachedData, because this is a child-class. * collocations/CollocatedDataset.m, datasets/HomemadeDataset.m: - Moved `pcd` property from CollocatedDataset to HomemadeDataset * sensors/ssmt2_read_ngdc.m: Added. - Reader for SSM-T/2 from NGDC data * sensors/ssmt2_reader_netcdf.py: Added - Used by reader. Needs Python + NetCDF-library. Permission pending. * sensors/ssmt2_read.m: Added deprecation warning to docs. * datasets/define_datasets.m: - Added smmt2. Work in progress. 2013-01-02 Patrick Eriksson * atmlab-2-1-247 * demos/qpack2_demo.m (qpack2_demo): POLYFIT retrieval was inactive. * retrieval/qpack2/qpack2.tex: Removed some old comments, not longer valid. Updated to recent changes of retrieval variables. 2012-12-21 Patrick Eriksson * atmlab-2-1-246 * Winds introduced as retrieval variables. * demos/qpack2_demo.m: Added a small example for wind. * retrieval/qpack2/qp2_l2.m: * arts/arts_oem_init.m: * arts/arts_x2QR.m: * arts/arts_sx.m: Added handling of WIND_U/V/W. * arts/qarts2cfile.m: Added handling of WIND_U/V/W jacobians. * arts/qarts_t_or_z_field.m: Removed. Use the function below. * arts/qarts_atm_field.m: New (a general version of qarts_t_or_z_field). * arts/qarts.m Introduced WIND_U/V/W. Removed Z_ATMDATA, replaced with Z, having ATMDATA as sub-field (to mimic T). 2012-12-20 Patrick Eriksson * atmlab-2-1-245 * demos/qpack2_demo.m: Extended to cover changes and new retrieval varibles. * retrieval/qpack2/qp2_l2.m: * arts/arts_sx.m: * arts/arts_oem.m: * arts/arts_oem_init.m: * arts/qarts2cfile.m: * arts/qarts.m: Added POINTING as retrieval variable (basically from scratch). Changed from using FFIT to FSHIFTFIT and FSTRETCHFIT. Added SINEFIT as retrieval quantity. * arts/arts_polybasis_func.m: Extended to return multiple basis functions in parallel. * arts/qarts.m (qarts): Added SENSOR_TIME. 2012-12-19 Salomon Eliasson * atmlab-2-1-244 * datasets/define_datasets.m: Added another field to cloudsat fieldCopier * collocations/FieldCopier.m: Commented out from logtexts * collocations/CollocatedDataset.m: Skip entire day granule from sibling dataset is missing * site-specific/kiruna/datasets_init.m: Changed dome filenames 2012-12-18 Gerrit Holl * atmlab-2-1-243 * collocations/AssociatedDataset.m(process_delayed): - If primary is from timefile AND two granules start at the same time, but DO NOT have the same orbitid, the core is found but the associated not, so it fails here. Haven't found a satisfactory fix yet, commented out non-working solution for now. * datasets/SatDataset.m: (find_granule_by_datetime): - Use self.get_starttime to prevent missing granules (get_starttime): - Handle case where primary does or does not need starttimesfile * collocations/CollocatedDataset.m(overlap_granule): - re-implemented to fig bug related to new style * site-specific/kiruna/datasets_init.m: - Added fieldcopiers for mhs/saphir and amsub/saphir * datasets/common_read_saphir.m: - swap matrices for brightness temperatures * datasets/define_datasets.m: - Moved getSelection to helpers - Added Saphir fieldcopiers 2012-12-17 Salomon Eliasson * atmlab-2-1-242 * datasets/define_datasets.m: - Added HIRS-DARDAR and MHS-DARDAR datasets - changed behaviour of local function getSelection() to simplify things a bit. The function is used to only get certain fields associated with a dataset for the fieldCopier-datasets. * site-specific/kiruna/datasets_init.m: Added HIRS-DARDAR and MHS-DARDAR datasets 2012-12-11 Gerrit Holl * atmlab-2-1-241 * math/convert_360_180.m: - Removed, duplicates functionality shift_longitudes * collocations/CollocatedDataset.m: (overlap_granule): Reimplemented; simpler implementation, fixes bugs (collocate_granule): - Changed protocol of communicating "refresh only" to granule_first_line, part of bugfix described below (read): - State clearly when reading because no pcd is defined at all. * datasets/SatDataset.m: (granule_first_line): - Enable reload functionality (find_granule_first_line): - Fix bug causing endless loop with wrong start-time - More informative "set to flag" message - Fix bug in calling signature to logtext (set_starttime): - Only set start-time if I could read the tfile (get.starttimes): - Don't try to read starttime-file if N/A * handy/PersistentCachedData.m(delete_old_entry): - Fig bug causing endless loop when trying to delete old entry * site-specific/kiruna/datasets_init.m: Add collocation_amsub_saphir * datasets/common_read_saphir.m: - Use shift_longitudes instead of convert_360_180 * datasets/define_datasets.m: - Increase saphir granule duration - Added collocation_amsub_saphir 2012-12-07 Gerrit Holl * atmlab-2-1-240 * atmlab/atmlab.m: - Added 'PYTHON', pointing to Python interpreter. 2012-12-07 Gerrit Holl * atmlab-2-1-329 * collocations/CollocatedDataset.m(collocate_and_store_date_range): - Add newline to firstline warning message * datasets/SatDataset.m: (granule_first_line): - Fix bug in getting the right granule, now use self.get_starttime (find_granule_first_line): - Use self.get_starttime 2012-12-07 Gerrit Holl * atmlab-2-1-328 * math/convert_360_180.m: Added. - Convert longitudes in range [0, 360] to longitudes in range [-180, 180]. * collocations/CollocatedDataset.m: (overlap_granule): Use get_starttime() method to get start time (collocate_granule): Use get_starttime() method * datasets/SatDataset: (find_granule_by_datetime): - Fixed bug where id was interpreted as seconds (read_granule): - Add version if available in filename but not in data - Fixed bug in interpreting firstline (get_starttime): - Adapt so it can be used for any granule, not only the ones that don't have info in the filename * datasets/common_read_saphir: - Transpose lat/lon - Convert lon to [-180, 180] * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added collocation_mhs_saphir * handy/rqre_in_range.m: - Add helpful error identifier - Small fixes 2012-12-07 Salomon Eliason * atmlab-2-1-327 * geoplots/gmt/create_gmt_earth.m: Improved finding the right resolution to internally grid (using nearneighbor) ungridded data. 2012-12-06 Gerrit Holl * atmlab-2-1-326 * sensors/read_saphir_l1.m: Added - Reading routine for saphir l1 data. Mostly written by Mathias with small adaptations by me. * datasets/common_read_saphir.m: Added - Higher leven function to plug into collocation system. Possibly unfinished. * files/uncompress.m: Expanded - Don't stubbornly continue when uncompression fails, instead provide an option what to do: ignore, warn, or quit with error message. Also, use atmlab('WORK_AREA') as tmpdir by default. * datasets/define_datasets.m: - Improved saphir, added three necessary props. * site-specific/kiruna/datasets_init.m: - Improved saphir regexp * datasets/SatDataset.m: (re): Expanded documentation for this property, reflecting that also orbitno and orbitno2 may be needed. (needs_starttimesfile): Added property for those needing starttimesfile (starttimes): Added property. Database of starting times. Has getter/setter. (starttime_fullpath): Added read-only property to get the fullpath of the starting time. Uses a getter. (cachedstarttimes): Added read-only property to cache starting times for granules. (SatDataset): Use default value for starttimesfile (get_starttime): Implemented. Retrieve starting time based on granule-id. (set_starttime): Implemented. Read starting-time from granule and store this in mapping table. (find_granules_by_date): Expanded - The granule-matrix now has a 6th column that is used for instruments where the filename does not unique determine the starting time. The 6th column is used for a identifier that can be uniquely calculated from information obtained from the filename, e.g. one or more numbers representing the orbit(s). (find_granule_by_datetime): Expanded - Adapt for new style of granule-matrix. If self.needs_starttimesfile is true, the sixth column (orbit-id or so) must also be equal to the rest. Note that this is incompatible with the use of a tolerance — there must be an exact match. (find_granules_for_period): Expanded - Make the 'spec' argument optional - Adapt for new granule-matrix style (more preallocation). (find_granule_first_line): Expanded - Adapt for new style of granule-matrix. Now considers the option that the starting time needs to be obtained from the file (using self.get_starttime). (get.starttimes): Added. Getter for starttimes property. - Read from self.cachedstarttimes if possible, otherwise read from file. (set.starttimes): Added. Add particular starting time and store to file. * datasets/common_read_avhrr_cmsaf_gac.m: Minor change (added "see also") 2012-11-24 Patrick Eriksson * atmlab-2-1-325 * demos/qarts_scattering_demo.m (qarts_scattering_demo): Added flag to run with refraction. * arts/qarts2cfile.m (cfile_SctMth): Removed call of sensor_checkedCalc as also included in RteExe. * tests/test_arts_ppath.m: Updated. 2012-11-23 Patrick Eriksson * atmlab-2-1-324 * arts/arts.m: Don't display on screen if "result" is picked up by calling function. 2012-11-23 Salomon Eliasson * atmlab-2-1-323 * geographical/ungridded2gridded.m: Added function to easily grid, for example, ungridded "swath" satellite data to a regular grid. Is really a wrapper around binning_fast() and binned statistics(). * geographical/resample_geodata.m: Made clear in docs that this function is only for gridded data * math/binning_fast.m: added assertion if in.region is not numeric * math/binned_statistics.m: Removed depricated warning 2012-11-22 Patrick Eriksson * atmlab-2-1-322 * demos/qarts_mcdoit_demo.m * demos/qarts_scattering_demo.m * demos/qpack2_demo.m * demos/arts_oem_demo.m * demos/qarts_demo2.m: Changed to use ppath_agenda__FollowSensorLosPath. * demos/qarts_abstable_demo.m (qarts_abstable_demo): Missed this one in last commit. 2012-11-22 Patrick Eriksson * atmlab-2-1-321 * demos/qarts_scattering_demo.m * demos/qarts_mcdoit_demo.m: iy_surface_agenda was set twice. 2012-11-22 Patrick Eriksson * atmlab-2-1-320 * demos/qarts_mcdoit_demo.m: * demos/qarts_scattering_demo.m: * demos/arts_oem_demo.m: * demos/qpack2_demo.m * demos/qarts_demo2.m * demos/qarts_demo.m: Adatped to sensor_checkedCalc and reorganisation of include files. * arts/qarts2cfile.m (cfile_Generl): INCLUDES now done before Q.WSMS_AT_START. This is reveresed order compared to before. This to ensure that no active choices are overwritten. (cfile_RteExe): Call of sensor_checkedCalc now included automatically. 2012-11-22 Salomon Eliasson * atmlab-2-1-319 * datasets/SatDataset.m: Fixed missing ']' * time/daterange.m: added an otherwise error to the switch * files/uncompress.m: Fixed bad behaviour. Now, if the file does not have the suffix .zip, .gz, or .bz2, then do nothing * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: * datasets/common_read_patmosxL3.m: Added patmosxL3 dataset 2012-11-21 Patrick Eriksson * atmlab-2-1-318 * demos/qarts_mcdoit_demo.m * demos/qarts_scattering_demo.m: Removed displaying of PPATH_LMAX. 2012-11-21 Gerrit Holl * atmlab-2-1-317 * files/loadvar.m: Expanded - By default, `load` tries to read any file whose name doesn't add in mat as ASCII. Now, loadvar will try to read it as MAT if loading it as ASCII fails due to a formatting error. * datasets/SatDataset.m: Expanded - In preparation for handling Saphir data, add properties and methods for getting the starting time from an external file. The methods are documented but not yet implemented. * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added saphir_l1a and saphir_l2a; incompletel, work in progress. 2012-11-21 Salomon Eliasson * atmlab-2-1-316 * datasets/define_datasets.m: + Added field to homemade dataset + Changed instrument_flag type from float to short * math/column_integrate.m: Clarified a comment * handy/exec_system_cmd.m: Use logtext() instead of fprintf to see the timestamp, function, and line number * geoplots/gmt/gmt_plot.m: Made Finding out if the data is gridded or ungridded more robust 2012-11-20 Patrick Eriksson * atmlab-2-1-315 * demos/qarts_scattering_demo.m: * demos/qarts_mcdoit_demo.m: Now setting PPATH_LMAX following IWP, in order to keep max tau relatively constant. * arts/arts.m (arts): Changed to ensure out0 always also comes out in matlab. * demos/qarts_scattering_demo.m: Corrected header. 2012-11-19 Patrick Eriksson * atmlab-2-1-314 * demos/qarts_scattering_demo.m: There was a mistake in the setting of 2D and 3D cloudbox. PPATH_LMAX now 5 km. * demos/qarts_mcdoit_demo.m: Added, at least temporarily to help testing of DOIT and MC changes. Not documented. 2012-11-18 Salomon Eliasson * atmlab-2-1-313 * datasets/common_read_modis.m: Fixed bug where clear pixels were not assigend to IWP=0. Cloud free pixels were just IWP=-999 (same as missing data) 2012-11-17 Patrick Eriksson * atmlab-2-1-312 * forwardmodel/satviewdepth.m: Replaced calls of rqre_scalar and * geophysics/tropopause.m rqre_bool (removed functions). * geophysics/twvcalc.m * forwardmodel/satviewdepth.m * arts/qarts2cfile.m * examples/example_heading.m * arts/qarts_abs_species.m * demos/qarts_scattering_demo.m: Added call of sensor_checkedCalc before yCalc. * arts/qarts2cfile.m (cfile_SctMth): Added call of sensor_checkedCalc for doit part. 2012-11-16 Patrick Eriksson * atmlab-2-1-311 * tests/test_arts_refraction.m: Now MUCH faster by using ppathWriteXMLPartial. * tests/test_arts_ppath.m: Changed RandStream.setDefaultStream to RandStream.setGlobalStream, follwoing warning from matlab. 2012-11-15 Patrick Eriksson * atmlab-2-1-310 * tests/test_arts_ppath.m: Now a bit faster by using ppathWriteXMLPartial. 2012-11-13 Salomon Eliasson * atmlab-2-1-309 * geoplots/gmt/gmt_plot.m: fixed small bug * geoplots/gmt/gmt_inputs.m: Fixed bug * geoplots/gmt/create_gmt_earth.m: Fixed small bug if legend=0 but the is an extra legend 2012-11-13 Patrick Eriksson * atmlab-2-1-308 * arts/qarts2cfile.m (cfile_CldBox): Added handling of PARTICLE_MASSES. * arts/qartsCloudbox.m (qartsCloudbox): Added PARTICLE_MASSES. 2012-11-12 Patrick Eriksson * atmlab-2-1-307 * tests/test_arts_ppath.m (test_arts_ppath): * tests/test_arts_refraction.m (test_arts_refraction): Both updated to present arts version. 2012-11-11 Patrick Eriksson * atmlab-2-1-306 * demos/qarts_scattering_demo.m: Added input argument for scaling of IWC. 2012-11-06 Patrick Eriksson * atmlab-2-1-306 * arts/arts.m: A variable name got included in report text. Removed. 2012-11-06 Patrick Eriksson * atmlab-2-1-305 * demos/qarts_scattering_demo.m: Updated to work with newest arts version. In addition: BL option renamed to TR, and 2D/3D cloudbox made much bigger to simplify comparison between DOIT and MC. * arts/qarts2cfile.m (cfile_CldBox): cloudbox_checkedCalc now called after pndf_field is set (required after change in arts). (cfile_RteSet): IY_UNIT moved here from General part. * arts/arts.m: ARTS output was not shown, independent of report level, due to change in matlab. Fixed. 2012-10-30 Patrick Eriksson * atmlab-2-1-304 * forwardmodel/lorentz_lshape.m (lorentz_lshape): Fixed types in header and updated to use new rqre functions. 2012-10-29 Gerrit Holl * atmlab-2-1-303 * collocations/FieldCopier.m: Bugfix - Fix syntax-error (!) * collocations/TODO: - Expanded. Why does this always grow, never shrink? 2012-10-28 Salomon Eliasson * atmlab-2-1-302 * geoplots/gmt/cpt_from_colorrange.m: Use onCleanup() * geoplots/gmt/makecpt.m: Small edit * geoplots/gmt/gmt_plot.m: * geoplots/gmt/extra_legend.m: * geoplots/gmt/create_gmt_earth.m: * geoplots/gmt/gmt_inputs.m: Added option in.extra_legend. This replaces the old in.nanlegend and can be used for the background, foreground, or nan colors. E.g., I used this to make a coloured legend 'box' indicating the color that I cloud masked with. * geoplots/gmt/gmt_inputs.m: Also cleaned it up a bit * geoplots/gmt/test_gmt.m: Put the extra_legend to the test as well * datasets/define_datasets.m: Corrected some modis fields * datasets/common_read_cpr.m: Fixed comment * graphs/scatter_density_plot.m: Added possibility to pass any options to the legend command * sensors/hirs_tb2uth.m: Added function to calculate UTH from HIRS radiances, much like the amsu_tb2uth.m function. Currently only has the regression coefficients for NOAA18, calculated (by Ajil) using tropical profiles from the Chavallier dataset. * collocations/FieldCopier.m: Added a commented out workaround for when the file for the sibling dataset is missing. * collocations/Collapser.m: use -realmax() as an internal flag value instead of NaN. 2012-10-23 Patrick Eriksson * atmlab-2-1-301 * demos/qpack2_demo.m: * demos/qarts_demo2.m: * demos/qarts_demo.m: Paths to fascod files updated. * arts/arts_version.m: Changed extraction of version string. Old version failed occasionally (extra empty line at start?). * arts/qarts2cfile.m (add_rtecalcstart): Changed printing format string MAX_TIME, to make sure that it is printed as an Index. * arts/qarts2cfile.m (add_includes): Improved handling of atmlab( 'ARTS_INCLUDES' ) set to NaN. 2012-10-22 Patrick Eriksson * atmlab-2-1-300 * arts/arts_version.m: Created. * arts/arts.m: Added result as output argument. * arts/qarts2cfile.m (add_rtecalcstart): Adopting to change below. * arts/qartsCloudbox.m (qartsCloudbox): Replaced Z_FIELD_IS_1D (as now not used by MCGeneral) with MIN_ITER. 2012-10-22 Salomon Eliasson * atmlab-2-1-299 * graphs/scatter_density_plot.m: - added hold('off') at the end - added extra options (legend,atleastN) for plotting median lines. * site-specific/kiruna/datasets_init.m: - Added another dataset and an associated dataset * datasets/define_datasets.m: - Added another dataset and an associated dataset - added field missing_val to Cloud_Types 2012-10-19 Gerrit Holl * atmlab-2-1-298 * collocations/CollocatedDataset.m (read): - Catch unfound file * datasets/SatDataset (overlap_granule): - Bugfix with self.tryre 2012-10-19 Salomon Eliasson * atmlab-2-1-297 * collocations/FieldCopier.m (fieldargs): - Gerrit fixed function to not always ignore field in a sibling dataset. e.g. if the secondary dataset is the sibling dataset. * collocations/CollocatedDataset.m (read_homemade_granule): - Made possible to read collocated dataset from core and fieldcopier to collocate with another dataset. (deal_fields): - Gerrit removed assertion so that empty 'field' is now allowed. * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: Changed the name of the modis collocated dataset 2012-10-19 Patrick Eriksson * atmlab-2-1-296 * math/pointinterp.m: Did not work at all! varargin was missing in function declaration. 2012-10-19 Salomon Eliasson * atmlab-2-1-295 * datasets/define_datasets.m: Added some more fields in dardar and cpr. 2012-10-18 Salomon Eliasson * atmlab-2-1-294 * datasets/common_read_modis.m: Renamed some pseudo fields. * datasets/common_read_dardarsub.m: Fixed bug always processing ln_dardar_IWP even if not asked for. * datasets/define_datasets.m: - Added the rest of modis and trimmed the datatypes of dardar from double to single, and the modis data types from double to short. * math/column_integrate.m: small change to header * collocations/FieldCopier.m (process_granule): - Fixed bug in previous bug fix. Really only a workaround though.... 2012-10-18 Patrick Eriksson * atmlab-2-1-293 * geodetic/cartposlos2geocentric.m: It seems that numerical problems gives an imaginary aa, instaed of NaN in arts. Extended this check. The result if imaginary was alos wrong (0 and 180 was mixed up). * forwardmodel/pathpoint2sensorposlos.m: Removed restriction that za must be > 90. And now actually also working for 2D. 2012-10-18 Salomon Eliasson * atmlab-2-1-292 * graphs/scatter_density_plot.m: reconnected examples with the help section * datasets/define_datasets.m: - Added CloudSat fields for fieldCopier - fixed bug in modis Collapser datasets * site-specific/kiruna/datasets_init.m: Added dardar fieldCopiers 2012-10-18 Salomon Eliasson * atmlab-2-1-291 * datasets/common_read_dardarsub.m: * math/column_integrate.m: Changed fprintf to logtext * files/loadncvar.m: If it fails because a fields is missing, report it by name. 2012-10-17 Patrick Eriksson * atmlab-2-1-290 * arts/qarts2cfile.m: Removed demand that Z_SURFACE is stored as a Matrix (to allow pre-saving to file as for e.g. T_FIELD). 2012-10-17 Gerrit Holl * atmlab-2-1-289 * collocations/FieldCopier.m (process_granule): - catch if sibling absent 2012-10-17 Gerrit Holl * atmlab-2-1-288 * collocations/FieldCopier.m (process_granule): - fix bug in grabbing size of latitude-vector from wrong parent dataset 2012-10-17 Salomon Eliasson * atmlab-2-1-287 * datasets/define_datasets.m: - Added MODIS field copier and collapser. - Tidied up a little * site-specific/kiruna/datasets_init.m: Added MODIS field copier and collapser. * collocations/CollocatedDataset.m: Gerrit fixed bug in overlap_granule 2012-10-15 Gerrit Holl * atmlab-2-1-286 * datasets/HomemadeDataset.m (read_homemade_granule): - Also return attributes * collocations/CollocatedDataset.m (read_homemade_granule): - Also set version and also return attributes 2012-10-15 Gerrit Holl * atmlab-2-1-285 * collocations/TODO: Added several issues * datasets/SatDataset.m: - Added member 'tryre', defaults to true. See source code for documentation. (find_info_from_granule): - Try to convert using pos2re (pos2re): Added - Try to convert position to re. In this class, just empty. In HomemadeDataset, actually implemented. * datasets/HomemadeDataset.m: - Use default reader self.read_homemade_granule (read_homemade_granule) - Read a single granule for further, possibly iterative collocating (pos2re): Added - Implementation for SatDataset.pos2re * collocations/CollocatedDataset.m (collocate_and_store_date_range): Bugfix - If log not writeable, log to /dev/null instead (read_homemade_granule): Added - Implementation for HomemadeDataset.read_homemade_granule (granule_first_line): Added - Collocations have no duplicates; always returns 1 * forwardmodel/i2planckTb.m: tiny change - Added pointer to diplanck2Tb * forwardmodel/di2planckTb.m: tiny change - Added pointer to i2planckTb * define_datasets: Add missing semicolon 2012-10-15 Salomon Eliasson * atmlab-2-1-284 * datasets/common_read_dardarsub.m: Fixed some text in help * datasets/common_read_cpr.m: Added pseudo field 'Cloud_Type' from sibling dataset * datasets/define_datasets.m: * site-specific/kiruna/datasets_init.m: Added cldCloud dataset * collocations/CollocatedDataset.m: Gerrit added a default granule_duration is it is missing * collocations/FieldCopier.m: Gerrit fixed bug if there is a sibling dataset but no primary 2012-10-11 Patrick Eriksson * atmlab-2-1-283 * arts/qarts2cfile.m: If statement checking Q.ABS_SPECIES.RETRIEVE was incorrect. 2012-10-11 Salomon Eliasson * atmlab-2-1-282 * datasets/common_read_dardarsub.m: Return height as a vector instead to save space and memory. The height vector is valid for all profiles * math/column_integrate.m: Added more help 2012-10-09 Salomon Eliasson * atmlab-2-1-281 * h2o/thermodynamics/relhum_to_vmr.m: Added Mathias's relative humidity to volume mixing ratio. * site-specific/kiruna/datasets_init.m: Small fix to mhs_dardar * sensors/amsub_cloudfilter.m: Added 2 extra output. Now [cloudfilter,tooColdFilter,diffFilter] = amsu_cloudfilter(), where cloudfilter = tooColdFilter & diffFilter * datasets/define_datasets.m: Added MHS dardar collocated dataset * geoplots/gmt/create_gmt_earth.m: small fix 2012-10-07 Salomon Eliasson * atmlab-2-1-280 * geoplots/gmt/nearneighbor.m * geoplots/gmt/create_gmt_earth.m: fixed bug if I give a string for the nearneighbor command 2012-10-06 Salomon Eliasson * atmlab-2-1-279 * datasets/common_read_dardarsub.m: Added variable ln_iwp_error, based on what we did in eliassonxx:_sytematic_jgr * graphs/scatter_density_plot.m: Added transx and transy and their recipricals * collocations/CollocatedDataset.m: Added assertion 2012-10-04 Patrick Eriksson * atmlab-2-1-278 * demos/qarts_demo.m: Y_UNIT -> IY_UNIT wherever used. (qarts_demo): Now using general.arts (until arts stable again?) * arts/qarts2cfile.m (cfile_Generl): Adopted to change below. * arts/qarts.m: Renamed Y_UNIT to IY_UNIT. 2012-09-28 Salomon Eliasson * atmlab-2-1-277 * datasets/define_datasets.m: Added field "instrument_flag" to dardarsub dataset. 2012-09-27 Gerrit Holl * atmlab-2-1-276 * math/running_stats.m: Bugfix - Fig bug in fractional window size, where 1% was taken as [x-1%, x+1%] rather than [x-½%, x+½%]. 2012-09-26 Gerrit Holl * atmlab-2-1-275 * graphs/splitax.m: - Don't turn figures visible that aren't. Bug (?) in suptitle, don't know how to fix there. * math/running_stats.m: Expanded - Added ability for fractional bin (choose negative binsize > -1) 2012-09-25 Gerrit Holl * atmlab-2-1-274 * graphs/splitax.m: - Fixed default legend setting - Copy grid settings - Set title to suptitle, xlabel to lowest subplot and ylabel to each subplot * math/running_stats.m: - Changed implementation. Now fast, but memory-intensive. TODO: compromise if out-of-memory. 2012-09-24 Gerrit Holl * atmlab-2-1-273 * graphs/splitax.m: Added - Split axes into a new figure with N vertically stacked subplots. This is useful e.g. if one wants a very widely extended x-axis but is too lazy to split from the start. * graphs/plot_extrema_shaded.m: Tidying up * math/movingstd.m: Added - Downloaded from File Exchange. Calculates moving standard devation. * math/running_stats.m: Added - Calculate arbitrary running statistics. Warning: very slow! * handy/rqre_same_size.m: - Give a useful error message if condition is not met. 2012-09-20 Gerrit Holl * atmlab-2-1-272 * physics/planck.m: Added pointer to i2planckTb * forwardmodel/i2planckTb.m: Added pointer to planck * math/find_extrema_with_prominence.m: Added - Locate local extrema with associated prominence. Actually, it's not the prominence that is located but the distance to the next more extreme peak. * graphs/plot_extrema_shaded.m: Added - Visualise data by plotting a shaded area between local maxima and local minima, as well as plotting the data itself (themselves?). To be improved. 2012-09-19 Oliver Lemke * atmlab-2-1-271 * arts/qarts2cfile.m: abs_lookupCreate -> abs_lookupCalc. 2012-09-16 Salomon Eliasson * atmlab-2-1-270 * datasets/common_read_dardarsub.m: Implemented column integration of ln_iwc_error. Will produce two IWP vectors based on IWC-delta and IWC+delta. 2012-09-13 Gerrit Holl * atmlab-2-1-269 * graphs/scatter_density_plot.m: Expanded and bugfix - options 'medprops', 'scatprops' and 'diagonal' specify style for adding those three to the plot, with [] (default) meaning not drawing anything - Fixed bug in drawing median binned by y-value 2012-09-12 Patrick Eriksson * atmlab-2-1-268 * arts/qartsSensor.m (qartsSensor): Corrected info for SIDEBAND_RESPONSE. * arts/qarts2cfile.m (cfile_Sensor): sensor_norm was set twice. * arts/qarts.m (qarts): I.IY_AUX_VARS was misspelled. 2012-09-12 Oliver Lemke * atmlab-2-1-267 * arts/qarts2cfile.m: Rename abs_mat_per_speciesAddLBL -> abs_mat_per_speciesAddOnTheFly. 2012-09-11 Gerrit Holl * atmlab-2-1-266 * graphs/scatter_density_plot.m: - Started re-implementing code Salomon used for his comparison plots. Currently contains a fraction of the functionality, but in a much cleaner form. To be continued. 2012-09-05 Patrick Eriksson * atmlab-2-1-265 * demos/qarts_demo.m (qarts_demo): New settings for TRANSMITTER_POS and PPATH_AGENDA. * arts/qarts2cfile.m (cfile_RteSet): Added handling of the variables added below. (cfile_Absrpt): Updated to change of absorption WSMs. * arts/qarts.m: Added IY_SUB_AGENDA and TRANSMITTER_POS. 2012-09-04 Salomon Eliasson * atmlab-2-1-264 * handy/combine_pdfs.m: Added option to scale individual figures for plotting. Useful if figures have very different sizes. * geoplots/gmt/gmt_plot.m: fixed small region related bug 2012-08-23 Patrick Eriksson * atmlab-2-1-263 * demos/qarts_scattering_demo.m: BL part now qworking again. * arts/qartsCloudbox.m (qartsCloudbox): Updated information for METHOD. * arts/qarts2cfile.m (cfile_RteSet): * arts/qarts.m (qarts): Added IY_TRANSMITTER_AGENDA. 2012-08-21 Patrick Eriksson * atmlab-2-1-262 * demos/qarts_scattering_demo.m: Updated, runs for MC and DOIT. * arts/qarts2cfile.m (cfile_CldBox): * arts/qartsCloudbox.m (qartsCloudbox): Removed OPT_PROP_GAS_AGENDA. * demos/qarts_abstable_demo.m (qarts_abstable_demo): Small change to avoid a 0K temperature. * arts/qarts2cfile.m (cfile_Absrpt): This part was not completely updated to abs_mat_per_species. 2012-08-19 Salomon Eliasson * atmlab-2-1-261 * geoplots/gmt/gmt_plot.m: Fixed bugs related to: in.nodata, in.region where lons 0:360 regime, and some incorrect documentation on in.psbox * geoplots/gmt/psbox.m: Fixed bug * geoplots/gmt/makepolar.m: Fixed bug 2012-08-16 Patrick Eriksson * atmlab-2-1-260 * arts/qarts2cfile.m: Now using abs_mat_per_species_agenda. Note that things are hard-coded for this agenda (following Q.ABSORPTION). To make Zeeman calculations special tricks will be needed, using e.g. WSMS_BEFORE_RTE. 2012-08-14 Patrick Eriksson * atmlab-2-1-259 * arts/arts_abcde.m: Updated for V1 part. (V2 requires further changes in arts). * arts/arts_y.m (arts_y): y_error rtemoved as output argument. * demos/qarts_demo.m: Updated. * arts/qarts2cfile.m: Adopted to changes below. * arts/qarts.m (qarts): Added IY_AUX_VARS and changed IY_CLEARSKY_AGENDA to IY_MAIN_AGENDA. 2012-08-10 Gerrit Holl * atmlab-2-1-258 * handy/sanitise.m: Added - Centralise functionality to sanitise input to be passed to exec_system_cmd (thus to system). * handy/exec_system_cmd.m: Added link to sanitise in documentation. * geoplots/gmt/gmt_plot.m: Use sanitise for dir and file 2012-08-10 Gerrit Holl * atmlab-2-1-257 * geoplots/gmt/gmt_plot.m: - Fixed potentially very severe security bug: the semicolon (;) was not removed from the filename, meaning that literally anything could happen. 2012-08-07 Patrick Eriksson * atmlab-2-1-256 * arts/qarts2cfile.m: Removed reading of y_error (now not existing). * arts/arts_y.m: y_error now just returned as NaN (temporarily solution). 2012-07-18 Gerrit Holl * atmlab-2-1-255 * handy/nbytes2string.m: Added - Provide human-readable format for disk size (32 MiB, 2.4 GiB, ...) * datasets/SatDataset.m(find_granule_by_unixsecs): Added - Like the old, deprecated function * datasets/define_datasets.m: - Add cdpc_2dcp, associated_CPR_MHS_AMSU_HIRS, associated_CPR_AMSUB_AMSUA_HIRS, c2df * datasets/define_c2dp.m: - Added; special function because it needs subfunctions. * collocations/AssociatedPOESPlusCPR.m: - Can now create either for mhs_cpr or amsub_cpr * site-specific/kiruna/datasets_init.m: - Improve re for CPR datasets - Add c2dp and cdpc_2dcp * handy/CachedData.m(set_entry), handy/PersistentCachedData.m(set_entry): - Use nbytes2string when reporting size 2012-07-16 Gerrit Holl * atmlab-2-1-254 * collocations/Collapser.m: - Fieldstruct now also uses a member 'incore'; if this is set to a value evaluating to true, the processing will not be done upon the AssociatedDataset, but upon its parent (e.g. the CollocatedDataset). (Collapser): - When incore is set, self fieldstruct.field.origin to cd; otherwise to ad. (process_granule): - Respect new incore option to grab from code if indicated * handy/rqre_alltypes.m: - In doc, make rqre_datatype a link to the relevant help * handy/rqre_datatype.m: - In doc, make rqre_alltypes a link to the relevant help * datasets/SatDataset.m/find_granule_first_line: - Adapt for externalised unzipping in cloudsat reading routine; new error identifier 2012-07-16 Oliver Lemke * atmlab-2-1-253 * AUTHORS: Minor change. * README: Update copyright year. 2012-07-09 Gerrit Holl * atmlab-2-1-252 * collocations/CollocatedDataset.m(collocate_granule): - Catch if secondary cannot be read due to CRC error * sensors/cloudsat_read.m: - Remove keyboard statement! There are 10 other occurences of 'keyboard' in atmlab... should they really be there? Authors, please check. * datasets/MaskInvalidGeoTimedataWithNaN.m: Fix typo * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added CPR/AMSUB collocated + associated datasets * datasets/SatDataset.m: (read_granule): Fix bug with flagged firstline (level3): Fix bug if no data 2012-06-27 Patrick Eriksson * atmlab-2-1-251 * Qarts/Qpack demos now runs with arts-2.1.156 * demos/arts_oem_demo.m: Still used R_GEOID! * demos/qarts_demo.m (qarts_demo): Several additions/changes (as general.arts not used here). * demos/qarts_demo2.m (qarts_demo2): Removed some stuff defined already in general.arts. * demos/qarts_scattering_demo.m: Slight change of FOS part. * arts: Changes to qarts, to get synced with arts. Renamed/added agendas: surface_rtprop_agenda, iy_surface_agenda. Added several new variables such as edensity_field, mag_u_field. 2012-06-27 Oliver Lemke * atmlab-2-1-250 * files/create_tmpfolder.m: Fix bug discovered by Stefan. Add support for '.' and './bla' as WORK_AREA. 2012-06-25 Patrick Eriksson * atmlab-2-1-249 * arts/xml/xmlReadGriddedField5.m * arts/xml/xmlReadGriddedField6.m: * arts/xml/xmlWrieGriddedField5.m * arts/xml/xmlWriteGriddedField6.m: Created (to match Oliver's recent extension in arts). 2012-06-23 Salomon Eliasson * atmlab-2-1-248 * handy/PersistentCachedData.m: Grew tired of info.mat crashing long running codes and made the name a bit more unique to avoid conflicts. If this file is used somewhere else this fix, just introduced a bug. Haven't noticed anything yet though... 2012-06-18 Oliver Lemke * atmlab-2-1-247 * geographical/geo_single_localtime.m: Small fix in docs. 2012-06-16 Salomon Eliasson * atmlab-2-1-246 * datasets/common_read_modis.m: Added modis_Re_ice and modis_Tau_ice as additional "pseudo fields" that can be put together in this function 2012-06-16 Salomon Eliasson * atmlab-2-1-245 * handy/PersistentCachedData.m: return new size with GiB in parenthesis, not just bytes * datasets/define_datasets.m: * site-specific/kiruna/datasets_init.m: Added collocated dataset cmoiwp_v0_6 vs DARDAR 2012-06-14 Oliver Lemke * atmlab-2-1-244 * arts/xml/xmlWriteMatrix.m: Add missing attrlist argument. Fixes writing of GriddedFields. * ChangeLog: Add missing version number to previous commit. 2012-06-14 Salomon Eliasson * atmlab-2-1-243 * geoplots/gmt/gmt_plot.m: - No longer accept combination of missing 'field' && missing argument in.nodata * atasets/define_datasets.m: - Collocation constrsaints: Changed several time intervals to better match the distances between datasets to be collocated. * math/bin.m: puny edit to heeader 2012-06-13 Gerrit Holl * atmlab-2-1-242 * datasets/SatDataset.m(level3): - Added method to calculate level3-data, averaged data, binned for an indicated period. Work in progress, don't rely on this being stable yet. * datasets/CollocatedMicrowaveOnlyIWP.m: - Added TODO-items based on looking at early results. - Fix bug causing nhpolar to be absent * math/binned_statistics.m: - Don't silently ignore if different error than expected is thrown * math/binning_fast.m: - Give a more helpful error message if input dimensions are inconsistent * geoplots/gmt/gmt_plot.m: - Added pointer in section on "grids" how to actually control gridlines (this was not mentioned in the section for 'grids') * datasets/define_datasets, site-specific/kiruna/datasets_init.m: - Added cmoiwp_v0_6 2012-06-12 Gerrit Holl * atmlab-2-1-241 * datasets/CollocatedMicrowaveOnlyIWP.m: - Fixed bug leading to nonphysical IWP retrievals - Now store ciwp as uint16 * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added cmoiwp_v0_5 * collocations/collocation_restrain.m: tiny change 2012-06-12 Patrick Eriksson * atmlab-2-1-240 * arts/qarts2cfile.m: AtmSrfSave was incorrectly included for the GetAbsTable option. 2012-06-08 Gerrit Holl * atmlab-2-1-239 * collocations/TODO: Added one item * atmlab/atmlab_init.m: Wrong path for 'deprecated' * site-specific/kiruna/datasets_init.m: Update path for sat2netcdf * datasets/CollocatedMicrowaveOnlyIWP.m: Improved a bit, work in progress 2012-06-08 Stefan Buehler * atmlab-2-1-238 * math/rms.m: Removed "error" from short description, as suggested by Salomon. 2012-06-04 Gerrit Holl * atmlab-2-1-237 * collocations/CollocatedDataset.m(read): - Fix bug in cols-struct if last day-to-be-read has nonzero collocs, but zero upon merging. 2012-06-04 Salomon Eliasson * atmlab-2-1-236 * handy/PersistentCachedData.m: - added '-v7.3' flag to save, since sometimes my .mat files are > 2GB * collocations/CollocatedDataset.m: - Fixed logical bug: mf = exist(fn, 'file') || self.overwrite to mf = exist(fn, 'file') && ~self.overwrite * datasets/common_read_dardar.m: - removed pseudo fields 2012-06-03 Salomon Eliasson * atmlab-2-1-235 * datasets/common_read_mspps.m: * datasets/common_read_mirs.m: Added error to look out for * datasets/common_read_modis.m: Fixed bugs introduced by no longer flattening the matrixes. * datasets/define_datasets.m: * site-specific/kiruna/datasets_init.m: Added collocated datasets with dardar as reference 2012-06-01 Patrick Eriksson * atmlab-2-1-234 * arts/arts.m (arts): If cfile is path (and not just a filename), the folder where cfile is placed is used to set -o outdir. 2012-06-01 Gerrit Holl * handy/PersistentCachedData.m(disk_free): - Use stat -f instead of df -k to get disk-free 2012-05-30 Salomon Eliasson * datasets/common_read_mirs.m: added try catch around the reading part. Added one message that happens if reported nscans < length nscans * datasets/MaskInvalidGeoTimedataWithNaN.m: Only talk about removing invalid data if there are any 2012-05-30 Gerrit Holl * atmlab-2-1-231 * site-specific/kiruna/datasets_init.m, datasets/define_datasets.m: - Added cmoiwp_v0_4 2012-05-29 Gerrit Holl * atmlab-2-1-230 * datasets/CollocatedMicrowaveOnlyIWP.m: - Bumped version to 0.4 - Generate many networks, depending on lat. and lza. - Use those for retrieving... 2012-05-29 Oliver Lemke * atmlab-2-1-229 * site-specific/kiruna/datasets_init.m: Change path to dardar_subsel to /storage3/data/ . 2012-05-29 Patrick Eriksson * atmlab-2-1-228 * tests/test_arts_ppath.m: A flag introduced to just check for direct errors. Made 3D somewhat faster (by making atmospheric fields smaller). 2012-05-28 Gerrit Holl * collocations/CollocatedDataset.m(collocate): - Add additional checks: if all lat/lon are constant, assume something is wrong and fail - Move additional pre-allocation one loop upward * datasets/CollocatedMicrowaveOnlyIWP.m: - Added TODO-item (info on data used for training) 2012-05-28 Oliver Lemke * atmlab-2-1-226 * ChangeLog: Removed four leftover conflict markers. Keep your eyes open for >>>>, ==== and >>>> before committing! 2012-05-24 Patrick Eriksson * atmlab-2-1-225 * sensors/cloudsat_read.m (unitconv): String for error message caused an error. And added more unit string possibilities (appearently partly written differently among the data products). 2012-05-28 Oliver Lemke * atmlab-2-1-224 * files/loadncfile.m: Add support for reading files with nested or empty groups. 2012-05-27 Salomon Eliasson * atmlab-2-1-223 * datasets/common_read_patmosx.m: Fixed bugs introduced by latest adaptation * datasets/MaskInvalidGeoTimedataWithNaN.m: Skip if the input structure is empty 2012-05-25 Gerrit Holl * atmlab-2-1-222 * datasets/CollocatedMicrowaveOnlyIWP.m: - Started restructuring. Work in progress. Will have a lot more networks with more consistent names and outputs. Will guarantee consistency between training and retrieval limitations. But still work in progress. 2012-05-25 Salomon Eliasson * atmlab-2-1-221 * files/loadncvar.m: * files/loadncfile.m: * files/uncompress.m: Update uncompress * datasets/define_datasets.m: Added dataset * collocations/FieldCopier.m: Bug fix by Gerrit * collocations/CollocatedDataset.m: fixed logical error for overwrite * handy/PersistentCachedData.m: Fixed bug introduced by my last commit 2912-05-25 Gerrit Holl * atmlab-2-1-220 * datasets/define_datasets.m, site-specific/kiruna/datasets_init.m: - Added specific versions of cmoiwp * datasets/CollocatedMicrowaveOnlyIWP.m: Fix typo 2012-05-25 Salomon Eliasson * atmlab-2-1-219 * handy/PersistentCachedData.m: - Added a default minimum free disk space to avoid filling your disk with cache data. - added method that calculates the amount of free space on your drive using the 'df -k ' command. output is converted to bytes. - Now also check that there is enough free space on the drive, not just enough compared to what you want to allocate for the cache * files/uncompress.m: - use -d instead of -p in unzip to avoid making empty files if there is a failure. - Removed unnecessary assertion and throw better errors 2012-05-24 Gerrit Holl * atmlab-2-1-218 * collocations/TODO: - Added 2 bugs to be fixed * collocations/collocation_restrain.m, collocations/limstruct2limmat.m: - Added "see also" in the docs between those two functions * files/fileopen.m: - If it fails, also pass the error message, and give a nice error-identifier * datasets/SatDataset.m: (find_granule_by_datetime): - If 'tol' is given explicitly, always use the regexp-way to find a file (tol makes no sense otherwise anyway). (read_granule): - Add some checks - Use a one-second tolerance * datasets/CollocatedMicrowaveOnlyIWP.m: - Added some TODO-items - Increased hardcoded number of elemnts in network - Add limits as properties to object and networks - Add stored-file as properties to object and networks - Bump version number to 0.3 and enlarge changelog - Clearly split limitations in training-limitations and retrieval-limitations - Add more limitations (NO_ROIWP, CV_ROIWP) - Store more fields * define_datasets.m: - Fix small error 2012-05-22 Gerrit Holl * atmlab-2-1-217 * collocations/CollocatedDataset.m(read): - Fix rare bug if very first-read datafile has core but no additionals and stuff is merged * datasets/CollocateMicrowaveOnlyIWP: - Improve docs - mark illegal methods accordingly - Use more data to train networks - Be more needy in IWP-network - Remove plotting routines, they don't belong here - Call cf -> cf100 2012-05-22 Salomon Eliasson * atmlab-2-1-126 * files/uncompress.m: - Added function the uncompresses files based on their file endings. If it neither ends with .gz or .zip it does nothing. This calls a system call to gunzip or unzip instead of using MATLABS own slow version. (ca. factor 3 time faster for the typical file sizes we deal with) * datasets/common_read_mirs.m: * datasets/common_read_avhrr_cmsaf_gac.m: * datasets/common_read_hirscs.m: * datasets/common_read_patmosx.m: * datasets/common_read_calipso.m: * files/loadncvar.m: * files/loadncfile.m: * sensors/cloudsat_read_zipped.m: - Use the uncompress function instead of the slow matlab versions * datasets/common_read_mspps.m: - No longer output empty attributes structure 2012-05-22 Gerrit Holl * atmlab-2-1-125 * datasets/HomemadeDataset(read_single_day): - Set cleanup-object before creating 'tmp', if 'gunzip -c' fails, 'tmp' would not get removed. OTOH, removing an empty file is just a warning, so that's okay. 2012-05-22 Gerrit Holl * atmlab-2-1-124 * datasets/HomemadeDataset.m(cleanup): - Delete file even if error is not caught, before rethrowing. Maybe this will get rid of the empty NetCDF-files? 2012-05-21 Salomon Eliasson * atmlab-2-1-123 * files/loadncfile2.m: -deleted depricated file. Use loadncfile.m instead. (although this won't work for matlab's older than 2010a) 2012-05-21 Gerrit Holl * atmlab-2-1-122 * site-specific/kiruna/datasets_init.m: - Include version in cmoiwp-basedir * handy/rqre_field.m: - Add error identifier * datasets/SatDataset.m(read_granule): - Add some checks on reader-output - Convert time to double if it's integer * datasets/CollocatedMicrowaveOnlyIWP: - Added version and changelog props (make_retrieval_net): - Retrieve log(IWP), not IWP (make_classification_net): - Force cloud-frac within [0, 1] (plot_test_retrieval_net): - Added (retrieve_and_store_gran): - Resort data. Rerun collocs! - Correct for retrieving log not lin - Use class version (setmembers): - Add more attributes 2012-05-21 Salomon Eliasson * atmlab-2-1-121 * datasets/define_datasets.m: - Added granule duration to cmo dataset and added collocated dataset cmo_cpr * datasets/common_read_mirs.m: - Use year02 instead of year * site-specific/kiruna/datasets_init.m: -Added Gerrit's CMO dataset and fixed some bugs in the MIRS definition 2012-05-18 Salomon Eliasson * atmlab-2-1-120 * datasets/common_read_modis.m: - Fixed incorrect help * datasets/common_read_mirs.m: - Added reading routine for MIRS dataset (based on AMSU-b) * datasets/common_read_dardarsub.m: - Added pseudo fields * datasets/common_read_dardar.m: - Removed pseudo fields * math/column_integrate.m: - better output to screen * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: - Added MIRS collocated dataset 2012-05-16 Gerrit Holl * atmlab-2-1-119 * datasets/strrep_variables.m: Bugfix: str not int 2012-05-16 Gerrit Holl * atmlab-2-1-118 * datasets/CollocatedMicrowaveOnlyIWP.m: - New dataset. This is version 0.0 of collocation-based MW-only IWP. To generate data, NN toolbox is needed, to read data, it is not. * datasets/common_read_netcdf_dataset.m: - Reader for my dataset * datasets/SatDataset.m: - Add property 'sats' for multi-sat datasets, can be set for information to make easier looping through all data * datasets/define_datasets.m: - Add cmoiwp-dataset - Add 'sats'-attribute for several SatDatasets * site-specific/kiruna/datasets_init.m: - Add path for new cmoiwp dataset * datasets/strrep_variables.m: - Also replaec hour and minute 2012-05-15 Gerrit Holl * atmlab-2-1-117 * collocations/AssociatedDataset.m(members2cols): - Fix typo in docs * collocations/CollocatedDataset.m: (collocate_granule): - Bugfix: if last primary granule was unreadable, version was wrong - Provide more useful info when going to collocate (collocate_and_store_date): - Use 'overwrite' as a property, e.g. allow overwrite on for individual datasets, off for others - Provide sat/sensor-pair in logfile - Implemented TODO-item: when multiple associated-datasets exist, and one or more (but not all) already exist, read those from files, regenerate the rest. Note: this won't regenerate datasets present but depending on regenerated datasets (e.g. if FieldCopier is regenerated, Collapser does not automatically follow) (read): - Report reading from cache - Store info along with cache (but no function-handles, because function-handles store along with them the entire workspace!) * site-specific/kiruna/datasets_init.m: - Bugfix, collapsed CPR-AMSU-etc. was not including $SAT * handy/PersistentCachedData.m: (set_entry): Allow to store metadata in info.mat * datasets/HomemadeDataset.m: - Added 'members' property (see above for use) * datasets/SatDataset.m: (find_extreme_granule): Added. Finds earlier or latest granule in dataset. Not foolproof, use with care. (find_granules_first_line): Bugfix for storing every 10th result * datasets/define_datasets.m: - for ROIWP, store not only cloud fraction, but 4 fractions for 1, 10, 100, 1000 g/m² 2012-05-14 Salomon Eliasson * atmlab-2-1-116 * datasets/common_read_dardarsub.m: - Added the rest of the required fields 2012-05-14 Patrick Eriksson * atmlab-2-1-115 * tests/test_arts_ppath.m: Changes to trigger higher level slopes, this particularly for the surface. Max 2D slope before was about 1 km/deg. Now it is 10 km/deg. 3D Z_SURFACE had variation at the poles. 2012-05-14 Gerrit Holl * atmlab-2-1-114 * collocations/CollocatedDataset.m: - Added member 'pcd'. Can be set to PersistentCachedData-object. See «help CollocatedDataset/pcd» for usage info. (read): - Use pcd if possible (calc_cache_key): - Helper function calculating (unique?) cache-key from input arguments akin to .read(). * handy/PersistentCachedData.m: Be more verbose 2012-05-14 Salomon Eliasson * atmlab-2-1-113 * collocations/CollocatedDataset.m: - Fixed incorrect netcdf type for POS1 and POS2 (byte -> int) 2012-05-14 Salomon Eliasson * atmlab-2-1-112 * sensors/atovs/zamsu2l1c.sh: -Removed frivolous copying atovsin.log to the current directory. - Return status = 6 , return = 'Killed' if the script is killed by e.g. * sensors/atovs/atovs_get_l1c.m: - Use onCleanup to savely delete tmpdir - Special catch incase status = 6 (Killed) 2012-05-12 Salomon Eliasson * atmlab-2-1-111 * datasets/common_read_avhrr_cmsaf_gac.m: -No longer remove bad values but rather mask them with NaN in order to not flatten the data matrixes, and only one time per scanline. * datasets/common_read_mspps.m: * datasets/common_read_modis.m: * datasets/MaskInvalidGeoTimedataWithNaN.m: - Adapted function to the "only one time per scanline"-convention 2012-05-11 Gerrit Holl * atmlab-2-1-110 * handy/PersistentCachedData.m: - Added. Like CachedData, but persistent: store data on disk. Important: Read documentation before use! * files/loadvar.m: Improve documentation * datasets/SatDataset.m(store_firstline): - Bugfix, should have two arguments 2012-05-11 Gerrit Holl * atmlab-2-1-109 * datasets/SatDataset.m(find_earliest_granule): - Added, finds the very first granule for dataset. * datasets/common_read_dardarsub.m: - Add a little bit of documentation 2012-05-11 Salomon Eliasson * atmlab-2-1-108 * datasets/common_read_avhrr_cmsaf_gac.m: - fixed bug in time dimensions * datasets/common_read_patmosx.m: - removed comment * site-specific/kiruna/datasets_init.m: -Added missing patmosx entries * geoplots/gmt/create_gmt_earth.m: - changed default paper size to A0+ * geoplots/gmt/gmt_plot.m: - Bug fix related to making a pdf of the legend only. * handy/combine_pdfs.m: - Added some line breaks in the generated latex for the sake of readability in the output code. 2012-05-11 Gerrit Holl * atmlab-2-1-107 * collocations/CollocatedDataset.m(read): - Bugfix, if there are core collocs but no collapsed ones and data are combined, it was failing with an error message. Now works correctly. 2012-05-10 Gerrit Holl * atmlab-2-1-106 * collocations/CollocatedDataset.m: (list_fields): New method, lists all fields that can be read (read): Add some checks, fix a bug * handy/logtext.m: Bugfix if running interactively with jvm * collocations/HomemadeDataset.m: (list_fields): New method, give all fields in dataset * datasets/SatDataset.m: (granule_first_line) (find_granule_first_line): - Bugfix, self.(sat) not self.(spec), otherwise crash for no-spec datasets (store_firstline): Move functionality here 2012-05-10 Gerrit Holl * atmlab-2-1-105 * datasets/SatDataset.m(find_granules_first_line,granule_first_line): - Bugfix; again the same dataset with different sats... turn self.firstline into a structure where the fields refer to different sats (different spec). 2012-05-09 Salomon Eliasson * atmlab-2-1-104 * datasets/common_read_modis.m: - Fixed bug in interpolation. Now taking into account when longitudes include the dateline. - Added some documentation on what I am doing. - Was still flattening the time array * datasets/MaskInvalidGeoTimedataWithNaN.m: - fixed bugs due to changing from the flattened matrixes conventions 2012-05-09 Salomon Eliasson * datasets/MaskInvalidGeoTimedataWithNaN.m: * atmlab-2-1-103 * sensors/amsub_cloudfilter.m: - Added function for the AMSU-b cloud filter that returns a logical vector where false = cloud/ surface tainted or tb18 is too cold for a proper UTH retrieval * sensors/amsub_tb2uth.m: - Added some explanatory text throughout code, and revised header - Added some insertions and check to avoid errors - Now also works for vectors and not just scalars. 2012-05-09 Gerrit Holl * atmlab-2-1-102 * datasets/SatDataset.m(find_granules_first_line): - Bugfix: X.(elem) --> X(elem). Was actually causing unhandled C++-level exception. 2012-05-09 Gerrit Holl * atmlab-2-1-101 * collocations/AssociatedDataset.m(process_delayed): - Bugfix, correct comparison is >=0, not >0! * datasets/SatDataset.m: - Reimplement granules_first_line and find_granules_first_line. Rerun your granules_first_line-databases! Now a native Matlab Map, not a Java.Util.Hashtable. Additionally fixed a bug, flags are now negative respetively positive according to what should be done with the data. 2012-05-08 Gerrit Holl * atmlab-2-1-100 * collocations/AssociatedDataset.m(process_delayed): - Check that data are properly sorted. If not, error, because otherwise there might be incorrect results later on! 2012-05-08 Gerrit Holl * atmlab-2-1-99 * datasets/HomemadeDataset.m(read_single_day): - Change from protected to public 2012-05-08 Gerrit Holl * atmlab-2-1-98 * datasets/HomemadeDataset.m(store): - Fixed SERIOUS bug causing possible data corruption in collocated-data! * collocations/CollocatedDataset.m: - When there are no additionals, do not complain about limits or filters. 2012-05-07 Salomon Eliasson * atmlab-2-1-97 * geoplots/gmt/gmt_plot.m: * geoplots/gmt/gmt_inputs.m: -Fixed bug in class check for in.coast, and cleaned up a tad * geoplots/gmt/create_gmt_earth.m: - Added COLOR_BACKGROUND and COLOR_FOREGROUND to psbasemap * files/loadvar.m: - small changes: fixed some mlint warnings * datasets/SatDataset.m: -Puny update * datasets/MaskInvalidGeoTimedataWithNaN.m: - Added function to mask invalid data from the common_read_ functions with NaNs * datasets/{common_read_calipso.m,common_read_mspps.m, common_read_dardar.m,common_read_patmosx.m,common_read_cpr.m, common_read_modis,common_read_avhrr_cmsaf_gac}: - Mask invalid data with NaNs instead of just removing them - Don't flatten the data unnecessarily - Update the header * site-specific/kiruna/datasets_init.m: * datasets/define_datasets.m: - Added MIRS to the list * time/daterange.m: - Expanded so that it also handles datevec with h,min,sec. * math/binned_statistics.m: - Patch so that if func2str gives an unusable string for the structure, call it statistic1 , etc instead. - Passing an empty limiter is now also possible. - No longer try to be smart and pick another "replace with" value for empty cells is the class of the array in the cell are different from the class of the "replace value". Instead pass a warning. * sensors/atovs/atovs_get_l1c.m: small edit 2012-05-06 Patrick Eriksson * atmlab-2-1-96 * tests/test_arts_ppath.m: Now three options for "aspherity". 2012-05-05 Gerrit Holl * atmlab-2-1-95 * collocations/FieldMultiInstrumentCopier.m(process_granule): - When one of the other instruments cannot be read, calculate what size of matrix should have been returned and insert an equally-sized matrix with nans instead. * collocations/AssociatedPOESPlusCPR.m(translate): - When origline is empty, result should also be, with same dims. * site-specific/kiruna/datasets_init.m: - Fix basedir for amsub_mhs and mhs_amsub (was wrong) 2012-05-04 Gerrit Holl * atmlab-2-1-94 * collocations/CollocatedDataset.m(collocate_and_store_date): - Verbosely write how many collocations I'm going to store * handy/CachedData.m(CachedData): - Bugfix, should create structure in constructor * datasets/SatDataset.m(SatDataset): - Bugfix, should create CachedData-object in constructer, otherwise all objects will share one single cache. 2012-05-04 Gerrit Holl * atmlab-2-1-93 * collocations/CollocatedDataset.m: (collocate_and_store_date): - Don't process additionals if there are no collocations (collocate_and_store_date_range): - Add a little function for the logfile-cleanup to leave a message in the log if collocations finished prematurely. * handy/CachedData.m: (set_entry) (del_old_entry): - Don't only output the size in bytes, but also in no. entries * datasets/HomemadeDataset.m(store): - Bugfix: don't try to define dimension if there are no collocs, NetCDF doesn't like [0 nonzero] dimension. - Wartfix: Write newline after all fields, not every field. * datasets/SatDataset.m(read_granule): - Bugfix: Satellite-name was not included with cache-name due to an erroneous tilde. This caused cache for different sats to be mixed, which goes wrong as soon as collocations are performed between two granules for two different sats but with the exact same starting time. * datasets/define_datasets.m: - For dardarsub, also add temperature 2012-05-04 Gerrit Holl * atmlab-2-1-92 * collocations/CollocatedDataset.m: (collocate_and_store_date) (collocate_and_store_date_range): - Log very briefly what is done to a logfile inside the base, when writing * site-specific/kiruna/datasets_init.m: - Move collocated datasets into their own subdir - Added amsub/amsub, amsub/mhs, mhs/amsub core & associated * datasets/HomemadeDataset.m(store): - Do not store, this is done in cleanup-function * datasets/convert_dardar.m: Write docs * datasets/common_read_dardar.m: - Ensure consistency in orientation of vectors * datasets/common_read_dardarsub.m: Added * datasets/define_datasets.m: - Some more fields in dardarsub - Added reader for dardarsub - Added amsub/amsub, amsub/mhs, mhs/amsub core & associated - Remove commented-out code 2012-05-03 Gerrit Holl * atmlab-2-1-91 * collocations/Collapser.m: - Update example (MeanFieldCopier now Collapser) - Move some documentation from constructor to properties * collocations/FieldCopier.m(process_granule): - Can now copy fields that have only one value per scanline (such as time) * datasets/SatDataset.m: - Added 'visible' property that controls whether this dataset should be registered with 'datasets', with 'self.associated' (see below), etc. (read_granule): - New special case, 'scanline_number' and 'scanline_position' are always added, therefore not passed on to actual reader. * datasets/datasets.m: - Only "register" dataset if self.visible is true * collocations/AssociatedDataset.m(AssociatedDataset): - Only "register" dataset if self.visible is true * collocations/AssociatedPOESPlusCPR.m: - For internal 'sub'-datasets, set 'visible' to false in order not to confuse subsequent reading-routines. * datasets/define_datasets.m: - Bugfix when checking if dataset is defined - Do not add redundant fields (B_LAT, B_LONG, etc.) - Add some more non-redundant fields - Add Collapser belonging to Holl10-like-dataset. Now I have more or less all the Holl10-functionality in the new style. * site-specific/kiruna/datasets_init.m: - Added basedir, subdir for new associated-datasets * collocations/FieldMultiInstrumentCopier.m: - Bugfix: 'members'-structure needs to be present not only after processing, but only when reading from disk without doing any processing. * collocations/TODO: Added item. 2012-05-02 Gerrit Holl * atmlab-2-1-90 * datasets/define_datasets.m: - Added new associated-dataset to work with FieldMultiInstrumentCopier semi-reproducing dataset from my first paper (work in progress). 2012-05-02 Gerrit Holl * atmlab-2-1-89 * collocations/FieldMultiInstrumentCopier.m, collocations/AssociatedPOESPlusCPR.m: - Remove code that was already commented out * collocations/CollocatedDataset.m: (read): Add option to check only limited subset of AssociatedDatasets for fieldnames. (deal_fields): Implement new option in (read). Give proper error message in case of ambiguity. * collocations/TODO: Added TODO-item related to CollocatedDataset.read 2012-05-02 Gerrit Holl * atmlab-2-1-88 * BACKWARD-INCOMPATIBLE CHANGES: - Datasets no longer defined in datasets_config! Use structure returned by 'datasets' to access them. - Set atmlab('LEGACY_MODE') if you want to use old-style definitions * datasets/define_datasets.m: Added - Now this is where datasets are defined. * datasets/datasets_config.m: - Trimmed to a minimum, moved most to 'datasets' * collocations/FieldMultiInstrumentCopier.m(FieldMultiInstrumentCopier): - In constructor, set 'members' to empty structure if it is an empty array. * Moved more to deprecated/: - sensors/find_scanline_overlaps.m - datasets/read_granule.m * collocations/CollocatedDataset.m, datasets/SatDataset.m: - Update documentation to reflect change with datasets_config * atmlab/atmlab.m: - Added flag 'LEGACY_MODE' that can be used to include deprecated code that is disabled by default * atmlab/atmlab_init.m: - Respect atmlab('LEGACY_MODE'); if true, add directory 'deprecated'. * site-specific/kiruna/datasets_init.m: - Use 'datasets' rather than 'datasets_config' - Excecute old-style only if atmlab('LEGACY_MODE') is true * datasets/common_read_cpr.m, datasets/convert_dardar.m, datasets/common_read_patmosx.m, datasets/common_read_dardar.m, datasets/common_read_mspps.m, datasets/common_read_avhrr_cmsaf_gac.m, datasets/common_read_modis.m: - Use 'datasets' rather than 'datasets_config'. 2012-05-02 Gerrit Holl * atmlab-2-1-87 * handy/CachedData.m: (cachesize): Added method to get current cache-size * collocations/Collapser(process_granule): - Bugfix: was crashing when specific limitators, but no overall limitators, were present. 2012-05-02 Gerrit Holl * atmlab-2-1-86 * handy/CachedData.m(clear): - Added method to clear the cache 2012-05-02 Gerrit Holl * atmlab-2-1-85 * collocations/Collapser.m(process_granule): - Bugfix: when no limitators are applied at all, keep everything. Was throwing away everything because no limitators were true. * TODO: - Added one item related to inconsistent fieldcopiers etc. 2012-05-02 Gerrit Holl * atmlab-2-1-84 * collocations/CollocatedDataset.m, collocations/Collapser.m, collocations/FieldCopier.m, collocations/FieldMultiInstrumentCopier.m, datasets/HomemadeDataset.m: Bugfix - Bugfix: define members only once and publicly, so that all that need to can access it and it is defined equally * collocations/TODO: Added one TODO-item allowing for multi-instrument to store lineno, pos, etc. 2012-04-29 Patrick Eriksson * atmlab-2-1-83 * tests/test_arts_ppath.m: Random seed now set from clock. The same tests were before repated when restarting matlab. 2012-05-01 Salomon Eliasson * atmlab-2-1-82 * datasets/removeInvalidGeoTimedata.m: - Fixed bug. * datasets/SatDataset.m: -d changed datestr(datenum(X), 'yydddddmmmHHMM') to dtstr = datestr(datenum(X), 'yydd_dddmmmHHMM'); * datasets/datasets_config.m: - Changed the primary for avhrrCMSAF on CPR 2012-04-30 Gerrit Holl * atmlab-2-1-81 * datasets/HomemadeDataset.m: - Add 'members' as a private property (HomemadeDataset): - Actually do something in the constructor, so that the user can create their own HomemadeDataset; 'darsub' is such a one. (getmembers): - Retrieve private property 'members'. * datasets/datasets_config.m: - Added 'darsub', a HomemadeDataset for our own DARDAR selection * site-specific/kiruna/datasets_init.m: - dardar now at /storage2 - added 'darsub' for our dardar-subselection * datasets/convert_dardar.m: - Convert actual DARDAR to our own subselection 2012-04-30 Gerrit Holl * atmlab-2-1-80 * collocations/FieldMultiInstrumentCopier.m (process_granule): - Bugfix. Pass correct flag NOT to remove duplicates when reading additional instruments from the same satellite, so that scanline-numbers between the two are consistent and therefore correct. Removal of duplicates is taken care of elsewhere in the processing chain. 2012-04-27 Gerrit Holl * atmlab-2-1-79 * Moved a large number of files to a new "deprecated/"-directory that is NOT included in the path by default. To use the old-style collocation functions from now on, add the directory "deprecated/" by hand. Those functions will not be maintained any longer (all are now methods or are superfluous): collocations/colloc_process_data_collocation_cpr_poes_avhrr.m, collocations/colloc_process_meandata_collocation_cpr_poes_avhrr.m, collocations/collocation_read.m, collocations/collocate_date.m, collocations/colloc_concatenate_colloc_data_mean.m, collocations/write_collocations.m, collocations/collocate.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/cols_cell_to_cols_struct.m, collocations/write_collocations_netcdf.m, collocations/colloc_process_x_to_x.m, collocations/colloc_process_collocation_cpr_poes_avhrr.m, collocations/collocate_and_store_date.m, collocations/collocation_read_frompipe.m, collocations/colloc_process_data_hirscs_poes.m, collocations/collocation_read_dual.m, collocations/colloc_process_data_cpr_avhrr.m, collocations/colloc_process_hirscs_poes.m, collocations/collocate_and_store_date_range.m, collocations/colloc_select_good_lines.m, collocations/colloc_process_meandata_cpr_mhs.m, collocations/colloc_process_cpr_avhrr.m, collocations/collocate_granule.m, collocations/colloc_process_data_x_to_x.m, datasets/list_datasets.m, datasets/find_granules_by_date.m, datasets/granule_first_line.m, datasets/find_datafile_by_unixtime.m, datasets/find_granules_for_period.m, datasets/find_info_from_granule.m, datasets/find_datadir_by_date.m, datasets/find_datafile_by_date.m, datasets/number_sats_in_dataset.m. * collocations/FieldCopier.m: - Moved documentation from constructor to property (FieldCopier): - Suggest 'realname' attribute when duplicate fieldname error (primary_arguments) (secondary_arguments) (needs_primary_data) (needs_secondary_data): - Use new 'fieldargs' static private method for shared code (fieldargs): - New static private method to get arguments passed to reader from a particular field-structure (not dataset, consider realname, etc.) (process_granule): - Implement new 'realname' scheme. The 'realname' attribute allows for a difference between the name under which a field is stored in the original data and the name under which it will be stored in the collocations. * collocations/FieldMultiInstrumentCopier.m: Added - Working on new class that allows to get instrument on the same satellite, roughly the same resolution (same no. of collocs), but a different footprint size; e.g. when collocating CPR with MHS, find the closest HIRS and AMSU-A as well. Current status: code generates no errors, but results are garbage. Work in progress. * collocations/AssociatedPOESPlusCPR.m: Added - First implementation of FieldMultiInstrumentCopier; not working properly yet (garbage results). Work in progress. * collocations/AssociatedDataset.m: tiny change in docs * collocations/README: Update URI * datasets/datasets_config, site-specific/kiruna/datasets_init.m: - Added AMSU-A, HIRS, AMSU-B - Changed default collocation distance for mhs-cpr to be consistent with my earlier work * handy/CachedData.m: (set_entry): Also output new size in verbose output (del_old_entry): Output new size after removing (cachesize): Move functionality to new method (toolarge): Use new functionality from cachesize * datasets/common_read_cpr: - Bugfix. Ensure correct field-cell orientation. * datasets/common_read_poes_radiometer.m: - Don't use old, deprecated info-finder; use OO style * datasets/SatDataset.m: - Remove TODO related to caching, because it's now implemented. 2012-04-27 Patrick Eriksson * atmlab-2-1-78 * Consolidating with atmlab-2.0: * retrieval/qpack2/qp2_l2.m: Somewhat improved header text. * retrieval/qpack2/qp2_rel2vmr.m (qp2_rel2vmr): Code for S-matrices removed (did not work). Header text improved, now stating clearly which fields that are converted. * retrieval/qpack2/qpack2.tex: Added a section treating units, particularly rel and logrel. * arts/arts_oem_init.m (arts_oem_init): Removed some obselete comments. * retrieval/oem.m: Some small improvements of help text. * demos/qpack2_demo.m: Q.HSE.P now set to first element of pressure grid. Old setting of 1013 (Pa) strange, confusing and can cause that the surface slips outside the atmosphere after applying HSE. * h2o/thermodynamics/potential_temperature.m: corrected name of variables according to earlier commit in physics/constants. 2012-04-27 Salomon Eliasson * atmlab-2-1-77 * geoplots/gmt/gmt_plot.m (gmt_plot): Fixed bug if longitudes are in the 0:360 regime, but are not continuous after changing to the -180:180 long regime, which is done by default. e.g. if lons go from 80:300 2012-04-27 Patrick Eriksson * atmlab-2-1-76 * tests/test_arts_ppath.m (test_arts_ppath): Somewhat more detailed accuracy reporting message. 2012-04-26 Gerrit Holl * atmlab-2-1-75 * site-specific/kiruna/datasets_init.m: Bugfix for mhs-regexp 2012-04-26 Salomon Eliasson * atmlab-2-1-74 * geoplots/gmt/gmt_nc_save_ungridded.m: Uses gmt_get_nctype3.m instead of gmt_get_nctype.m * math/column_integrate.m (column_integrate): Added function that effectively column integrates column data. E.g. IWC -> IWP * geoplots/gmt/gmt_get_nctype3.m (nc_type): added function taylor made for netcdf3, since this is the default netcdf. Was erroneously supporting the uint types in gmt_get_nctype.m 2012-04-25 Gerrit Holl * atmlab-2-1-73 * collocations/Collapser.m(process_granule): remove FIXME * TODO: tick off item * collocations/CollocatedDataset.m: - Added 'gridsize' property (collocate_granule): - Write distance/time when collocation - Remove some commented out code - Don't crash on unreadable file (collocate_and_store_date): - Be more helpful in output text (collocate): - Use object-local gridsize - Use mean Earth radius * handy/CachedData.m: Added - Class to cache data * datasets/datasets_config.m: - Give dardar a sat (atrain) - Give mhsmhs a name, distance, interval - Remove some FIXMEs * datasets/SatDataset.m: - Added member for cached data (read_granule): - Cache data with CachedData object (find_granule_first_line): - Correct error in example * datasets/removeInvalidGeoTimedata.m: - Don't remove too much times 2012-04-25 Salomon Eliasson * atmlab-2-1-72 * physics/constants.m: Fixed bug that crashes function if I have no imput arguments 2012-04-25 Salomon Eliasson * atmlab-2-1-71 * physics/constants.m: Added LATENT_HEAT_VAPORIZATION_273, and throw an error about using LATENT_HEAT_VAPORIZATION as this number is only valid for 373.15K. LATENT_HEAT_VAPORIZATION_273 is only correct at 0deg. 2012-04-25 Gerrit Holl * atmlab-2-1-70 * site-specific/kiruna/datasets_init.m: - Resort, put deprecated style all at the end * datasets/SatDataset.m(granule_first_line): - Give a more helpful error message if no granule_first_line found * documentation/collocations.tex: - Small improvements based on comments from Salomon * datasets/datasets_config.m: - Add comment 2012-04-24 Patrick Eriksson * atmlab-2-1-69 * tests/test_arts_ppath.m: REFR_INDEX_AGENDA updated with refr_index_group. 2012-04-24 Patrick Eriksson * atmlab-2-1-68 * tests/test_arts_ppath.m: Added code for additional testing. 2012-04-24 Gerrit Holl * atmlab-2-1-67 * collocations/CollocatedDataset.m: - Improve class documentation * datasets/datasets_config.m: - Move everything old-style down down down * datasets/SatDataset.m: - Improve class documentation * collocations/Collapser.m: - Improve class documentation * collocations/AssociatedDataset.m: - Improve class documentation * datasets/HomemadeDataset.m: - Improve class documentation 2012-04-23 Gerrit Holl * atmlab-2-1-66 * collocations/{colloc_config,CollocatedDataset}.m: Comment more * documentation/collocations.tex, documentation/extra.bib: update 2012-04-23 Patrick Eriksson * atmlab-2-1-65 * tests/test_arts_ppath.m: Corrected sin to sind when calling cartposlos2geocentric. Removed special check of surface. * arts/xml/xmlReadPpath.m (xmlReadPpath): * arts/xml/xmlWritePpath.m (xmlWritePpath): Added handling of ngroup. 2012-04-23 Gerrit Holl * atmlab-2-1-64 * datasets/datasets.m: Bugfix in renaming dataset 2012-04-20 Salomon Eliasson * atmlab-2-1-63 * datasets/datasets_config.m: Added two datasets and added attributes to the collocated datasets * site-specific/kiruna/datasets_init.m: Added 2 datasets and cleaned up a bit * datasets/common_read_modis.m: Adapted to removeInvalidGeoTimedata.m, added more documentation, fixed undesired behavior * datasets/common_read_dardar.m: Added reader for the DARDAR dataset * datasets/common_read_avhrr_cmsaf_gac.m: Added reader for the AVHRR_CMSAF dataset * datasets/removeInvalidGeoTimedata.m: Added common internal function that the common_read_ functions use. * datasets/common_read_mspps.m,common_read_patmosx.m,/common_read_calipso.m: adapted to datasets/removeInvalidGeoTimedata.m * datasets/SatDataset.m: Put in a little assertion for clearer error message * collocations/CollocatedDataset.m: Tweeked a string for readability * datasets/common_read_hirscs.m,common_read_cpr_2BCWCRO.m, * datasets/common_read_avhrr.m,common_read_poes_radiometer.m,common_read_collocation_cpr_mhs.m: propset Id 2012-04-20 Gerrit Holl * atmlab-2-1-62 * collocations/Collapser.m: Clean up old commented-out code * collocations/CollocatedDataset.m: - Add props for distance and interval - Use those props rather than global constant - collocate now ordinary method, not static, and using distance and interval props rather than arguments * documentation/collocations.tex: change docs accordingly * documentation/Makefile: makeglossaries 2012-04-17 Patrick Eriksson * atmlab-2-1-61 * tests/test_arts_ppath.m (test_arts_ppath): Changed accuracy threshold to 1 m. 2012-04-18 Gerrit Holl * atmlab-2-1-60 * documentation/collocations.tex: - Improve documentation a bit more. Pretty good draft now. 2012-04-18 Gerrit Holl * atmlab-2-1-59 * collocations/collocate.m: Add warning; this too is now a method. * collocations/TODO: Added one item - should be more straightforward to configure max time and dist * collocations/CollocatedDataset.m: - Make collocate a static method, not a function anymore * datasets/SatDataset.m: - Expand documentation for property 'reader' * documentation/collocations.tex: Significantly expand documentation 2012-04-17 Gerrit Holl * atmlab-2-1-58 * collocations/MeanFieldCopier.m → collocations/Collapser.m: - rename class - inherit directly from AssociatedDataset, no current need for in-between classes - Significant expand documentation, more-or-less finished now. * collocations/ReducedDataset.m, collocations/MeanDataset.m: deleted. - Let Collapser inherit directly from AssociatedDataset, no classes in-between that do nothing * collocations/AssociatedDataset.m: Finish online documentation * collocations/Holl10Data.m: Make clear that this is work in progress * documentation/collocations.tex, collocations/CollocatedDataset.m: Adapt for renamed class * datasets/HomemadeDataset.m: Expand documentation 2012-04-17 Gerrit Holl * atmlab-2-1-57 * collocations/FieldCopier.m, collocations/AssociatedDataset.m, collocations/MeanFieldCopier.m, collocations/CollocatedDataset.m: - Significantly expand documentation. Will rename MeanFieldCopier in next commit. 2012-04-16 Gerrit Holl * atmlab-2-1-56 * collocations/AssociatedDataset.m, collocations/CollocatedDataset.m, datasets/SatDataset.m, datasets/HomemadeDataset.m: - Significantly expand documentation * collocations/TODO: revise * datasets/SatDataset.m, datasets/datasets_config.m: Remove 'dataset' * documentation/collocations.tex: - Make clean what methods are most relevant for end user (work in progress) 2012-04-13 Gerrit Holl * atmlab-2-1-55 * collocations/AssociatedDataset.m, collocations/CollocatedDataset.m, datasets/HomemadeDataset.m: - Simplify class hierarchy, see documentation for new hierarchy. * documentation/collocations.tex: Expand documentation 2012-04-13 Gerrit Holl * atmlab-2-1-54 * documentation/, documentation/bib_all.bib, documentation/copernicus.bst, documentation/collocations.tex, documentation/acronyms.tex, documentation/pgf-umlcd.sty, documentation/Makefile: Added - Started writing a manual for the collocations toolkit 2012-04-13 Gerrit Holl * atmlab-2-1-53 * collocations/FieldCopier.m (FieldCopier): - Re-organise automatic calculations of names * datasets/SatDataset.m: (SatDataset): If name not given, calculate one (calculate_name): Provide default implementation for name-calculation; my be overwritten by subclasses, such as by CollocatedDataset * collocations/CollocatedDataset.m: (CollocatedDataset): Move stuff around a bit (calculate_name): Implement special-case name-calculation * datasets/common_read_poes_radiometer.m: - Allow for reading either l1b or l1c * datasets/HomemadeDataset.m: - Do not derive from SatDataset; diamond inheritance causes issues with implicit instructor calling (store): Bugfix, do not assume there is a (non-mandatory) '.atts' attribute (read_single_day): Rather than zcat, use gunzip -c * datasets/common_read_avhrr.m, datasets/common_read_hirscs.m: - Rather than zcat, use gunzip -c 2012-04-13 Patrick Eriksson * atmlab-2-1-52 * tests/test_arts_refraction.m (test_arts_refraction): Updated and default settings slightly changed. * tests/test_arts_ppath.m (test_arts_ppath): Updated following more recent changes in arts. * geodetic/cart2geocentric.m: POLELAT (from arts) had not been replaced. * arts/xml/xmlReadPpath.m: * arts/xml/xmlWritePpath.m: Updated to changes in arts. 2012-04-13 Salomon Eliasson * atmlab-2-1-51 * geoplots/gmt/gmt_plot.m: in.datarange is now always double() 2012-04-11 Salomon Eliasson * atmlab-2-1-50 * files/loadncvar.m: Now also gunzips files before reading variables. 2012-04-10 Salomon Eliasson * atmlab-2-1-49 * geodetic/sphdist.m: replace the two "*" with ".*" to also handle vectors. 2012-04-10 Salomon Eliasson * atmlab-2-1-48 * files/loadncfile.m: Now possible to pass gzipped files to loadncfile. This is handy to directly read e.g. the collocated data files saved by the collocation dataset 2012-04-06 Patrick Eriksson * atmlab-2-1-47 * time/mjd2gmst.m (mjd2gmst): * geographical/sun_eclip.m (sun_eclip): * geographical/sun_celest.m (sun_celest): * geographical/sun_angles.m (sun_angles): Added these function. Made by Craig Haley (obtained by samuel Brohede, thanks both of you). * geodetic/sphdist.m: Replaces the function below. New implementation, using a more stable expression according to www.movable-type.co.uk/scripts/latlong.html. I also got different results for distances below 1m, but agreement for longer distances. This version is also more general as both degree and m distance can be obtained. * math/sphdist.m: Removed (replaced by function above). 2012-04-05 Salomon Eliasson * atmlab-2-1-46 * datasets/common_read_modis.m: Added reader for modis level 2 data. This follows the conventions of the collocation codes 2012-04-03 Patrick Eriksson * atmlab-2-1-45 * arts/xml/xmlWritePpath.m (xmlWritePpath): * arts/xml/xmlReadPpath.m (xmlReadPpath): Added handling of new fields. 2012-03-31 Patrick Eriksson * atmlab-2-1-44 * Qarts/qpack now updated with respect to changes in arts. * demos/qpack2_demo.m: Setting of R_GEOID removed. * retrieval/qpack2/qpack2.tex: Removed a line about R_GEOID. * geophysics/pt2z.m (pt2z): Killed some screen output due to missing ;. * retrieval/qpack2/qpack2.m (qp2_y2Q): Y.LATITUDE now moved to Q.LAT_TRUE. And same for longitudes. R_GEOID now not required. * demos/qarts_demo.m: * demos/qpack2_demo.m: * demos/qarts_abstable_demo.m: R_GEOID -> REFELLIPSOID. 2012-03-30 Patrick Eriksson * atmlab-2-1-43 * Start on getting qarts/qpack in sync with arts-2.1. Not ready. * retrieval/qpack2/qpack2.m: Now using REFELLIPSOID instead of R_GEOID. * arts/arts_regrid.m: * arts/qarts_hse.m: * arts/qarts_vmr_field.m: * arts/qarts_t_or_z_field.m: Now selecting between LAT/LON_TRUE and LAT/LON_GRID depending on the atmospheric diemnsionality. * demos/qarts_demo2.m: * demos/qarts_demo.m: Updated, following changes below. New value for Q.HSE.P. * arts/qarts.m (qarts): Added LAT_TRUE and LON_TRUE, updated description for LAT_GRID and LON_GRID. Added also PPATH_AGENDA. * arts/qarts2cfile.m: Added handling of LAT_TRUE, LON_TRUE and PPATH_AGENDA. 2012-03-30 Salomon Eliasson * atmlab-2-1-42 * datasets/datasets_config.m: Changed collocation primary from modis to cloudsat. * site-specific/kiruna/datasets_init.m: Changed collocation primary from modis to cloudsat. Added version to regexp in for patmosx * datasets/common_read_cpr.m: * datasets/common_read_mspps.m: * datasets/common_read_patmosx.m: * datasets/common_read_calipso.m: Use x.find_info_from_granule for gathering version, time etc. And make sure the time is double 2012-03-28 Salomon Eliasson * atmlab-2-1-41 * time/unixsecs2date.m: Fixed truncating BUG. Now converts input seconds into double. * geoplots/gmt/gmt_plot.m: Remove NaNs from geodata for ungridded data. * geographical/resample_geodata.m: Puny change 2012-03-27 Patrick Eriksson * atmlab-2-1-40 * 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). * geophysics/pt2z.m: Now having ellipsoid as optional input. Some re-arrangements to make code more similar to the one in arts. * physics/constants.m: GAS_CONST was missing in header. 2012-03-26 Salomon Eliasson * atmlab-2-1-39 * datasets/common_read_mspps.m: Fixed small bug * datasets/common_read_calipso.m: Fixed version number * datasets/SatDataset.m: Added find_info_from_granule as a method * handy/struct2string_compact.m: If input fieldnames are empty, return and empty output * datasets/datasets_config.m: * site-specific/kiruna/datasets_init.m: Added modis dataset * collocations/CollocatedDataset.m: Small fixes related to empty matrixes etc * math/land_sea_mask.m: Added a bit more documentation and added Gerrit as the author of the function 2012-03-16 Patrick Eriksson * atmlab-2-1-38 * geophysics/pt2z.m: Now using from GAS_CONST from constants.m and another equation for virtual temperature. Before the gas constant for dry air was hard-coded to 287.0530. The implied value now is 287.0421, which gives a change of about 2m at 50 km. * physics/constants.m: Sorted constants in alphabetical order (both in header and inside function). Added "GAS_CONST". * tests/test_arts_refraction.m (test_arts_refraction): More text output. 2012-03-16 Patrick Eriksson * atmlab-2-1-37 * tests/test_arts_refraction.m: Reference point now calculated by arts, using 1D with 100 m step length. * tests/test_arts_ppath.m: Making use of new feature of cartposlos2geocentric.m. * geodetic: Polishing of header text in several functions. * geodetic/cart2geocentric.m: The original pos/los are now optional arguments, which are used to improve the accuarcy where possible. * geodetic/cartposlos2geocentric.m: As above. 2012-03-15 Gerrit Holl * atmlab-2-1-36 * collocations/FieldCopier.m(process_granule): - BLIND BUGFIX! Untested. Bugfix when more than one field has the same non-singleton dimension * collocations/SatDataset.m(find_granule_first_line): Tiny grammar fix 2012-03-15 Salomon Eliasson * atmlab-2-1-35 * site-specific/kiruna/datasets_init.m: * datasets/datasets_config.m: Changed the name of 3 collocated datasets to be less confusing * handy/catstruct.m: Commented out annoying message * datasets/common_read_calipso.m: Moved the column intergration of e.g. IWP out of this function, and suppressed the output of exec_system_cmd. * datasets/common_read_patmosx.m: Adapted to the newly downloaded data and suppressed the output of exec_system_cmd. * datasets/common_read_mspps.m: Catch error maybe-specific to this dataset and give it another error identifier so that the collocation codes will deal with it properly 2012-03-15 Salomon Eliasson * atmlab-2-1-34 * sensors/cloudsat_read_zipped.m: Make sure that CloudSat files are unzipped into a unique temporary directories. and delete the directory when done. 2012-03-15 Patrick Eriksson * atmlab-2-1-33 * tests/test_arts_refraction.m: Now also possible to make simulations with reversed azimuth angle (to check that all OK for 2D with negative za). 2012-03-14 Patrick Eriksson * atmlab-2-1-32 * tests/test_arts_ppath.m: Now generating a higher fraction of limb sounding cases (very low before due to typo). * tests/test_arts_refraction.m: New. 2012-03-13 Gerrit Holl * atmlab-2-1-31 * collocations/FieldCopier.m (process_granule): Bugfix - When data is same size as lat/lon, just flatten, don't take last dimension as data-dimension (such as for IWC, bt, etc.) * datasets/SatDataset.m: Be a bit more verbose 2012-03-13 Salomon Eliasson * atmlab-2-1-30 * datasets/common_read_mspps.m: Added general MSPPS reading routine * datasets/common_read_calipso.m: Added general Calipso reading routine * datasets/common_read_cpr.m: Added general CloudSat reading routine * datasets/common_read_patmosx.m: Now also out put the attributes associated with the gathered fields if user provides 2 output arguments * datasets/SatDataset.m: Added 2 new error identifiers * site-specific/kiruna/datasets_init.m: * datasets/datasets_config.m: Added a bunch of new datasets 2012-03-12 Patrick Eriksson * atmlab-2-1-29 * tests/test_arts_ppath.m: Can now also be run with refraction algorithm (and n=1). 2012-03-09 Patrick Eriksson * atmlab-2-1-28 * tests/test_arts_ppath.m (test_arts_ppath): As below and non-spherical 3D cases activated. * arts/xml/xmlReadPpath.m: * arts/xml/xmlWritePpath.m: l_step -> lstep and l_space -> lspace, following change in arts. 2012-03-09 Gerrit Holl * atmlab-2-1-27 * collocations/FieldCopier.m: New feature: any fieldstruct with a 'dataset' attribute will be gotten from the indicated 'dataset' rather than from the core. To be documented. (primary_arguments) (secondary_arguments): - Do not pass on fieldnames for arguments to primary/secondary if those fields have a 'dataset' attribute (process_granule): - If a field has a 'dataset' attribute, read the granule for this dataset. Must have the same granules and dimensions as the core. Useful for e.g. different CPR datasets. * collocations/CollocatedDataset.m (collocate_date): Tiny change * datasets/datasets_config.m, site-specific/kiruna/datasets_init.m: Add cpr_rvod * handy/struct2string_compact.m: Fix recursion-bug 2012-03-07 Gerrit Holl * atmlab-2-1-26 * sensors/atovs/zamsu2l1c.sh: Complement helptext * sensors/find_scanline_overlaps.m: Add deprecation-warning 2012-03-07 Patrick Eriksson * atmlab-2-1-25 * geodetic/lat_crossing.m: * geodetic/r_crossing.m: Updated following changes in arts. * tests/test_arts_ppath.m: The variable lont was used for two different things. 2012-03-06 Gerrit Holl * atmlab-2-1-24 * collocations/AssociatedDataset.m (concatenate): - Simple sample implementation, usually concatenation is trivial.. * collocations/MeanFieldCopier.m (concatenate): - ...but in some cases it's not; correct FIRST and LAST so that they're still correct when collocations are not per granule, but for an entire day. * collocations/CollocatedDataset.m: (collocate_date) (collocate_granule): - When concatenating different granules, for the additional datasets, use the method additional.concatenate that each additional can implement (default implementation provided). Like this, additionals can assure that appropiate corrections are put in place, e.g. FIRST and LAST should be corrected. 2012-03-06 Gerrit Holl * atmlab-2-1-23 * collocations/FieldCopier.m: (process_granule): Correctly treat multi-dimensional fields * collocations/CollocatedDataset.m: (collocate_and_store_date_range): Document a bit (deal_fields): Bugfix, correct order both outputs 2012-03-06 Salomon Eliasson * atmlab-2-1-22 * site-specific/kiruna/datasets_init.m: moved init for collocations_patmosx_cpr out of here for now * collocations/CollocatedDataset.m: (read): skip reading additionals_day{j} if it is empty 2012-03-06 Gerrit Holl * atmlab-2-1-21 * collocations/AssociatedDataset.m, collocations/MeanFieldCopier.m: (limit_to) (limit_from): Remove, new approach * collocations/CollocatedDataset.m (read): - Limiting only works if only 2 output arguments (merged). But now works for any field, I think. 2012-03-06 Gerrit Holl * atmlab-2-1-20 * collocations/AssociatedDataset.m: (get_mergefields): Method returning required fields for merging * collocations/MeanFieldCopier.m: (get_mergefields): Needs 'FIRST' * collocations/CollocatedDataset.m (read): - If merging but required fields missing, add those and give informational message 2012-03-06 Gerrit Holl * atmlab-2-1-19 * collocations/AssociatedDataset.m: (merge): New function, simply concatenates in this case (merge_new_cols): Calculate new cols-structure after concatenation * collocations/MeanFieldCopier.m: (merge): Special implementation, not simple concatenation but needs FIRST, LAST (limit_from): More informative error message * collocations/CollocatedDataset.m: (collocate_date): Fix bug with INDEX if no collocs for day (read): Implement merging. TODO: automatically add required fields 2012-03-05 Patrick Eriksson * atmlab-2-1-18 * geodetic/r_crossing.m (r_crossing): Added special handling of r0==r. 2012-03-02 Patrick Eriksson * atmlab-2-1-17 * tests/test_arts_ppath.m: Sensor longitudes outside the atmosphere could be generated. Went back to have a lon grid covering [-180,180]. * geodetic/lon_crossing.m: Removed printing of l. * geodetic/lat_crossing.m: Selection between l1 and l2 changed. Hopefully the final version. 2012-03-05 Gerrit Holl * atmlab-2-1-16 * collocations/MeanFieldCopier.m: (process_granule): Bugfix, use proper INDEX * collocations/CollocatedDataset.m: - Add field INDEX (collocate_date): - Fix doc error - Bugfix, use proper INDEX, redo after each process core + at end + at each granule 2012-03-05 Salomon Eliasson * atmlab-2-1-15 * files/loadncfile.m: * files/loadncvar.m: Added onCleanup to close fid 2012-03-05 Gerrit Holl * atmlab-2-1-14 * collocations/AssociatedDataset.m (limit_to): - Bugfix, should return limits, not data; caller selects data. I think this fixes it (quick fix, untested). 2012-03-01 Patrick Eriksson * atmlab-2-1-13 * demos/qarts_scattering_demo.m: * demos/qarts_demo2.m: * demos/qarts_demo.m: Updated regarding REFELLIPSOID. * forwardmodel/geomztan2za.m: Changed to avoid the term "geoid". * arts/qarts2cfile.m: Now handling REFELLIPSOID. And R_GEOID removed. * arts/qarts.m (qarts): Replaced field R_GEOID with REFELLIPSOID. * tests/test_arts_ppath.m (test_arts_ppath): Changed LON-GRID to avoid requirement (of arts) to have identical data at -180 and 180 deg. * geodetic/r_crossing.m: * geodetic/lat_crossing.m: * geodetic/lon_crossing.m: New functions. 2012-02-27 Patrick Eriksson * atmlab-2-1-12 * tests/test_arts_ppath.m (test_arts_ppath): lspace -> l_space. 2012-02-27 Patrick Eriksson * atmlab-2-1-11 * arts/xml/xmlWritePpath.m: * arts/xml/xmlReadPpath.m: lspace -> l_space. 2012-02-24 Patrick Eriksson * atmlab-2-1-10 * geodetic/geocentricposlos2cart.m: * geodetic/cartposlos2geocentric.m: Changed limit for poles to 90-1e-8. 2012-02-23 Gerrit Holl * atmlab-2-1-9 * collocations/AssociatedDataset.m (process_delayed): - Bugfix: for additionals, also select the correct segment * collocations/MeanFieldCopier.m: (MeanFieldCopier): - Bug-fix in fall-back limitator for multi-dim vars - Allow user to specify stored type differently per processor, but default to single (float) (process_granule): - Silence warning on duplicate fields in catstruct, this is intended. * collocations/CollocatedDataset.m: (collocate_granule): - Move code for caring for dependencies into subfunction (static method) because it's shared with delayed processing (collocate_and_store_date): - For delayed processing, properly take care of additionals with their dependencies. (fix_dependencies): Added - Helper function to sort out dependencies. 2012-02-22 Patrick Eriksson * atmlab-2-1-8 * tests/test_arts_ppath.m: Added a check for surface end points. 2012-02-23 Gerrit Holl * atmlab-2-1-7 * collocations/MeanFieldCopier.m (limit_to): - Implemented at least for the trivial case where nothing is actually limited. For the non-trivial case I don't know how to solve it yet. * collocations/CollocatedDataset.m: - Fix error in type for DIST and INT (float, not single) (read): - Fix bug in applying limitations; interesting in limited data, not in logical itself (deal_fields): - Fix bug in total size of additional_fields, should match with additionals not self.associated * handy/intersect_unsorted.m: - If either is empty, return empty * datasets/HomemadeDataset.m (read_single_day): - Set localcols to empty struct if fields is empty. 2012-02-23 Gerrit Holl * atmlab-2-1-6 * files/loadncvar.m: two changes: - handle empty cell array, will return empty structure - Add error identifier 2012-02-23 Gerrit Holl * atmlab-2-1-5 * collocations/ReducedDataset.m, collocations/MeanDataset.m: Added, abstract class * collocations/AssociatedDataset.m: - Added property 'priority' that is used later for sorting AD's according to dependencies * collocations/MeanFieldCopier.m: Partially implemented - So far, constructor and processing a single day appear to work. No reading yet, nor storing, nor much documentation. Testing will be in https://www.sat.ltu.se/svn/internal/gerrit/sources/matlab/testfunctions/transition_collocs.m until further documentation is made * collocations/TODO, datasets/SatDataset.m: Added TODO-item * collocations/CollocatedDataset.m: Expanded. BREAKS COMPATIBILITY (process): - Also store DIST and INT - Fix loss-of-precision bug - Correctly process multiple additionals with dependencies (sort_additionals): - Implemented correct order of additionals, sorting based on dependencies * site-specific/kiruna/datasets_init.m, datasets/datasets_config.m: - collocation_cpr_mhs -> collocation_mhs_cpr. Largest footprint must be primary. * handy/catstruct.m: Use logtext rather than fprintf 2012-02-23 Patrick Eriksson * atmlab-2-1-4 * arts/various/arts_rslope_crossing.m: A function to test arts' internal function rslope_crossing. 2012-02-22 Salomon Eliasson * atmlab-2-1-3 * graphs/histout2plotvecs.m: Silently make sure the input vectors are row vectors. * geoplots/gmt/gmt_plot.m: Added some more documentation on how to make special characters in e.g. the plot title 2012-02-22 Patrick Eriksson * atmlab-2-1-2 * tests/test_arts_ppath.m: vmr_field did not get correct size for 2D and 3D. 2012-02-22 Gerrit Holl * atmlab-2-1-1 * collocations/CollocatedDataset.m (collocate_and_read_date): - Bugfix, misspelt method called 2012-02-22 Oliver Lemke * atmlab-2-1-0 * Sync major and minor version number with arts. * ChangeLog: Remove conflict markers. 2012-02-22 Patrick Eriksson * atmlab-1-0-298 * tests/test_arts_ppath.m: Now a complete function. 2012-02-21 Gerrit Holl * atmlab-1-0-297 * collocations/FieldCopier.m (FieldCopier): - Change in automated name generation, use class(self), not always 'FieldCopier'. This is different for subclasses. * collocations/ReducedDataset.m: Added - Class between AssociatedDataset and MeanDataset; still empty. * collocations/MeanDataset.m: Added - Class between ReducedDataset and MeanFieldCopier; still empty. * collocations/MeanFieldCopier.m: Added, work in progress - Started class to copy fields, but do averaging/std.dev. etc. Work in progress. 2012-02-21 Patrick Eriksson * atmlab-1-0-296 * tests/test_arts_ppath.m: Further work. Not yet ready. * geodetic/ellipsoidradii.m: Corrected header text. 2012-02-20 Patrick Eriksson * atmlab-1-0-295 * tests/test_arts_ppath.m: Started. * arts/xml/xmlReadPpath.m: Adopted to changes of Ppath in present development branch. This brakes consistency with arts 2.0! (I assuming that nobody reads ppathcoming from arts 2.0). * arts/xml/xmlWritePpath.m: As above. 2012-02-16 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-288 * datasets/SatDataset.m (read_granule): - Bugfix in removal of duplicates 2012-02-10 Gerrit Holl * 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 * atmlab-1-0-286 * datasets/common_read_patmosx.m: Commited some of the conflict 2012-02-10 Salomon Eliasson * 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 * 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 * 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 * 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 * atmlab-1-0-281 * collocations/CollocatedDataset.m(read): Handle empty data well. 2012-02-09 Oliver Lemke * 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 * atmlab-1-0-279 * collocations/CollocatedDataset.m: (collocate_date): Adapt for changed error-identifiers 2012-02-08 Gerrit Holl * atmlab-1-0-278 * collocations/FieldCopier.m: (FieldCopier): if no name is given, construct one and issue warning 2012-02-08 Gerrit Holl * 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 * 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 * atmlab-1-0-275 * site-specific/kiruna/datasets_init.m: removed remaining local code 2012-02-08 Gerrit Holl * 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 * atmlab-1-0-273 * datasets/HomemadeDataset.m(store): Bugfix when data is empty 2012-02-07 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-267 * sensors/cloudsat_read.m: Updated to use read_cloudsat_hdf in its core. 2012-02-06 Patrick Eriksson * 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 * atmlab-1-0-265 * arts/scenegen/asg_use_v2.m: Created. * demos/asg_demo_new.m: Just started. 2012-02-01 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-240 * geodetic/circle_plane_intersect.m: fixed a problem 2011-12-30 Bengt Rydberg * atmlab-1-0-239 * geodetic/geocentric2geodetic.m: fixed a typo 2011-12-18 Salomon Eliasson * atmlab-1-0-238 * physics/constants.m: Forgot the promised output structure 2011-12-18 Salomon Eliasson * 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 * 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 * 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 * atmlab-1-0-234 * handy/combine_pdfs.m: Convert outdir to fullpath. 2011-12-09 Gerrit Holl * atmlab-1-0-233 * math/land_sea_mask.m: Improve documentation 2011-12-07 Salomon Eliasson * 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 * 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 * 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 * 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 * atmlab-1-0-228 * geographical/resample_geodata.m: Fixed bug in area weighting 2011-11-18 Oliver Lemke * atmlab-1-0-227 * files/loadncfile.m: Add check if the user's matlab version supports netcdf groups. 2011-11-15 Bengt Rydberg * 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 * atmlab-1-0-225 * geodetic/radii2sphere.m: Modified. 2011-11-15 Bengt Rydberg * atmlab-1-0-224 * geodetic/radii2sphere.m: Modified. * geodetic/geocentric2cart.m: modified header. 2011-11-15 Patrick Eriksson * atmlab-1-0-223 * geodetic/radii2sphere.m: Still just tests. 2011-11-15 Bengt Rydberg * atmlab-1-0-222 * geodetic/cartposlos2geocentric.m: Converts cartesian POS/LOS to spherical coordinates. 2011-11-15 Bengt Rydberg * 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 * 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 * 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 * atmlab-1-0-218 * (forgot version number) 2011-11-08 Patrick Eriksson * 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 * 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 * 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 * atmlab-1-0-215 * geophysics/geodetic2geocentric.m: modified fixed small bug. 2011-10-31 Bengt Rydberg * 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 * atmlab-1-0-213 * geographical/getPredefinedRegions.m: Fixed region 2011-10-27 Salomon Eliasson * 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 * 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 * atmlab-1-0-210 * geoplots/gmt/makepolar.m: Fixed small bug. 2011-10-14 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-203 * geographical/geo_single_localtime.m: Fixed the cyclic interpolation. 2011-09-28 Gerrit Holl * 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 * 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 * atmlab-1-0-200 * geoplots/gmt/test_gmt.m: Even nicer still. 2011-09-25 Salomon Eliasson * 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 * 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 * 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 * 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 * atmlab-1-0-195 * geoplots/gmt/test_gmt.m: Cosmetics 2011-09-20 Salomon Eliasson * 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 * 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 * 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 * atmlab-1-0-191 * collocations/TODO: add one item 2011-09-13 Patrick Eriksson * atmlab-1-0-190 * geophysics/pt2z.m: Format string was incorrect. * arts/qarts.m: Fixed a spelling mistake. 2011-09-10 Salomon Eliasson * 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 * atmlab-1-0-188 * geographical/data2rectgrid.m: Fixed bug 2011-09-09 Salomon Eliasson * 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 * 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 * 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 * atmlab-1-0-184 * geographical/resample_geodata.m: Bad assertion fixed 2011-08-29 Salomon Eliasson * atmlab-1-0-183 * geographical/resample_geodata.m: Fixed some assertions and clarified the help section further. 2011-08-29 Patrick Eriksson * atmlab-1-0-182 * arts/arts_y2Y.m: Created. * arts/arts_Y2y.m: Created. 2011-08-29 Patrick Eriksson * 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 * atmlab-1-0-180 * arts/qarts2cfile.m (cfile_Jacobi): Changed iybinterp to interp (following change in arts). 2011-08-24 Salomon Eliasson * 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 * 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 * 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 * 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 * atmlab-1-0-175 * files/create_tmpfolder.m: replace '~/' with [getenv('HOME'),'/'] 2011-08-10 Oliver Lemke * atmlab-1-0-174 * files/create_tmpfolder.m: Throw an error if WORK_AREA is not an absolute path. 2011-08-03 Oliver Lemke * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-166 * demos/qarts_scattering_demo.m: Adopted to arts-1.17.3. 2011-07-13 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-161 * retrieval/qpack2/qpack2.pdf: Updated, with latest change in tex file. 2011-06-17 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-1-0-156 * geoplots/gmt/makecpt.m: * geoplots/gmt/gmt_plot.m: Fixed annotation format 2011-06-16 Patrick Eriksson * atmlab-1-0-155 * demos/arts_oem_demo.m: Soem test code had not been removed. 2011-06-16 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-148 * geoplots/getPredefinedRegions.m: Added new regions: NH, SH 2011-06-09 Marston Johnston * atmlab-1-0-147 * geoplots/regionize.m: Fixed some grammar errors 2011-06-09 Patrick Eriksson * atmlab-1-0-146 * retrieval/qpack2/qp2_rel2vmr.m: Added a few comments. 2011-06-09 Salomon Eliasson * atmlab-1-0-145 * geoplots/regionize.m: Decided on a change of behavior. Ready to be announced 2011-06-09 Salomon Eliasson * atmlab-1-0-144 * geoplots/regionize.m: Now fixed properly.... 2011-06-09 Salomon Eliasson * atmlab-1-0-143 * geoplots/regionize.m: Fixed bug with edges and repmat of longitudes. 2011-06-09 Salomon Eliasson * 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 * 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 * 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 * 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 * atmlab-1-0-138 * geoplots/geo_single_localtime.m: Shortened at tad using modulo 2011-05-30 Oliver Lemke * 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 * atmlab-1-0-136 * files/read_openmtp_uth.m: Add reading routine for Open MTP UTH data. 2011-05-26 Salomon Eliasson * 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 * atmlab-1-0-134 * geoplots/gmt/test_gmt.m: Fixed newly introduced bug 2011-05-26 Oliver Lemke * atmlab-1-0-133 * handy/combine_pdfs.m: Add -f option to mv. 2011-05-23 Patrick Eriksson * 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 * 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 * atmlab-1-0-130 * retrieval/qpack2/qpack2.tex: Fixed several spelling mistakes. 2011-05-22 Patrick Eriksson * 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 * sensors/ssmt2_read.m: included date-related switch between different scaling factors. Ω2011-05-20 Oliver Lemke * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-123 * sensors/ssmt2_read.m: Update doc. 2011-05-18 Oliver Lemke * atmlab-1-0-122 * sensors/ssmt2_read.m: Add optional experimental per channel offset calibration. 2011-05-13 Patrick Eriksson * 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 * atmlab-1-0-120 * handy/exec_system_cmd.m: bug in my if-statement 2011-05-12 Salomon Eliasson * atmlab-1-0-119 * handy/exec_system_cmd.m: no longer look for specific return codes (except 0) 2011-05-12 Salomon Eliasson * atmlab-1-0-118 * handy/exec_system_cmd.m: New return value for error 2011-05-12 Salomon Eliasson * atmlab-1-0-117 * handy/exec_system_cmd.m: Added extra error catch 2011-05-10 Salomon Eliasson * 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 (?) in some places. * time/dayofyear_inverse.m: Added some asserts and updated header. 2011-05-09 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-109 * geoplots/gmt/gmt_plot.m: fixed display plot bug 2011-05-04 Salomon Eliasson * 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 * 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 * atmlab-1-0-106 * files/delete_tmpfolder.m: Update doc. 2011-05-03 Oliver Lemke * 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 * 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 * 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 * 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 * atmlab-1-0-101 * geoplots/resample_geodata.m: Fixed so that it also work for logical data sets. 2011-05-02 Oliver Lemke * atmlab-1-0-100 * atmlab/atmlab.m: Change default for WORK_AREA from Nan to tempdir(). 2011-05-01 Salomon Eliasson * atmlab-1-0-99 * geoplots/resample_geodata.m: Fixed another 5D bug 2011-05-01 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-93 * datasets/datasets_config.m: * site-specific/kiruna/datasets_init.m: Added patmos-x datasets 2011-04-27 Patrick Eriksson * atmlab-1-0-92 * math/gridinterp.m: Missed to make add for the new functions! * math/pointinterp.m: Sorry. 2011-04-27 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-83 * handy/combine_pdfs.m: Fix file ending. 2011-04-18 Oliver Lemke * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-76 * handy/combine_pdfs.m: Ensure that pdffiles is a non-empty row vector. 2011-04-16 Oliver Lemke * atmlab-1-0-75 * handy/combine_pdfs.m: Return full path to output file. 2011-04-15 Oliver Lemke * atmlab-1-0-74 * handy/combine_pdfs.m: Don't add fullpath to default filename. 2011-04-15 Oliver Lemke * atmlab-1-0-73 * handy/combine_pdfs.m: Fix bug in doc. 2011-04-15 Gerrit Holl * 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 * atmlab-1-0-71 * handy/combine_pdfs.m: Code cleanup. 2011-04-12 Gerrit Holl * 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 * 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 * atmlab-1-0-168 * handy/combine_pdfs.m: Add function to combine several PDF files on one page. 2011-04-04 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-162 * collocations/collocation_read.m: Bugfix 2011-03-09 Oliver Lemke * atmlab-1-0-161 * files/loadncfile.m: First version to support reading groups. 2011-03-07 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-151 * geoplots/gmt/gmtlab.m: unbroke it 2011-02-21 Salomon Eliasson * 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 * atmlab-1-0-149 * geoplots/gmt/homogenize_datalatlon.m: Forgot this one. 2011-02-18 Salomon Eliasson * atmlab-1-0-148 * geoplots/homogenize_datalatlon.m: moved this file to the gmt directory instead 2011-02-18 Salomon Eliasson * 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 * 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 * 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 * 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 * atmlab-1-0-143 * gformat/gf2griddedfield.m: Created 2011-02-04 Patrick Eriksson * 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 * atmlab-1-0-141 * geophysics/pt2z.m (z2g): Added information about source of expression. 2011-02-04 Patrick Eriksson * 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 * 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 * 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 * atmlab-1-0-137 * geoplots/gmt/gmt_plot.m: Fixed bug where input in.legend.orientation was being ignored. 2011-02-01 Oliver Lemke * 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 * 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 * 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 * atmlab-1-0-133 * gridcreation/grid_weightspaced.m: Created. (In Sep., missed to add it!) 2011-01-27 Oliver Lemke * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-125 * arts/qarts.m: Fixed multiple spelling errors. 2011-01-24 Oliver Lemke * atmlab-1-0-124 * geoplots/gmt/gmt_plot.m: Reviewed docs. 2011-01-24 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-117 * geoplots/gmt/test_gmt.m: Add another test case. 2011-01-18 Salomon Eliasson * 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 * atmlab-1-0-115 * retrieval/oem.m: fixed small bug related to the J and G matrices. 2011-01-14 Ajil Kottyil * atmlab-1-0-114 * geoplots/gmt/create_gmt_earth.m: fixed small bug. 2011-01-13 Patrick Eriksson * 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 * 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 * 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 * atmlab-1-0-110 * ChangeLog: Removed some conflict markers. 2011-01-03 Isaac Moradi * atmlab-1-0-109 * h2o/thermodynamics/potential_temperature.m: - Amended the documentation 2010-12-30 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-123 * demos/qarts_scattering_demo.m: A test setting was left. 2010-12-01 Patrick Eriksson * 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 * 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 * atmlab-1-0-120 * fixed lacking ChangeLog entry 2010-11-25 Salomon Eliasson * 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 * 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 * atmlab-1-0-117 * geophysics/profile2column.m: changed bug and info 2010-11-23 Salomon Eliasson * 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 * atmlab-1-0-115 * gmt/gmt_plot.m: something small. 2010-11-22 Salomon Eliasson * 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 * 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 * 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 boxplot 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 boxplot * 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 histc. 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 * 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 * atmlab-1-0-110 * math/angular2D.m: Removed - This really is too incorrect to be of any use. 2010-11-12 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-103 * collocations/collocation_read.m: Adapted - Implemented support for reading meandata via server. 2010-10-27 Gerrit Holl * 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 * 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 * atmlab-1-0-100 * gridcreation/p_merge.m: change - Added some comments when using variable "debug" 2010-10-22 Marston Johnston * atmlab-1-0-99 * h2o/thermodynamics/e2spechum.m - function to convert partial pressure to specific humidity 2010-10-22 Marston Johnston * 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 * 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 * 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 * atmlab-1-0-95 * scattering/box_pnd_mono_size_1d.m: Corrected documentation. 2010-10-15 Gerrit Holl * 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 * atmlab-1-0-93 * math/isditto.m: Removed 2010-10-15 Salomon Eliasson * 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 * atmlab-1-0-91 * math/isditto.m: Made a replacement function for obsolete "issame" function 2010-10-14 Gerrit Holl * 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 * 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 * 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 * 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 * atmlab-1-0-86 * math/get_ascend_decend_node.m: Fixed bug when ascend = NaN and clarified help section. 2010-10-13 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-72 * geoplots/gmt/makepolar.m (makepolar): accidentally left a 'keyboard' 2010-10-07 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-59 * collocations/find_granules_by_date.m: Also return filename list. 2010-01-04 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-53 * geophysics/profile2column.m: Function for calculating the column values given retrived profile(s) 2010-09-24 Gerrit Holl * 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 * atmlab-1-0-51 * gridcreation/gridconvert.m: Updated input checks. * gridcreation/grid_weightspaced.m: Created. 2010-09-16 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-45 * collocations/collocation_read.m: Extend documentation. 2010-09-06 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-39 * collocations/README: Moved documentation to satpage. 2010-09-02 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-28 * math/binned_statistics.m: Clarify docs to deconfuse native speakers. 2010-07-30 Gerrit Holl * 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 * atmlab-1-0-26 * collocations/collocation_read_dual.m: Add documentation. 2010-07-28 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * atmlab-1-0-22 * collocations/collocate.m: More intelligent pre-allocation. 2010-07-09 Oliver Lemke * 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 * 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 * 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 * atmlab-1-0-18 * math/average_bins2.m: Complete rewrite to make it more flexible. 2010-07-08 Gerrit Holl * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-4-84 * math/binning_fast.m (binning_fast): spelling 2010-05-26 Salomon Eliasson * 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 * atmlab-0-4-82 * CONFIGURE: Fix paths. 2010-05-21 Gerrit Holl * 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 * 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 * atmlab-0-4-80 * math/binning_fast.m: Fix loss-of-precision error leading to index-out-of-bounds. 2010-05-20 Patrick Eriksson * 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 * 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 * 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 * atmlab-0-4-76 * Further polishing on the documentation around Qpack2. 2010-05-13 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-4-67 * demos/qarts_abstable_demo.m: Changed setting slightly. 2010-04-15 Patrick Eriksson * atmlab-0-4-66 * demos/qarts_abstable_demo.m: Created 2010-04-15 Salomon Eliasson * atmlab-0-4-64 * geoplots/gmt/gmt_plot.m: Fixed small bug leaving temporary files behind 2010-03-26 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-4-57 * forwardmodel/di2planckTb.m: Created. So far just a test. 2010-03-14 Patrick Eriksson * 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 * atmlab-0-4-55 * demos/qarts_scattering_demo.m: FOS can now be run also in 1D and 2D. 2010-03-10 Salomon Eliasson * 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 * 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 * atmlab-0-4-52 * sensors/atovs/atovs_get_l1c.m: Add error identifier. 2010-03-04 Oliver Lemke * 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 * 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 * geoplots/gmt/psbox.m: * atmlab-0-4-49 * geoplots/gmt/create_gmt_earth.m: Fixed bug with psbox 2010-03-04 Salomon Eliasson * 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 * 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 * 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 * 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 * 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 * math/binning_fast.m: * atmlab-0-4-43 * geoplots/gmt/gmt_plot.m: rm illegal character from descr. 2010-03-04 Oliver Lemke * atmlab-0-4-42 * atmlab/atmlab_init: Fix gmt path. 2010-03-04 Salomon Eliasson * atmlab-0-4-41 * geoplots/gmt: Moved gmt functions to a more appropriate location. 2010-03-04 Salomon Eliasson * 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 * atmlab-0-4-39 * graphs/gmt/gmt_plot.m: Overwrote in.outdir even though it was set. 2010-02-27 Salomon Eliasson * atmlab-0-4-38 * graphs/gmt/gmt_plot.m: Fixed filename to never be empty 2010-02-25 Patrick Eriksson * atmlab-0-4-37 * scattering/backcoef2dBZ.m: Typo in input check that caused error. * scattering/dBZ2backcoef.m: Created. 2010-02-24 Salomon Eliasson * 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 * atmlab-0-4-35 * geoplots/rectgridplot.m (rectgridplot): New error message had a typo. 2010-02-23 Patrick Eriksson * atmlab-0-4-34 * geoplots/rectgridplot.m: Input check of grids was not correct. 2010-02-12 Patrick Eriksson * atmlab-0-4-33 * demos/qarts_scattering_demo.m: Adopted to changes in ARTS-FOS. Still "dirty code". 2010-02-12 Mathias Milz * graphs/gmt/gmt_plot.m: fixed bug in filename. 2010-02-12 Salomon Eliasson * atmlab-0-4-31 * graphs/gmt/gmt_plot.m: fixed bug in filename and title 2010-02-11 Patrick Eriksson * 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 * 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 * atmlab-0-4-28 * files/loadncvar.m: Extend function to also support loading of several variables at once. 2010-02-10 Oliver Lemke * atmlab-0-4-27 * files/loadncfile.m: Add function that loads a whole netcdf file into a single structure. 2010-02-09 Patrick Eriksson * 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 * 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 * atmlab-0-4-24 * files/loadncvar.m: Fix typo in docs. 2010-02-05 Patrick Eriksson * 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 * atmlab-0-4-22 * scattering/create_ssp.m: Now obselete and thus removed. 2010-02-03 Bengt Rydberg * 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 * 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 * atmlab-0-4-19 * retrieval/oem.m: More stable format options for screen/file output of cost vales etc. 2010-02-02 Oliver Lemke * 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 * 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 * 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 * atmlab-0-4-15 * graphs/gmt/exec_gmt_cmd.m: Fix problems found by mlint. 2010-02-01 Oliver Lemke * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-4-7 * graphs/gmt/gmt_plot.m: Turns matrixes of ungridded data into vectors for plotting. 2010-01-22 Salomon Eliasson * atmlab-0-4-6 * atmlab/atmlab.m: Added description for OUTDIR 2010-01-22 Stefan Buehler * 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 * 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 * atmlab-0-4-3 * AUTHORS: Fixed my email address. Add Salomon as author of the GMT interface. 2010-01-22 Patrick Eriksson * atmlab-0-4-2 * TODO: Removed a number of things already fixed :-) 2010-01-04 Patrick Eriksson * atmlab-0-4-1 * sensors: Not re-added. * Some empty sub-folders were still hanging around. 2010-01-04 Patrick Eriksson * 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 * atmlab-0-3-117 * graphs/gmt/xtra_nan_legend.m, graphs/gmt/create_ascii4gmtplot.m: Make these also lowercase. 2010-01-20 Oliver Lemke * atmlab-0-3-116 * graphs/plot/gmt_plot.m: Make function name lowercase. 2010-01-20 Salomon Eliasson * 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 * atmlab-0-3-114 * physics/thermodynamic/relative_humidity.m Fixed a problem related to the matlab matrix manupolation 2010-01-12 Oliver Lemke * 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 * 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 * atmlab-0-3-111 * sensors/ssmt2_read.m: Add FIXME for change in offset calculation. 2009-11-20 Oliver Lemke * atmlab-0-3-110 * sensors/ssmt2_read.m: Add support for gzipped files. 2009-11-20 Oliver Lemke * atmlab-0-3-109 * sensors/ssmt2_read.m: Add reading routine for SSM/T-2 data. 2009-11-19 Patrick Eriksson * atmlab-0-3-108 * math/polysinfit.m: Created. * forwardmodel/prbroad_width.m: t0/t -> t0./t 2009-11-19 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-3-101 * math/covmat/covmat1d_markov.m: Created. 2009-11-04 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-0-3-96 * As below. 2009-10-28 Patrick Eriksson * atmlab-0-3-95 * Work in arts_oem methods and qpack2.m to handle logvmr etc. Not finished. 2009-10-27 Patrick Eriksson * 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 * 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 * atmlab-0-3-92 * retrieval/oem.m: In the middle of adding ML. 2009-10-25 Patrick Eriksson * 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 * atmlab-0-3-90 * retrieval/oem.m: Indexing was wrong when saving cost values in "post part". 2009-10-22 Patrick Eriksson * 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 * 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 * atmlab-0-3-87 * handy/hostname.m: EOL character was included in returned string. 2009-10-19 Patrick Eriksson * 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 * 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 * atmlab-0-3-84 * physics/parametrisations/latslons2distance.m: Created. 2009-10-02 Patrick Eriksson * atmlab-0-3-83 * arts/arts_cart2zaaa.m: The header text was valid for arts_zaaa2cart. 2009-10-01 Bengt Rydberg * atmlab-0-3-82 * demos/asg2y_demo2.m: modified. 2009-10-01 Bengt Rydberg * 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 * 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 * 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 * 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 * atmlab-0-3-78 * arts/qarts2cfile.m (cfile_Sensor): antenna_diagram was still used for antenna_response. 2009-09-11 Patrick Eriksson * 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 * atmlab-0-3-76 * xml/xmlLoad.m: Use WORK_AREA for gunzip. 2009-08-31 Patrick Eriksson * atmlab-0-3-75 * Physics/p2z_cira86.m: The output range of mjd2doy is now handled. 2009-08-28 Isaac Moradi * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-3-66 * retrieval/qpack2/qpack2.tex: Some more text about P. 2009-08-10 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-3-59 * retrieval/qpack2*: Work on documentation (backup commit). 2009-06-30 Patrick Eriksson * 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 * atmlab-0-3-57 * handy/homedir.m: Newline character now removed from output. 2009-06-29 Patrick Eriksson * atmlab-0-3-56 * files/loadstructfiles.m: Added verbose flag. * graphs/geoplots/coastlines.m: Corrected header text. 2009-06-25 Oliver Lemke * 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 * atmlab-0-3-54 * graphs/geoplots/data2rectgrid.m: Added optional argument backv. * files/loadstructfiles.m: Added optional argument verbose. 2009-06-12 Patrick Eriksson * 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 * 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 * atmlab-0-3-51 * sensors/cloudsat_read.m (unitconv): Added 'kg kg**-1' to known units. 2009-06-09 Bengt Rydberg * atmlab-0-3-50 * physics/parametrisations/dBZ2iwcMH97.m: Created. Calculates iwc from radar reflectivity and temperature 2009-05-24 Patrick Eriksson * atmlab-0-3-49 * handy/homedir.m: Created. * handy/whoami.m: Added error message if system call fails. 2009-05-19 Bengt Rydberg * 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 * 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 * 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 * 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 * atmlab-0-3-44 * physics/parametrisations/sphere_part_fallspeed.m: The end ' was missing in two error messages. 2009-04-15 Bengt Rydberg * atmlab-0-3-43 * physics/parameterisation/sphere_part_fallspeed.m: Added a function calculating spherical particles fallspeed. 2009-04-14 Oliver Lemke * atmlab-0-3-42 * xml/xmlLoad.m: Make sure to delete the temp file in case of an error. 2009-03-30 Mathias Milz * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-3-30 * retrieval/gpack.m: Flag for cosmic background radiation added. 2008-10-09 Patrick Eriksson * 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 * 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 * atmlab-0-3-27 * atmlab/atmlab_init.m: addpath not removed for all moved folders. 2008-10-07 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-3-11 * xml/xmlWriteGFieldWrapper.m (xmlWriteGFieldWrapper): Fixed "feature" of crash for empty grids, together with Oliver. 2008-07-02 Oliver Lemke * 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 * 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 * atmlab-0-3-8 * xml/xmlReadArrayOfLineRecord.m: Added routine to read ARTS XML catalogue files. Partly fixes ticket #6. 2008-05-29 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-224 * xml/xmlLoad.m: Add rudimentary support to read zipped xml files. 2008-01-31 Patrick Eriksson * 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 * atmlab-0-2-222 * arts/scenegen/asg_pathiwc.m: modified. changed an index. 2007-12-12 Bengt Rydberg * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-219 * arts/scenegen/asg_pathiwc.m: modified. more input, and can now handle multiple propagation paths 2007-12-07 Bengt Rydberg * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-206 * handy/funshiftdim.m: Created. * handy/fun2Dwrapper.m: Created. * handy/fun1Dwrapper.m: Created. 2007-11-06 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-192 * xml/xmlReadTag.m: Reverted... this needs more thought... 2007-10-22 Oliver Lemke * atmlab-0-2-191 * xml/xmlReadTag.m: Properly close binary file. * xml/xmlLoad.m: Improve parsing of xml header. 2007-10-19 Patrick Eriksson * 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 * 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 * 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 * atmlab-0-2-187 * xml/xmlReadTag.m: Fix reading of binary files in windows. 2007-10-15 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-173 * xml/xmlReadIndexVector.m: Read integers from binary file, not floats. 2007-08-23 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-0-2-168 * xml/xmlStoreImpl.m: Fix function name. 2007-06-04 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-150 * AUTHORS, INSTRUCTIONS: Minor change. CVS->SVN. 2007-03-12 Patrick Eriksson * atmlab-0-2-149 * graphs/colorspec.m: Created. * graphs/colorset.m: Created. * graphs/zerowhite2.m: Created. 2007-03-06 Patrick Eriksson * 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 * 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 * 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 * atmlab-0-2-145 * arts/arts_abstable_from_arts1.m: Flag for removing workfolder was not set properly. 2007-02-22 Patrick Eriksson * atmlab-0-2-144 * math/binning.m: Created. 2007-02-07 Patrick Eriksson * 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 * atmlab-0-2-142 * arts1/qarts12cfile.m: Added missing } for refrSet. Bug reported and solved by Craig Haley. 2007-01-12 Patrick Eriksson * 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 * 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 * atmlab-0-2-139 * physics/pos2g.m: Created. 2006-11-27 Patrick Eriksson * atmlab-0-2-138 * forwardmodel/isotopologue_data.m: Created. * forwardmodel/voigt_humlik.m: Added. 2006-11-21 Patrick Eriksson * atmlab-0-2-137 * forwardmodel/doppler_width.m: Created. * forwardmodel/doppler_lshape.m: Created. * forwardmodel/lorentz_lshape.m: Created. 2006-10-19 Patrick Eriksson * atmlab-0-2-136 * graphs/set_linestyle.m: Created. 2006-09-29 Patrick Eriksson * arts/ji2m.m: Created. * retrieval/mrespA.m: Created. * retrieval/splitA.m: Created. 2006-09-28 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-127 * math/mat2col.m: Created. * Some more work on Qarts. Not yet working. 2006-08-29 Patrick Eriksson * 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 * atmlab-0-2-125 * arts/arts_oem.m: Added re-scaling of J needed for 'rel' unit. 2006-08-23 Patrick Eriksson * atmlab-0-2-124 * retrieval/oem.m: Added more P output fields and GN is now working. 2006-08-22 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-117 * atmlab/atmlab_init.m: obselete -> obsolete. * obselete: Removed. * obsolete: Added. 2006-05-23 Oliver Lemke * atmlab-0-2-116 * README: Fix my email address. 2006-05-18 Patrick Eriksson * 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 * atmlab-0-2-114 * forwardmodel/satviewdepth.m: Created. 2006-04-06 Patrick Eriksson * 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 * atmlab-0-2-112 * math/boxcarfilter.m: Finished header text. 2006-04-05 Patrick Eriksson * 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 * 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 * atmlab-0-2-109 * retrieval/mci.m: Output also ratio of max_w to sum_w with verb option. 2006-03-29 Patrick Eriksson * 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 * atmlab-0-2-107 * retrieval/mci.m: Catch the case that ind is empty. 2006-03-28 Stefan Buehler * 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 * 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 * 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 * atmlab-0-2-103 * math/rot2D.m: Created. 2006-03-16 Mattias Ekstrom * 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 * 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 * atmlab-0-2-100 * physics/eps_ice_matzler06.m: Added this function, provided by C. M?tzler. 2006-03-07 Patrick Eriksson * 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 * 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 * atmlab-0-2-97 * retrieval/mci.m: Added M.verb flag to make the function verbose. 2006-02-14 Stefan Buehler * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-91 * graphs/axes_mxn.m: Added this function, made by Samuel Brohede. 2005-12-20 Patrick Eriksson * 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 * atmlab-0-2-89 * Something had become wrong with tag numbers. Trying this number instead. 2005-12-17 Patrick Eriksson * 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 * atmlab-0-2-87 * physics/constants.m: Added Stefan-Boltzmann. Re-arranged constants to be in some "logical" order. 2005-11-23 Patrick Eriksson * atmlab-0-2-86 * retrieval/mci.m: Created. * math/chi2.m: Created. 2005-11-23 Oliver Lemke * atmlab-0-2-85 * xml/xmlStoreWithComment: Added help for precision argument. * xml/xmlStoreImpl.m: xmlWriteComment -> xmlWritecomment 2005-11-23 Oliver Lemke * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-76 * atmscenarios/ice_psd_gamma.m: Created. Returns gamma particle size distribution 2005-06-16 Patrick Eriksson * 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 * atmlab-0-2-74 * atmscenarios/gauss_laguerre.m: Created.Returns abscissas and weights for Laguerre Gauss quadrature 2005-06-16 Patrick Eriksson * 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 * 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 * 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 * atmlab-0-2-70 * arts/qarts2cfile.m: Fixed bug in ParticleTypeAdd. 2005-06-09 Patrick Eriksson * 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 * atmlab-0-2-68 * xml/xml[Read,Write]RetrievalQuantity.m: Adapted to changes to the retrieval quantity structure. 2005-06-08 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-0-2-63 * xml/xml[Read,Write]RetrievalQuantity.m: Added read/write functions for RetrievalQuantity. 2005-05-26 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-55 * arts/qarts2cfile.m: Moved up definition of cloud box. Required after recent ARTS changes. 2005-05-11 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-48 * arts/qarts2cfile.m: save_sensor now also saves the output frequency grid sensor_response_f. 2005-03-17 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-0-2-43 * xml/xmlWriteSingleScatteringData.m: Added. 2005-03-03 Patrick Eriksson * 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 * 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 * atmlab-0-2-40 * arts1/qarts12cfile.m: Linefiles could not be saved. A variable had an old name. 2005-02-07 Patrick Eriksson * 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 * 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 * 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 * atmlab-0-2-36 * graphs/scale_print.m: Created this function. 2004-11-29 Patrick Eriksson * 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 * 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 * atmlab-0-2-33 * forwardmodel/fwhm.m: Missed to add this one. 2004-11-18 Patrick Eriksson * atmlab-0-2-32 * forwardmodel/fm_o3_111ghz.m: Added this function. * forwardmodel/fwhm.m: Added this function. 2004-11-02 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-26 * mie/: Update to version 3 provided by Christian M?tzler * 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 * atmlab-0-2-25 * forwardmodel/geomztan2za.m: Vectorised function 2004-10-05 Patrick Eriksson * atmlab-0-2-24 * arts/arts_ppath.m: Updated internal template file to recent ARTS modifications. 2004-10-05 Carmen Verdes * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-2-14 * forwardmodel/gridselect2D.m: Ready. 2004-09-23 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-1-80 * Just a demonstration of CVS. 2004-06-29 Mashrab Kuvatov * atmlab-0-1-79 * Forgot to "cvs add" the files in the previous entry. 2004-06-29 Mashrab Kuvatov * 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 * atmlab-0-1-77 * arts/arts_ppath.m: Modified the function following changes in ARTS. 2004-05-24 Patrick Eriksson * atmlab-0-1-76 * physics/scattering_mplit2stokes.m: Created this function. 2004-05-12 Carmen Verdes * 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 * atmlab-0-1-74 * physics/fresnel.m: Created this function to test ARTS implementation of surface reflections. 2004-04-13 Patrick Eriksson * 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 * 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 * 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 * atmlab-0-1-70 * sensors/ssmi_read_1tbfile.m: Corrected data download information. 2004-03-16 Patrick Eriksson * 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 * 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 * atmlab-0-1-67 * xml/xmlReadGriddedField3.m, xml/xmlWriteGriddedField3.m: Added. 2004-02-19 Oliver Lemke * atmlab-0-1-66 * atmlab.spec: Added to ease building of rpm package for smiles cluster. 2004-02-13 Claudia Emde * atmlab-0-1-65 * files/delete_tmpfolder.m: Fixed bug in call of workarea. 2004-01-08 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * atmlab-0-1-59 * xml/xmlReadSingleScatteringData: Added. 2003-10-27 Claudia Emde * 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 * 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 * 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 * atmlab-0-1-55 * xml/xmlWriteTensor7.m: Changed input argument 'filename' to 'fid'. 2003-10-10 Claudia Emde * atmlab-0-1-54 * physics/planck.m: Added the Planck function. 2003-10-08 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * atmlab-0-1-48 * CONFIGURE: Updated location of atmlab_init script. (It seems to be now in subdirectory atmlab.) 2003-04-14 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-0-1-43 * forwardmodel/mpm_iwc93_lwc93_rain89.m: Finished this function. 2003-04-09 Patrick Eriksson * 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 * 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 * 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 * 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 * atmlab-0-1-38 * handy/input_scalar.m: Created this function. * handy/ascii_menu.m: Added this function. 2003-03-31 Carlos Jimenez * atmlab-0-1-37 * math/nearestinvec.m: updating with easier implementation. 2003-03-28 Stefan Buehler * 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 * 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 * 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 * 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 * 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 * atmlab-0-1-31 * arts/arts_ppath.m: Finished the function. It now works also with refraction. 2003-03-03 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-1-24 * AUTHORS: Added Christian Maetzler . * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-1-15 * files/delete_tmpfolder.m: Created this function. * files/create_tmpfolder.m: Created this function. 2002-12-20 Patrick Eriksson * 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 * 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 * atmlab-0-1-12 * xml/xmlWriteArrayOf.m, xml/xmlWriteArrayOfArrayOf.m, xml/xmlWriteVector.m: Allow empty objects. 2002-12-19 Oliver Lemke * 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 * atmlab-0-1-10 * xml/xmlWriteArrayOfArrayOf.m: Bug fix. 2002-12-19 Oliver Lemke * 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 * xml/xmlWriteArrayOfArrayOf.m: Working commit with Oliver. 2002-12-19 Oliver Lemke * 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 * 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 * atmlab-0-1-6 * xml/xmlWriteGasAbsLookup.m: Corrected name of Array functions. 2002-12-18 Oliver Lemke * 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 * atmlab-0-1-4 * xml/Contents.m: Added documentation. * xml/xmlStore.m: Fixed copy'n'paste error. Added documentation. 2002-12-17 Oliver Lemke * 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 * atmlab-0-1-2 * atmlab_version.m: Just a demo commit. 2002-12-16 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * atmlab-0-0-12 * atmlab_init.m: Removed path artsfuns. 2002-12-13 Claudia Emde * 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 * atmlab-0-0-10 * atmlab_init.m: Added xml directory to path. * atmlab_version.m: Corrected function name. 2002-12-13 Oliver Lemke * atmlab-0-0-9 * xml: Added reading routines. 2002-12-12 Patrick Eriksson * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * atmlab-0-0-0 * Initial version