library update
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: > 1.09
Description Updates the installed version of the davinci User Defined Functions library. NOTE: this function requires that you start davinci in a special way. Please see the help for more info.
Arguments and Return Values Arguments: an update flag, and a beta flag Return Value: the dvrc files on disk are updated
Usage Syntax: library_update(update = BOOL [, beta = BOOL][, version = FLOAT][, noroot = BOOL]) This function is designed to update the currently installed davinci User Defined Functions library NOTE: This function will operate only after major version 2.06 In the unlikely chance that this functino breaks your installation of davinci, please re-install from the davinci binaries To use this function to update the functions library, you may need to start davinci in a special way. See below for specific operating system instructions For Linux: Start davinci as root, su, or sudo, Ex: sudo davinci For Mac: You will be prompted to type the sudo password For Windows 7: Right click on the Davinci.exe file in the Start Menu And click "Run as Administrator" For Windows VISTA: Start davinci normally For Windows XP: Start davinci normally Usage: library_update(update=1) This will update all the functions to the current public release of davinci, e.g. major version 2.05 library_update(update=1,version=2.10) This will update all the functions to the specified public release of davinci, e.g. major version 2.10 library_update(update=1,beta=1) This will update all the functions to the current beta release, e.g. everything after 2.05 but before 2.06 Arguments: update=1, update the code to the most recent release beta=1, update the code to the beta release version=2.12, update the code to the specified version (>2.0) noroot, use this carefully if $DV_LIB is in a non-root controlled directory (Default=0)
Examples dv> library_update(update=1,beta=1) Using the beta repository to update davinci: http://davinci.asu.edu/examples/library_beta Downloading....lunar.hdf Downloading....mars.hdf Downloading....irf_fit_all_v3.0_tv6_1_2_v3.0 ........................................ Downloading....night_maps_final.vicar Downloading....Mars_Viking.jpg Downloading....months.txt Downloading....weekdays.txt Downloading....DeltaT.txt Downloading....tai-utc.dat Downloading....themis_filter_functions.hdf Downloading....day_maps_final.vicar Downloading....dehyd_water.txt Downloading....crism_speclib.hdf Downloading....lab1_xaxis.vicar Downloading....library.dvrc Downloading....themis_science.dvrc Downloading....library_linux.dvrc Downloading....tes_science.dvrc Downloading....library_mac.dvrc Downloading....library_mars.dvrc Downloading....data_manipulation.dvrc Downloading....math.dvrc Downloading....misc.dvrc Downloading....mosaic_tools.dvrc Downloading....msff.dvrc Downloading....spectral_tools.dvrc Downloading....plot_tools.dvrc Downloading....v_mosaic.dvrc Downloading....utils.dvrc Downloading....general_science.dvrc Downloading....crism_science.dvrc Downloading....constants.dvrc Downloading....thermal_model.dvrc Downloading....image_stretch.dvrc Downloading....library_win.dvrc Downloading....time.dvrc Downloading....field_spectrometer.dvrc Copying the library to the destination: /Applications/davinci.app/Contents/Resources/library Sourcing the new library files 1.09000 Replacing function library_update .................................. 1.19209e-07 2.22045e-16 load_module(): Variable thm already exists in global space. Module load aborted. |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Library Changes Created On: 12-08-2010 |