/[MITgcm]/MITgcm_contrib/gmaze_pv/subfct/coordfromnc.m
ViewVC logotype

Contents of /MITgcm_contrib/gmaze_pv/subfct/coordfromnc.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Jun 16 21:14:02 2006 UTC (19 years, 1 month ago) by gmaze
Branch: MAIN
subdir update

1 %
2 % [X,Y,Z] = COORDFROMNC(NC)
3 %
4 % Given a netcdf file, return 3D coordinates values
5 % in X, Y and Z
6 %
7
8
9 function [X Y Z] = coordfromnc(nc)
10
11
12 X=nc{'X'}(:);
13 Y=nc{'Y'}(:);
14 Z=nc{'Z'}(:);
15
16

  ViewVC Help
Powered by ViewVC 1.1.22