generated from NEFSC/NEFSC-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move unused python/math scripts to DEPRECATE folders
- Loading branch information
1 parent
75131ab
commit d71e3f0
Showing
56 changed files
with
50 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
% Reads in data From DNxyzLatLon and converts it to a table | ||
% Reads in data From DNRegionGrid and converts it to a table | ||
% Then plots depth using color grid | ||
|
||
function PlotXYDepth(fname) | ||
D=readtable(fname,"FileType","spreadsheet"); | ||
|
||
X=table2array(D(:,2)); | ||
Y=table2array(D(:,3)); | ||
[lat, lon] = utm2ll(X,Y,19); | ||
depth=array2table(table2array(D(:,5)),'VariableNames',{'Depth'}); | ||
lon = array2table(lon,'VariableNames',{'Longitude'}); | ||
lat = array2table(lat,'VariableNames',{'Latitude'}); | ||
tbl = [lat, lon, depth]; | ||
depth_t=array2table(table2array(D(:,3)),'VariableNames',{'Depth'}); | ||
lat_t = array2table(table2array(D(:,4)),'VariableNames',{'Longitude'}); | ||
lon_t = array2table(table2array(D(:,5)),'VariableNames',{'Latitude'}); | ||
tbl = [lat_t, lon_t, depth_t]; | ||
|
||
%figure('Name',fname) | ||
s=geoscatter(tbl,"Latitude", "Longitude", "filled"); | ||
figure('Name',fname) | ||
s=geoscatter(tbl,"Longitude", "Latitude", "filled"); | ||
hold on | ||
geobasemap darkwater; | ||
|
||
s.SizeData = 5; % size of dots | ||
s.ColorVariable = "Depth"; | ||
c=hot(100); | ||
colormap(c); | ||
c = colorbar; | ||
c.Label.String = "Depth"; | ||
c.Label.String = "Depth"; |