Skip to content

Commit

Permalink
replace googlecode references in respose to issue #14.
Browse files Browse the repository at this point in the history
  • Loading branch information
drf5n committed Apr 16, 2014
1 parent 207bdbd commit 69a91b6
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 27 deletions.
10 changes: 5 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
NCTOOLBOX - 20130305

Full instructions and documentation at:
http://code.google.com/p/nctoolbox/
Full instructions and documentation are being ported from
http://code.google.com/p/nctoolbox/ to https://github.com/nctoolbox/nctoolbox/wiki/Documentation

We are in the progress of moving the project hosting here to github.com.
We are in the progress of moving the project hosting to github.com.

Brief summary:

Expand All @@ -26,8 +26,8 @@ Brief summary:
You will need to add the follwing lines to your startup.m file if you would like
nctoolbox automatically when you start Matlab:

% Edit "/Path/to/nctoolbox" to correct nctoolbox directory
addpath("/Path/To/nctoolbox")
% Edit '/Path/to/nctoolbox' to correct nctoolbox directory
addpath('/Path/To/nctoolbox')
setup_nctoolbox

III. Demos
Expand Down
2 changes: 1 addition & 1 deletion cdm/cfdataset.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
% Brian Schlining
% 2009-10-21
% Alexander Crosby 2010, 2011
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox https://github.com/nctoolbox/nctoolbox/wiki/cfdataset)

classdef cfdataset < ncdataset

Expand Down
2 changes: 1 addition & 1 deletion cdm/ncdataset.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
% Brian Schlining (brian@mbari.org)
% 2009-05-12
% Alexander Crosby 2010, 2011
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox https://github.com/nctoolbox/nctoolbox/wiki/ncdataset)
classdef ncdataset < handle

properties (SetAccess = private)
Expand Down
2 changes: 1 addition & 1 deletion cdm/ncgeodataset.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
% ynm=geo.getyname(nm) % name of nm's y variable
%
% See also NCTOOLBOX (https://github.com/nctoolbox/nctoolbox
% http://code.google.com/p/nctoolbox), cfdataset, ncdataset, ncgeovariable
% https://github.com/nctoolbox/nctoolbox), cfdataset, ncdataset, ncgeovariable
% doc ncgeodataset
classdef ncgeodataset < cfdataset

Expand Down
2 changes: 1 addition & 1 deletion cdm/ncgeovariable.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
% vg.getyname
%
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox
% http://code.google.com/p/nctoolbox)
% https://github.com/nctoolbox/nctoolbox/wiki/ncgeovariable)
% See also ncvariable, ncgeodataset, ncgeodataset.geovariable
classdef ncgeovariable < ncvariable

Expand Down
2 changes: 1 addition & 1 deletion cdm/ncvariable.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
%
%
% See also CFDATASET, SIZE, DATA
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
classdef ncvariable < handle

properties (SetAccess = private)
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/interp/getinterp.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
% GETINTERP - Get interpolant of gridded data.
% Useage: >> int = getinterp(data, lon, lat, method);
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
s = size(data);
% if length(x) ~= length(y)
% error('NCTOOLBOX:interptoxy','Input coordinate vectors do not agree.')
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/interp/interptime.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
% NCGEOVARIABLE.INTERPTIME - Interpolate data matrix to a particular time or time vector.
% Useage: >> data = interptime(data, datatime, [2005 1 1 0 0 0]);
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
ts = timeseries(data, time); % Create matlab timeseries
wanttime = datenum(intime);
tsnew = resample(ts, wanttime); % Resample to input time
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/interp/interptoxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
% location or set of locations when inputs are vectors of the same length.
% Usage: data = interptoxy(data, datalon, datalat, -77, 45, 'linear');
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
s = size(data);
if length(x) ~= length(y)
error('NCTOOLBOX:interptoxy','Input coordinate vectors do not agree.')
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/misc/indexing.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
% and modified to suit our needs.
%
% Modified by Alexander Crosby 2010, 2011 (nctoolbox)
% http://code.google.com/p/nctoolbox
% https://github.com/nctoolbox/nctoolbox

%init
start = ones(1, length(varShape));
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/misc/ncload.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% If supplied, loads variables into structure
% If not supplies, loads variables into workspace

% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
nc=ncgeodataset(url);
if nargin==1,
for i=1:length(nc.variables)
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/misc/setproxy.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function setproxy(proxyname, port)
% SETPROXY - Set the proxy to use when making all remote calls with
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
%
% Use as: setproxy(proxyname, port)
%
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/misc/value4key.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
% at = ds.attributes('TEMP');
% units = value4key(at, 'units'); % returns 'celsius'
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)

keys = a(:, 1); % Cell array of keys
values = a(:, 2); % Cell array of values
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/njcompatability/nj_subsetGrid.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
% dn2 = [2003 2 16 14 0 0];
% [data, grd]=nj_subsetGrid(url,var,lonLatRange,dn1, dn2);%time range
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
if nargin < 2, help(mfilename), return, end
if (isa(ncRef, 'ncgeodataset')) %check for ncgeodataset Object
nc = ncRef;
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/njcompatability/nj_tslice.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
% [data,grd_temp]=nj_tslice(uri,'temp',2); % get 3D data at time step 2
% [data,grd_temp]=nj_tslice(uri,'h'); % Retrieve 2D non time dependent array
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)

if nargin < 2, help(mfilename), return, end
try
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/slicing/iso_plot.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
% [t,g]=nj_tslice(uri,'temp',1);% grab 3d field of 'temp' at time step 1
% [p1,p2]=iso_plot(t,g,14,300); % plot 14 degree isosurface with vert exag = 300
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
g.z=squeeze(g.z);
data=squeeze(data);
h=squeeze(min(g.z)); % find deepest z values at each grid point
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/slicing/nc_genslice.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
% modified by Weifeng Gordon Zhang
% and by John Wilkin 2011-01-26
% Alexander Crosby 2011 April - Update to using new toolbox
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
%
% Modified 2013-09-13 John Wilkin because the release version is throwing
% java heap space errors in handling the time coordinate with grid_interop.
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/slicing/vsliceg.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
% shading flat
%
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)

% error(nargchk(4,4,nargin,'struct'));
coords=[cx(:) cy(:)];
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/slicing/zsliceg.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
% tz = zsliceg(t,g.z,-5); % return temperature slice at 5 m depth
% pcolorjw(g.lon,g.lat,double(tz)); % plot temp at 5 m depth
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)

[NZ,NY,NX]=size(data);
[nz,ny,nx]=size(z);
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/units/ncunits.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% NCUNITS - Function to do unit conversions using the ucar.units library in the Unidata netcdf-java
% package.
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
%
% Usage: converted_data = ncunits(data, 'm/s', 'cm/s');
%
Expand Down
2 changes: 1 addition & 1 deletion cdm/utilities/vis/modellook.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% Usage : >> modellook(daplink, datevec)
% >> modellook(daplink, datenum)
%
% NCTOOLBOX (http://code.google.com/p/nctoolbox)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)
%
function [] = modellook(varargin)
input_hash = arg2hash(varargin);
Expand Down
2 changes: 1 addition & 1 deletion demos/contrib/fukushima.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% FUKUSHIMA get surface currents from Fukushima ocean forecast via OPeNDAP
% NCTOOLBOX: http://code.google.com/p/nctoolbox/
% NCTOOLBOX: https://github.com/nctoolbox/nctoolbox
url='http://edac-dap3.northerngulfinstitute.org/thredds/dodsC/ncom_fukushima_agg/Fukushima_best.ncd';
uvar='water_u';
vvar='water_v';
Expand Down
2 changes: 1 addition & 1 deletion demos/contrib/nam_wind_now.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% - select "nam_na_00z" or "nam_na_06z", for 33 km

% Rich Signell (rsignell@usgs.gov)
% NCTOOLBOX (http://code.google.com/p/nctoolbox/)
% NCTOOLBOX (https://github.com/nctoolbox/nctoolbox)

jd=now_utc; % gets the current time in UTC
g=datevec(jd-6/24); % go for forecast 6 hours before
Expand Down

0 comments on commit 69a91b6

Please sign in to comment.