GAMITGLOBK MATLAB TOOLS.docx
- 文档编号:30700139
- 上传时间:2023-08-19
- 格式:DOCX
- 页数:37
- 大小:707.45KB
GAMITGLOBK MATLAB TOOLS.docx
《GAMITGLOBK MATLAB TOOLS.docx》由会员分享,可在线阅读,更多相关《GAMITGLOBK MATLAB TOOLS.docx(37页珍藏版)》请在冰豆网上搜索。
GAMITGLOBKMATLABTOOLS
http:
//www-gpsg.mit.edu/~tah/GGMatlab/GAMIT/
GAMIT/GLOBKMATLABTOOLS
ThomasHerringandSimonMcClusky,MIT
LastUpdated 4/4/098:
16AM
Commentsshouldbesentto tah@mit.edu
ThissoftwareiscoveredbythestandardGAMIT/GLOBK Licenseagreement.
Content
Overview
Vers
Introductiontothetoolbox
Installation
InstructionsforinstallingandrunningprogramseitherinMatlabVer7orstand-aloneprograms
Modifications
Historyofchangestotheprograms
Velview
2.01
Velocityfieldviewingtoolincludingprofilingandinterfacetotsview
Tsview
2.02
Timeseriesviewing,editingandinterfacetoGLOBK
GAMIT/GLOBKMATLABTOOLS
Content
Overview
Installation
RunningunderMatlab
Runningasstandaloneprograms
Modifications
velview
tsview
Velview
Generalcomments
PrimaryVelocityField
TimeSeriesDIR
SecondaryVelocityField
Ensumfile:
NotimplementedinVer1.0
FeatureFiles
Long/Latlimits
TheLoadOptions
Panbuttons:
Zoombuttons.
Redrawbutton
ProfileButtons
ProfileFigure:
Offsetrow
Alignmentrow
RmDupsandStats
IDPoints
SWAP
PrintandPagesetup
InFigureActions:
Tsview
BasicOperation
Dirbutton
Centercolumnbuttons:
Load:
Append:
Detrend:
Edit:
BlockEdit:
Break:
Exponent:
Logarithmic:
EditBreaks:
Zoom:
Span:
Save:
MaxOutlier(n-sigma):
MaxSigma(mm):
KeepBreaks:
BrkonAppend:
ReportEdits:
DeleteBreaks:
ParameterSet:
LinearOnlyResid
NoEQoffset
+Annual
+Semiannual
Exp/LnRates
RealSigma
DisplayFit
Average
PostEQTimeseries
HideErrorBars
InputENSfile:
PrintandPageSetup:
Examplescreenviewandoutput
Example
Overview
ThesetoolsareprovidedasameanstohelpusersunderstandthequalityoftheresultsbeingobtainedfromGLOBKanalysesofGPSdata. TheirprimaryaimistoimprovethequalityandunderstandingoftheresultsfromlargeGPSanalysisprojects.
Installation
TorunthevelviewandtsviewprogramsyoushoulddownloadtheMatlab®mfilesforeitherx86_64(GGMatlab_x86_64.tar)orforIntelMacOSX(GGMatlab_maci.tar). Thesetarfilesareidenticalexceptthateachtarfilecontainstheexecutableprogramfortheirrespectivesystems(seedetailsbelow). Thetarfilescontaindirectoriesforvelviewandtsview. IfyouhavealicenseforMatlabyoucangotothesection RunningunderMatlab®afterthefileshavebeenuntarred.
IfyoudonothavealicenseforMatlab,youshoulddownload MCRInstaller.bin forx86_64systemsor MCRInstaller.dmg forIntelMaxOSX(Thesefilesareeach300Mbytes). Oncetheappropriatefileisdownloaded,followtheinstructionsinthe Runningasstandaloneprograms sectionafterthetarfilesabovehavebeenuntarred.
Thetarfilescontaindirectoriesfortsviewandvelview.TheexecutaublesareinthesedirectoriesalongwiththeMatlabm-files. Thetarfilescanbeuntarredinanyconvenientdirectory. ForGAMIT/GLOBKusers,theuntarreddirectorycanbeputatthelevelofgamit,kf,andlibrarydirectories. Alsoavailableisanexamplecasesavedas Example.tar. TheexamplesbelowusethedataintheExampledirectory. Thisdirectorycanbeplacedanywhereinyoursystem.
Instructions:
Inthedirectorywhereyouplaninstallingthesoftware,youshoulduntarthetarfileforthesystemyouareusing..
%tarxvf
or
%tarxvf
where
Belowwerefertothex86_64ormacidirectoriesas
RunningunderMatlab®
TorunwithMatlabRelease2006aorlater.
Eitheraddthepathstoyourstartup.minthematlabdirectoryofyourhomedirectorybyadding:
addpath
addpath
orattheMatlabpromptafterstartingmatlab,typetheabovetwolines(theformerapproachisthepreferredmethod).
>>velview
or
>>tsview
attheMatlabpromptwillstarttheprograms(Seenotesbelowonbeinginthecorrectdirectorywhenstartingtsview.)
NOTE:
OnMacOSXformatlabversionspriortorelease2009a,theinputboxesinbothvelviewandtsviewaremuchmorereadableifmatlabisstartedasmatlab–nojvm
ThisisaquickstarttomatlabthatdoesnotinvoketheJavaVirtualMachine(JVM). Theexecutablesaregeneratedthisway. ThenojvmoptionmaybeusedR2009abutwillgenerateawarningmessageeachtimeanewfigureiscreated.
Runningasstandaloneprograms
ThecurrentdistributionincludesexecutablesforLinux32-bit(gcc4.0andgreater)andIntelMacOSX(10.5).
Twostepsneedtobetakentoruntheexecutableversionsofvelviewandtsview.
(1)InstallthematlablibrariesbyeitherrunningMCRInstaller.binonlinuxormymountingMCRInstaller.dmgandtheninstallingonIntelMacOSX. FollowtheinstructionsgivenbytheInstallersandnotewherethematlablibrariesareinstalled. Onlinuxthereisnospecificlocationforthesetobeinstalled. OnMacOSX,thedefaultwillbe/Applications/MATLAB/MATLAB_Compiler_Runtime/v78. Wewillrefertothisdirectoryare
(2)Environmentsetup. ThissetupdiffersbetweenLinuxandOSX. CAUTION:
Somebrowsersmayaddlinebreakstothelongsetuplinesbelowandsowehavealsoincludedthisinformationin Setup.txt.
ForLinux:
Inyour.cshrcfile(bashusersshouldsetthecorrespondingpathandexportvariables).
#(a)Addpathinformation
setggm= setggmpath=(${ggm}/tsview ${ggm}/velview) setpath=($path$ggmpath) #(b)Addlibraryinformation setmcr_root= setMATL_LIB=${mcr_root}/bin/glnxa64: ${mcr_root}/sys/os/glnxa64: ${mcr_root}/runtime/glnxa64 setenvXAPPLRESDIR${mcr_root}/X11/app-defaults setenvLD_LIBRARY_PATH ${MATL_LIB} #Neededfor2008aMatlabexectuables aliastsview`whichtsview` aliasvelview`whichvelview` ForIntelMacOSX #(a)Addpathinformation setggm= setggmpath=(${ggm}/tsview ${ggm}/velview) setpath=($path$ggmpath) #(b)Addlibraryinformation setmcr_root= setenvDYLD_LIBRARY_PATH ${mcr_root}/runtime/maci: ${mcr_root}/sys/os/maci: ${mcr_root}/bin/maci: /System/Library/Frameworks/JavaVM.framework/JavaVM: /System/Library/Frameworks/JavaVM.f ramework/Libraries setenvXAPPLRESDIR${mcr_root}/X11/app-defaults Becauseofwrappingproblemsinthetext,wehaveputaversionoftheabovelinesin Setup.txt whichcanbepastedinto~/.cshrcafterthedirectoriesnameshavebeenupdatedwiththeappropriatevalues. Thereisalsoareadme.txtinthetsviewandvelviewdirectoriesthatexplainsthesesteps. Thereisnoneedtousetherun_tsview.shorrun_velview.shscripts. (AlthoughthesecanbeusedtotestifthedeployedMCRrootiscorrect). Modifications Velview FromVersion1.00 ∙Fixedproblemwithdisplayofnumberofsitesinthesecondaryfieldduringpan ∙FixedTeXerrorwhensitenameincludes_inthefirstfourcharacters. ∙Fixednon-removalofverticalerrorbarsonre-draws. ∙FixedsmallproblemwithvariancecalculationinCloseStatscode. ∙Clarifiedsomeofthedocumentation. ∙AddedAlignbuttontoremoveoffsetfromsecondaryfield FromVersion1.01 ∙Addedmb_filedirectoryspecificationinvelview ∙AddedIDbutton ∙Addedfeaturesoptiontoplotcoastlines,faultsandearthquakelocations. (Featuredoesnotworkinexecutable,filenotfoundmessage) FromVersion1.01 ∙Fixedsomesmallproblemswithzerosigmavelocities(sigmareplacedwith0.1mm/yr)andvelocitiesthathavenorangewhenplottingprofiles. FromVersion1.02to2.00 ∙AddedcapabilitytoreadPBOformattedvelocityfields. ∙AddedPrintdialogboxfortheexecutableversiontocontrolprinting. FromVersion2.00to2.01 ∙Changedcolorschemeandplottingofverticalmotionssothatpositiveandnegativevelocitiesappearwithdifferentcolorsvel Tsview FromVersion1.00 ∙Addedspecificationofdirectoryformb_files ∙AddedLogarithmicfitandtheabilitytotextuallyeditbreaktypes FromVersion1.01 ∙Added“RealisticSigmas”calculationthatusingchangesinchi-squaredwithdifferentaveragingintervalstoextrapolatetoalong-termvelocitysigma. ∙AddedAveragingoftimeseriesresiduals. FromVersion1.02to2.00 ∙FixedproblemswithVersion7Matlabcompatibilityproblems ∙UpdatedtoreadPBOformattedtimeseriespositionfiles ∙Addedbuttontoallowremovingoferrorbars. FromVersion2.00to2.01 ∙AddedabilitytoreadGLOBKearthquakefiles FromVersion2.01to2.02 ∙Addedadditionalbuttonsthatcontrolwhethercoseismicdisplacementsareremovedwhenlinear-onlyresidualsareplotted,andspecifyiftimeseriesoflogcorrectsareoutputasPVOfiles. ∙Allowednameswithdifferentframessosearchfor.posfile Velview Aim: TheprimaryaimofvelviewistoviewandassessthequalitythevelocityfieldsgeneratedbyGLOBK. Thefilesreadbyvelviewareeitherstandardglobkvelocityfiles(extractedwithsh_exglk–f //pboweb.unavco.org/dmsdocs/Root%20Folder/Data%20Management/Data%20Product%20Documentation/gps_velocity_format.pdf ) TypingvelviewattheMatlabpromptorfromate
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- GAMITGLOBK MATLAB TOOLS