Changeset 1094
- Timestamp:
- 06/25/09 10:54:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/DataProcessing/TracksToMatrix.m
r1089 r1094 2 2 %TRACKSTOMATRIX - Create a map from tracks 3 3 % 4 % This routine creates a map from tracks using Kriging with the DACE package.5 % xmin and ymin are two scalarsare the extreme values of the data matrix one wants to create6 % posting is a scalar giving the posting of the matrix to be created in meters7 % trac_coord is an expfile containing the coordinates of the tracks (x and y)8 % trav_values is a vector with the values along the track coordinates9 % theta is a parameter of the correlation function stricly positive10 % varagin can contain a matrix of data to constrain rhe matrix to be created4 % This routine creates a map from tracks using a Kriging algorithm given by the package DACE. 5 % - xmin and ymin are two scalars that are the extreme values of the data matrix one wants to create 6 % - posting is a scalar giving the posting of the matrix to be created in meters 7 % - trac_coord is an Argus file containing the coordinates of the tracks (x and y) 8 % - trav_values is a vector with the values along the track coordinates 9 % - theta is a parameter of the correlation function stricly positive 10 % varagin can contain a matrix of data to constrain the matrix to be created 11 11 % it shoud contain indices x and y and the matrix 12 12 % … … 22 22 global ISSM_DIR 23 23 24 %some checks 24 25 if nargin~=8 & nargin~=11, 25 26 error(' TracksToMatrix error message: wrong number of arguments') 27 end 28 if exist([ISSM_DIR '/externalpackages/dace/install']), 29 error(['TracksToMatrix error message: DACE has not been installed yet. Go to ' ISSM_DIR '/externalpackages/dace and install DACE (./install.sh)']); 26 30 end 27 31 … … 82 86 MatData=reshape(VecData,ny,nx); 83 87 88 %remove DACE path 84 89 rmpath([ISSM_DIR '/externalpackages/dace/install']);
Note:
See TracChangeset
for help on using the changeset viewer.