funclab1.5.1_updates
Shared by: shitingting
-
Stats
- views:
- 0
- posted:
- 1/25/2013
- language:
- English
- pages:
- 3
Document Sample


Updates to FuncLab Code
4/30/2011: funclab.m
o Line 19: Updated version number from 1.5 to 1.5.1
4/30/2011: fl_add_new_data.m
o Lines 49 – 57: Fixed error calling “rmdir” command where directories
with no receiver functions where not being deleted because they were not
empty. Now they will be deleted. Also added an error checking “if”
statement that will not delete the directory if there is another unexpected
error, but will tell the user when these situations arise. Import of data will
continue as usual.
4/30/2011: fl_add_data_gui.m
o Line 21: Decreased “Add Data” and “Cancel” pushbutton height from 4 to
2.5 and moved down from 2 to 0.75.
o Line 22: Pushed title up from 51 to 52.5
o Line 23: Pushed project directory up from 47 to 50
o Line 24: Pushed message text up from 45 to 48.5
o Line 28: Changed the “WindowStyle” property from ”modal” to “normal”
for the GUI window.
o Line 39: Increased range by subtracting 10 instead of 20 from the total
GUI height to add height to the text boxes
o Line 42: Changed Y reference point of text boxes to the Y position of the
message text above it
o Line 45: Added a “warning count” to catch incorrect RayP information in
the SAC headers
o Line 54 and 57: Increased pushbutton text size from 0.25 to 0.5
o Line 116 - 121: Added a warning that a record’s status will be “turned off”
if incorrect information exists in the SAC header about the ray parameter
(i.e. -12345)
o Lines 133 – 160: Added an error checking “if” statement for when data
directories are not entered correctly by the user and the directory that is
being imported does not exist. It will skip this entry, inform the user that
it has been skipped and move on to the next one.
o Lines 145 and 150: Fixed an error in outputting the correct name of the
directory.
o Line 151: Added a “close” command for the wait window when an error
occurs.
o Line 152: Added a “return” command to exit the function when there is an
error.
o Lines 162 – 165: Added timing estimate for dataset information
calculation
4/30/2011: fl_traceedit_gui.m
o Line 31: Fixed an error in displaying the correct name of the table for
which records are being loaded.
o Other fixes are on-going.
5/1/2011: Added missing fl_traceedit_auto.m script
5/1/2011: funclab.m
o te_auto_table_Callback:
Lines 952 – 953: Major code fixes to properly call the newly added
auto trace editing script. Fixes are in progress.
5/7/2011: ccp_1D_raytracing.m
o Line 40: Changed max number of array elements from 25,000 to 15,000 to
avoid out of memory errors
05/08/2011: ccp_1D_raytracing.m
o Line 197: Deleted extra clear command
05/22/2011: ccp_1D_raytracing.m
o Line 223-257: Added an “else” statement to save the last matrix when
more than one ray tracing and mid point matrix needs to be saved for
memory purposes.
06/12/2011: ccp_migration.m
o Line 44: Changed max number of array elements from 25,000 to 15,000 to
avoid out of memory errors
o Line 115 - 145: Added “if” statement to check if the correct interpolation
of the depths are happening. I’ve run into a situation where I have only a
partial time series in the SAC file and it is choking.
o Line 84: Changed relation from “greater than or equal to” (>=) to just
“greater than” (>).
o Line 150: Replaced the “for” loop that saves all the ray matrices with just
a save command for the last matrix.
06/12/2011: ccp_stacking.m
o Line 92: Added “if” statement to check if the record IDs exist in this
matrix
o Line 198 - 201: Added command to enable the bin map and the bin stack
plotting functions and the export piercing points and stacks functions
06/12/2011: ccp_binstack.m
o Line 32: Replaced “Ensembles” with calling the CurrentRecords to
properly reference the tables needed to plot the stack.
o Line 54, 82, & 107: Replaced RRFBootAxis with BootAxis
o Line 130 & 137: Replaced Ensemble.BeginDepth with
CurrentRecords{Record,7}; Ensemble.EndDepth with
CurrentRecords{Record,8};
o Line 133: Replaced Ensemble.BinLatitude with
CurrentRecords{Record,14} and Ensemble.BinLongitude with
CurrentRecords{Record,15}
o Line 145 – 216: Commented out these lines.
06/12/2011: ccp_binmap.m
o Line 22 & 23: Changed column in CCPGrid from 2 to 1
o Line 24 & 25: Changed column in CCPGrid from 3 to 2
o Lines 94 – 96: Chanded columns in the CCPGrid to correctly refer to lats,
lons, and bin radii.
6/15/2011: gccp_1D_raytracing.m
o Line 40: Changed max number of array elements from 25,000 to 15,000 to
avoid out of memory errors
o Line 197: Deleted extra clear command
o Line 223-257: Added an “else” statement to save the last matrix when
more than one ray tracing and mid point matrix needs to be saved for
memory purposes.
06/15/2011: gccp_migration.m
o Line 44: Changed max number of array elements from 25,000 to 15,000 to
avoid out of memory errors
o Line 115 - 145: Added “if” statement to check if the correct interpolation
of the depths are happening. I’ve run into a situation where I have only a
partial time series in the SAC file and it is choking.
o Line 84: Changed relation from “greater than or equal to” (>=) to just
“greater than” (>).
o Line 150: Replaced the “for” loop that saves all the ray matrices with just
a save command for the last matrix.
06/15/2011: gccp_stacking.m
o Line 92: Added “if” statement to check if the record IDs exist in this
matrix
o Line 190 - 194: Added command to enable the bin map and bin stack
plotting functions and the export piercing points and volume functions
06/15/2011: gccp_binstack.m
o Line 22 - 33: Major change to the code that replaces the old “Ensemble”
references with code that calls the new CurrentRecords table.
o Line 54, 82, & 107: Replaced RRFBootAxis with BootAxis
o Line 130 & 137: Replaced Ensemble.BeginDepth with
CurrentRecords{Record,7}; Ensemble.EndDepth with
CurrentRecords{Record,8};
o Line 133: Replaced Ensemble.BinLatitude with
CurrentRecords{Record,14} and Ensemble.BinLongitude with
CurrentRecords{Record,15}
o Line 145 – 216: Commented out these lines.
06/12/2011: gccp_binmap.m
o Line 22 & 23: Changed column in GCCPGrid from 2 to 1
o Line 24 & 25: Changed column in GCCPGrid from 3 to 2
o Lines 93 – 94: Changed columns in the GCCPGrid to correctly refer to
lats, lons, and bin radii.
Get documents about "