mdarray 0.5.5.2-java → 0.5.6-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config.rb +29 -95
- data/doc/BinaryOperator.html +20 -21
- data/doc/BitwiseOperators.html +18 -8
- data/doc/BitwiseOperators/BinaryAnd.html +189 -0
- data/doc/BitwiseOperators/BinaryLeftShift.html +189 -0
- data/doc/BitwiseOperators/BinaryOnesComplement.html +189 -0
- data/doc/BitwiseOperators/BinaryOr.html +189 -0
- data/doc/BitwiseOperators/BinaryRightShift.html +189 -0
- data/doc/BitwiseOperators/BinaryXor.html +189 -0
- data/doc/BooleanFunctions.html +18 -8
- data/doc/BooleanFunctions/And.html +189 -0
- data/doc/BooleanFunctions/Not.html +189 -0
- data/doc/BooleanFunctions/Or.html +189 -0
- data/doc/BooleanMDArray.html +10 -10
- data/doc/ByteMDArray.html +73 -14
- data/doc/CernDoubleFunctions.html +208 -0
- data/doc/CernFloatFunctions.html +208 -0
- data/doc/CernFunctions.html +828 -0
- data/doc/CernIntFunctions.html +208 -0
- data/doc/CernLongFunctions.html +208 -0
- data/doc/CharMDArray.html +181 -0
- data/doc/Colt.html +18 -20
- data/doc/ComparisonOperators.html +18 -8
- data/doc/ComparisonOperators/Eq.html +189 -0
- data/doc/ComparisonOperators/Ge.html +189 -0
- data/doc/ComparisonOperators/Gt.html +189 -0
- data/doc/ComparisonOperators/Le.html +189 -0
- data/doc/ComparisonOperators/Lt.html +189 -0
- data/doc/Const.html +107 -47
- data/doc/Csv.html +325 -113
- data/doc/Csv/Dimension.html +771 -0
- data/doc/Csv/Dimensions.html +654 -0
- data/doc/DDescriptive.html +573 -625
- data/doc/DoubleMDArray.html +40 -172
- data/doc/DoubleStatList.html +19 -20
- data/doc/FastBinaryOperator.html +166 -148
- data/doc/FastUnaryOperator.html +104 -109
- data/doc/FloatMDArray.html +55 -16
- data/doc/FunctionCreation.html +53 -273
- data/doc/FunctionMap.html +381 -93
- data/doc/GenericFunctions.html +18 -8
- data/doc/GenericFunctions/Null.html +187 -0
- data/doc/IntMDArray.html +77 -16
- data/doc/Java/CernJetMathTdouble/DoubleFunctions.html +120 -0
- data/doc/Java/CernJetMathTfloat/FloatFunctions.html +120 -0
- data/doc/Java/CernJetMathTint/IntFunctions.html +120 -0
- data/doc/Java/CernJetMathTlong/LongFunctions.html +120 -0
- data/doc/LazyBinaryOperator.html +714 -0
- data/doc/LazyMDArray.html +990 -0
- data/doc/LazyMDArray/BinaryComp.html +282 -0
- data/doc/LazyMDArray/UnaryComp.html +280 -0
- data/doc/LazyUnaryOperator.html +537 -0
- data/doc/LongMDArray.html +59 -15
- data/doc/MDArray.html +3223 -2181
- data/doc/MDArray/Counter.html +321 -1233
- data/doc/MDArray/IteratorFast.html +177 -116
- data/doc/MDArray/IteratorFastBoolean.html +37 -41
- data/doc/MDArray/IteratorFastByte.html +46 -39
- data/doc/MDArray/IteratorFastChar.html +37 -41
- data/doc/MDArray/IteratorFastDouble.html +37 -41
- data/doc/MDArray/IteratorFastFloat.html +37 -41
- data/doc/MDArray/IteratorFastInt.html +37 -41
- data/doc/MDArray/IteratorFastLong.html +37 -41
- data/doc/MDArray/IteratorFastShort.html +37 -41
- data/doc/MDArray/Section.html +561 -0
- data/doc/Nashorn.html +1407 -0
- data/doc/NetCDF.html +749 -0
- data/doc/NetCDF/Attribute.html +875 -0
- data/doc/NetCDF/AttributeWriter.html +286 -0
- data/doc/NetCDF/CDMNode.html +460 -0
- data/doc/NetCDF/Dimension.html +559 -0
- data/doc/NetCDF/DimensionWriter.html +642 -0
- data/doc/NetCDF/File.html +1593 -0
- data/doc/NetCDF/FileParent.html +674 -0
- data/doc/NetCDF/FileWriter.html +2875 -0
- data/doc/NetCDF/Group.html +685 -0
- data/doc/NetCDF/GroupWriter.html +851 -0
- data/doc/NetCDF/TimeVariable.html +646 -0
- data/doc/NetCDF/Variable.html +2994 -0
- data/doc/NetCDF/VariableWriter.html +420 -0
- data/doc/NonNumericalMDArray.html +11 -11
- data/doc/NumericFunctions.html +38 -30
- data/doc/NumericFunctions/Abs.html +189 -0
- data/doc/NumericFunctions/Add.html +189 -0
- data/doc/NumericFunctions/Ceil.html +189 -0
- data/doc/NumericFunctions/Cube.html +189 -0
- data/doc/NumericFunctions/Div.html +189 -0
- data/doc/NumericFunctions/Floor.html +189 -0
- data/doc/NumericFunctions/Fourth.html +189 -0
- data/doc/NumericFunctions/IsZero.html +189 -0
- data/doc/NumericFunctions/Max.html +189 -0
- data/doc/NumericFunctions/Min.html +189 -0
- data/doc/NumericFunctions/Mul.html +189 -0
- data/doc/NumericFunctions/Power.html +189 -0
- data/doc/NumericFunctions/Square.html +189 -0
- data/doc/NumericFunctions/Sub.html +189 -0
- data/doc/NumericFunctions/Truncate.html +189 -0
- data/doc/NumericalMDArray.html +14 -15
- data/doc/Operator.html +318 -109
- data/doc/Proc.html +120 -129
- data/doc/RubyBinaryOperator.html +66 -70
- data/doc/RubyFunctions.html +572 -27
- data/doc/RubyMath.html +18 -8
- data/doc/RubyMath/Acos.html +189 -0
- data/doc/RubyMath/Acosh.html +189 -0
- data/doc/RubyMath/Asin.html +189 -0
- data/doc/RubyMath/Asinh.html +189 -0
- data/doc/RubyMath/Atan.html +189 -0
- data/doc/RubyMath/Atan2.html +189 -0
- data/doc/RubyMath/Atanh.html +189 -0
- data/doc/RubyMath/Cbrt.html +189 -0
- data/doc/RubyMath/Cos.html +189 -0
- data/doc/RubyMath/Cosh.html +189 -0
- data/doc/RubyMath/Erf.html +189 -0
- data/doc/RubyMath/Erfc.html +189 -0
- data/doc/RubyMath/Exp.html +189 -0
- data/doc/RubyMath/Gamma.html +189 -0
- data/doc/RubyMath/Hypot.html +189 -0
- data/doc/RubyMath/Ldexp.html +189 -0
- data/doc/RubyMath/Log.html +189 -0
- data/doc/RubyMath/Log10.html +189 -0
- data/doc/RubyMath/Log2.html +189 -0
- data/doc/RubyMath/Neg.html +189 -0
- data/doc/RubyMath/Sin.html +189 -0
- data/doc/RubyMath/Sinh.html +189 -0
- data/doc/RubyMath/Sqrt.html +189 -0
- data/doc/RubyMath/Tan.html +189 -0
- data/doc/RubyMath/Tanh.html +189 -0
- data/doc/RubyStats.html +8 -8
- data/doc/RubyUnaryOperator.html +61 -65
- data/doc/ShortMDArray.html +69 -14
- data/doc/Sol.html +700 -0
- data/doc/Sol/BarChart.html +181 -0
- data/doc/Sol/BaseChart.html +800 -0
- data/doc/Sol/Bootstrap.html +1137 -0
- data/doc/Sol/Bridge.html +586 -0
- data/doc/Sol/Chart.html +1162 -0
- data/doc/Sol/CoordinateChart.html +679 -0
- data/doc/Sol/Dashboard.html +2094 -0
- data/doc/Sol/Dashboard/DCFX.html +786 -0
- data/doc/Sol/Dashboard/MyHandle.html +338 -0
- data/doc/Sol/Dashboard/MyService.html +202 -0
- data/doc/Sol/Dashboard/MyTask.html +291 -0
- data/doc/Sol/Interval.html +1213 -0
- data/doc/Sol/LineChart.html +346 -0
- data/doc/Sol/LinearScale.html +334 -0
- data/doc/Sol/Margins.html +219 -0
- data/doc/Sol/OrdinalScale.html +263 -0
- data/doc/Sol/Scale.html +462 -0
- data/doc/Sol/Stack.html +199 -0
- data/doc/Sol/TimeScale.html +397 -0
- data/doc/StatList.html +110 -125
- data/doc/StringMDArray.html +10 -10
- data/doc/StructureMDArray.html +10 -10
- data/doc/UnaryOperator.html +20 -21
- data/doc/UserFunction.html +51 -49
- data/doc/_index.html +881 -106
- data/doc/class_list.html +8 -3
- data/doc/css/style.css +2 -1
- data/doc/file.README.html +455 -104
- data/doc/file_list.html +7 -2
- data/doc/frames.html +5 -7
- data/doc/index.html +455 -104
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +11 -3
- data/doc/method_list.html +3170 -1233
- data/doc/top-level-namespace.html +31 -8
- data/lib/colt/matrix/algebra.rb +5 -5
- data/lib/mdarray.rb +6 -3
- data/lib/mdarray/csv.rb +25 -5
- data/lib/mdarray/fast_operators.rb +1 -1
- data/lib/mdarray/function_creation.rb +3 -1
- data/lib/mdarray/hierarchy.rb +2 -0
- data/lib/mdarray/operators.rb +1 -1
- data/lib/mdarray/ruby_functions.rb +8 -4
- data/lib/mdarray/ruby_math.rb +0 -28
- data/test/colt/matrix/test_matrix2d_floatingalgebra.rb +31 -7
- data/test/complete.rb +4 -4
- data/test/mdarray/PETR4_2014.csv +249 -0
- data/test/mdarray/VALE_2014.csv +253 -0
- data/test/mdarray/VALE_PETR4.csv +501 -0
- data/test/mdarray/arithmetic_casting.rb +1 -0
- data/test/mdarray/test_access.rb +1 -0
- data/test/mdarray/test_boolean.rb +1 -0
- data/test/mdarray/test_comparison.rb +1 -0
- data/test/mdarray/test_complete.rb +2 -5
- data/test/mdarray/test_counter.rb +1 -0
- data/test/mdarray/test_creation.rb +1 -0
- data/test/mdarray/test_csv.rb +51 -0
- data/test/mdarray/test_error.rb +1 -0
- data/test/mdarray/test_non_numeric.rb +1 -1
- data/test/mdarray/test_operator.rb +31 -14
- data/test/mdarray/test_performance.rb +2 -1
- data/test/mdarray/test_printing.rb +1 -0
- data/test/mdarray/test_sections.rb +1 -0
- data/test/mdarray/test_shape.rb +1 -0
- data/test/mdarray/test_trigonometry.rb +1 -0
- data/test/mdarray/test_views.rb +1 -0
- data/vendor/mdarray.jar +0 -0
- data/vendor/{netcdfAll-4.5_0.jar → netcdfAll-4.6.jar} +0 -0
- data/vendor/slf4j-jdk14-1.7.12.jar +0 -0
- data/version.rb +1 -1
- metadata +247 -139
- data/lib/env.rb +0 -12
- data/lib/mdarray/lazy_mdarray.rb +0 -315
- data/lib/mdarray/lazy_operators.rb +0 -174
- data/test/env.rb +0 -8
- data/test/mdarray/test_lazy.rb +0 -306
|
@@ -0,0 +1,1593 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: NetCDF::File
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '../';
|
|
20
|
+
framesUrl = "../frames.html#!NetCDF/File.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="../_index.html">Index (F)</a> »
|
|
35
|
+
<span class='title'><span class='object_link'><a href="../NetCDF.html" title="NetCDF (class)">NetCDF</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">File</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="../class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="../method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="../file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: NetCDF::File
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="FileParent.html" title="NetCDF::FileParent (class)">FileParent</a></span></span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next"><span class='object_link'><a href="FileParent.html" title="NetCDF::FileParent (class)">FileParent</a></span></li>
|
|
82
|
+
|
|
83
|
+
<li class="next">NetCDF::File</li>
|
|
84
|
+
|
|
85
|
+
</ul>
|
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
87
|
+
|
|
88
|
+
</dd>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
|
99
|
+
<dd class="r2 last">lib/netcdf/file.rb</dd>
|
|
100
|
+
|
|
101
|
+
</dl>
|
|
102
|
+
<div class="clear"></div>
|
|
103
|
+
|
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
|
105
|
+
<div class="discussion">
|
|
106
|
+
|
|
107
|
+
<h6 id="label-"></h6>
|
|
108
|
+
|
|
109
|
+
<p>Read-only scientific datasets that are accessible through the netCDF API.
|
|
110
|
+
Immutable after setImmutable() is called. However, reading data is not
|
|
111
|
+
thread-safe.</p>
|
|
112
|
+
|
|
113
|
+
<h6 id="label-"></h6>
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="tags">
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<h2>Instance Attribute Summary</h2>
|
|
128
|
+
|
|
129
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FileParent.html" title="NetCDF::FileParent (class)">FileParent</a></span></h3>
|
|
130
|
+
<p class="inherited"><span class='object_link'><a href="FileParent.html#file_name-instance_method" title="NetCDF::FileParent#file_name (method)">#file_name</a></span>, <span class='object_link'><a href="FileParent.html#home_dir-instance_method" title="NetCDF::FileParent#home_dir (method)">#home_dir</a></span>, <span class='object_link'><a href="FileParent.html#netcdf_elmt-instance_method" title="NetCDF::FileParent#netcdf_elmt (method)">#netcdf_elmt</a></span>, <span class='object_link'><a href="FileParent.html#outside_scope-instance_method" title="NetCDF::FileParent#outside_scope (method)">#outside_scope</a></span>, <span class='object_link'><a href="FileParent.html#root_group-instance_method" title="NetCDF::FileParent#root_group (method)">#root_group</a></span></p>
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<h2>
|
|
135
|
+
Instance Method Summary
|
|
136
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
137
|
+
</h2>
|
|
138
|
+
|
|
139
|
+
<ul class="summary">
|
|
140
|
+
|
|
141
|
+
<li class="public ">
|
|
142
|
+
<span class="summary_signature">
|
|
143
|
+
|
|
144
|
+
<a href="#can_open%3F-instance_method" title="#can_open? (instance method)">- (Boolean) <strong>can_open?</strong> </a>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
</span>
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<span class="summary_desc"><div class='inline'>
|
|
159
|
+
<p>------------------------------------------------------------------------------------
|
|
160
|
+
Find out if the file can be opened, but dont actually open it.</p>
|
|
161
|
+
</div></span>
|
|
162
|
+
|
|
163
|
+
</li>
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
<li class="public ">
|
|
167
|
+
<span class="summary_signature">
|
|
168
|
+
|
|
169
|
+
<a href="#close-instance_method" title="#close (instance method)">- (Object) <strong>close</strong> </a>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
</span>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<span class="summary_desc"><div class='inline'>
|
|
184
|
+
<p>------------------------------------------------------------------------------------
|
|
185
|
+
closes the file
|
|
186
|
+
------------------------------------------------------------------------------------.</p>
|
|
187
|
+
</div></span>
|
|
188
|
+
|
|
189
|
+
</li>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
<li class="public ">
|
|
193
|
+
<span class="summary_signature">
|
|
194
|
+
|
|
195
|
+
<a href="#detail_info-instance_method" title="#detail_info (instance method)">- (Object) <strong>detail_info</strong> </a>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
</span>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<span class="summary_desc"><div class='inline'>
|
|
210
|
+
<p>------------------------------------------------------------------------------------
|
|
211
|
+
Find all dimensions in the file
|
|
212
|
+
------------------------------------------------------------------------------------.</p>
|
|
213
|
+
</div></span>
|
|
214
|
+
|
|
215
|
+
</li>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<li class="public ">
|
|
219
|
+
<span class="summary_signature">
|
|
220
|
+
|
|
221
|
+
<a href="#empty-instance_method" title="#empty (instance method)">- (Object) <strong>empty</strong> </a>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</span>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
<span class="summary_desc"><div class='inline'>
|
|
236
|
+
<p>------------------------------------------------------------------------------------
|
|
237
|
+
Completely empty the objects in the netcdf file.</p>
|
|
238
|
+
</div></span>
|
|
239
|
+
|
|
240
|
+
</li>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<li class="public ">
|
|
244
|
+
<span class="summary_signature">
|
|
245
|
+
|
|
246
|
+
<a href="#file_type_description-instance_method" title="#file_type_description (instance method)">- (Object) <strong>file_type_description</strong> </a>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
</span>
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
<span class="summary_desc"><div class='inline'>
|
|
261
|
+
<p>------------------------------------------------------------------------------------
|
|
262
|
+
Get a human-readable description for this file type.</p>
|
|
263
|
+
</div></span>
|
|
264
|
+
|
|
265
|
+
</li>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
<li class="public ">
|
|
269
|
+
<span class="summary_signature">
|
|
270
|
+
|
|
271
|
+
<a href="#file_type_id-instance_method" title="#file_type_id (instance method)">- (Object) <strong>file_type_id</strong> </a>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</span>
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<span class="summary_desc"><div class='inline'>
|
|
286
|
+
<p>------------------------------------------------------------------------------------
|
|
287
|
+
Get the file type id for the underlying data source.</p>
|
|
288
|
+
</div></span>
|
|
289
|
+
|
|
290
|
+
</li>
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<li class="public ">
|
|
294
|
+
<span class="summary_signature">
|
|
295
|
+
|
|
296
|
+
<a href="#find_attribute-instance_method" title="#find_attribute (instance method)">- (Object) <strong>find_attribute</strong>(name) </a>
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
</span>
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
<span class="summary_desc"><div class='inline'>
|
|
311
|
+
<p>------------------------------------------------------------------------------------
|
|
312
|
+
Find an attribute, with the specified (escaped full) name.</p>
|
|
313
|
+
</div></span>
|
|
314
|
+
|
|
315
|
+
</li>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
<li class="public ">
|
|
319
|
+
<span class="summary_signature">
|
|
320
|
+
|
|
321
|
+
<a href="#find_dimension-instance_method" title="#find_dimension (instance method)">- (Object) <strong>find_dimension</strong>(name) </a>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
</span>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
<span class="summary_desc"><div class='inline'>
|
|
336
|
+
<p>------------------------------------------------------------------------------------
|
|
337
|
+
Finds a dimension by full name
|
|
338
|
+
------------------------------------------------------------------------------------.</p>
|
|
339
|
+
</div></span>
|
|
340
|
+
|
|
341
|
+
</li>
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
<li class="public ">
|
|
345
|
+
<span class="summary_signature">
|
|
346
|
+
|
|
347
|
+
<a href="#find_global_attribute-instance_method" title="#find_global_attribute (instance method)">- (Object) <strong>find_global_attribute</strong>(name, ignore_case = false) </a>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</span>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
<span class="summary_desc"><div class='inline'>
|
|
362
|
+
<p>------------------------------------------------------------------------------------
|
|
363
|
+
Find an global attribute, with the specified (full) name.</p>
|
|
364
|
+
</div></span>
|
|
365
|
+
|
|
366
|
+
</li>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
<li class="public ">
|
|
370
|
+
<span class="summary_signature">
|
|
371
|
+
|
|
372
|
+
<a href="#find_group-instance_method" title="#find_group (instance method)">- (Object) <strong>find_group</strong>(name) </a>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
</span>
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
<span class="summary_desc"><div class='inline'>
|
|
387
|
+
<p>------------------------------------------------------------------------------------
|
|
388
|
+
Find a Group, with the specified (full) name.</p>
|
|
389
|
+
</div></span>
|
|
390
|
+
|
|
391
|
+
</li>
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
<li class="public ">
|
|
395
|
+
<span class="summary_signature">
|
|
396
|
+
|
|
397
|
+
<a href="#find_unlimited_dimension-instance_method" title="#find_unlimited_dimension (instance method)">- (Object) <strong>find_unlimited_dimension</strong> </a>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
(also: #get_unlimited_dimension)
|
|
402
|
+
|
|
403
|
+
</span>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
<span class="summary_desc"><div class='inline'>
|
|
414
|
+
<p>------------------------------------------------------------------------------------
|
|
415
|
+
Return the unlimited (record) dimension, or null if not exist.</p>
|
|
416
|
+
</div></span>
|
|
417
|
+
|
|
418
|
+
</li>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
<li class="public ">
|
|
422
|
+
<span class="summary_signature">
|
|
423
|
+
|
|
424
|
+
<a href="#find_variable-instance_method" title="#find_variable (instance method)">- (Object) <strong>find_variable</strong>(name) </a>
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
</span>
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
<span class="summary_desc"><div class='inline'>
|
|
439
|
+
<p>------------------------------------------------------------------------------------
|
|
440
|
+
Finds a variable by name
|
|
441
|
+
------------------------------------------------------------------------------------.</p>
|
|
442
|
+
</div></span>
|
|
443
|
+
|
|
444
|
+
</li>
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<li class="public ">
|
|
448
|
+
<span class="summary_signature">
|
|
449
|
+
|
|
450
|
+
<a href="#get_dimensions-instance_method" title="#get_dimensions (instance method)">- (Object) <strong>get_dimensions</strong> </a>
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
</span>
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
<span class="summary_desc"><div class='inline'>
|
|
465
|
+
<p>------------------------------------------------------------------------------------
|
|
466
|
+
Find all dimensions in the file
|
|
467
|
+
------------------------------------------------------------------------------------.</p>
|
|
468
|
+
</div></span>
|
|
469
|
+
|
|
470
|
+
</li>
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
<li class="public ">
|
|
474
|
+
<span class="summary_signature">
|
|
475
|
+
|
|
476
|
+
<a href="#id-instance_method" title="#id (instance method)">- (Object) <strong>id</strong> </a>
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
</span>
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
<span class="summary_desc"><div class='inline'>
|
|
491
|
+
<p>------------------------------------------------------------------------------------
|
|
492
|
+
Get the globally unique dataset identifier, if it exists.</p>
|
|
493
|
+
</div></span>
|
|
494
|
+
|
|
495
|
+
</li>
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
<li class="public ">
|
|
499
|
+
<span class="summary_signature">
|
|
500
|
+
|
|
501
|
+
<a href="#last_modified-instance_method" title="#last_modified (instance method)">- (Object) <strong>last_modified</strong> </a>
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
</span>
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
<span class="summary_desc"><div class='inline'>
|
|
516
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
517
|
+
</div></span>
|
|
518
|
+
|
|
519
|
+
</li>
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
<li class="public ">
|
|
523
|
+
<span class="summary_signature">
|
|
524
|
+
|
|
525
|
+
<a href="#location-instance_method" title="#location (instance method)">- (Object) <strong>location</strong> </a>
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
</span>
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
<span class="summary_desc"><div class='inline'>
|
|
540
|
+
<p>------------------------------------------------------------------------------------
|
|
541
|
+
Get the NetcdfFile location.</p>
|
|
542
|
+
</div></span>
|
|
543
|
+
|
|
544
|
+
</li>
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
<li class="public ">
|
|
548
|
+
<span class="summary_signature">
|
|
549
|
+
|
|
550
|
+
<a href="#open-instance_method" title="#open (instance method)">- (Object) <strong>open</strong> </a>
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
</span>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
<span class="summary_desc"><div class='inline'>
|
|
565
|
+
<p>------------------------------------------------------------------------------------
|
|
566
|
+
Opens a file for reading
|
|
567
|
+
------------------------------------------------------------------------------------.</p>
|
|
568
|
+
</div></span>
|
|
569
|
+
|
|
570
|
+
</li>
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
<li class="public ">
|
|
574
|
+
<span class="summary_signature">
|
|
575
|
+
|
|
576
|
+
<a href="#title-instance_method" title="#title (instance method)">- (Object) <strong>title</strong> </a>
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
</span>
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
<span class="summary_desc"><div class='inline'>
|
|
591
|
+
<p>------------------------------------------------------------------------------------
|
|
592
|
+
Get the human-readable title, if it exists.</p>
|
|
593
|
+
</div></span>
|
|
594
|
+
|
|
595
|
+
</li>
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
<li class="public ">
|
|
599
|
+
<span class="summary_signature">
|
|
600
|
+
|
|
601
|
+
<a href="#unlimited_dimension%3F-instance_method" title="#unlimited_dimension? (instance method)">- (Boolean) <strong>unlimited_dimension?</strong> </a>
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
</span>
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
<span class="summary_desc"><div class='inline'>
|
|
616
|
+
<p>------------------------------------------------------------------------------------
|
|
617
|
+
Get the human-readable title, if it exists.</p>
|
|
618
|
+
</div></span>
|
|
619
|
+
|
|
620
|
+
</li>
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
<li class="public ">
|
|
624
|
+
<span class="summary_signature">
|
|
625
|
+
|
|
626
|
+
<a href="#write_cdl-instance_method" title="#write_cdl (instance method)">- (Object) <strong>write_cdl</strong>(out = $stdout, strict = false) </a>
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
</span>
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
<span class="summary_desc"><div class='inline'>
|
|
641
|
+
<p>------------------------------------------------------------------------------------
|
|
642
|
+
Outputs the data CDL to an output stream * TODO: allow writing to other
|
|
643
|
+
output streams.</p>
|
|
644
|
+
</div></span>
|
|
645
|
+
|
|
646
|
+
</li>
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
</ul>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FileParent.html" title="NetCDF::FileParent (class)">FileParent</a></span></h3>
|
|
662
|
+
<p class="inherited"><span class='object_link'><a href="FileParent.html#global_attributes-instance_method" title="NetCDF::FileParent#global_attributes (method)">#global_attributes</a></span>, <span class='object_link'><a href="FileParent.html#initialize-instance_method" title="NetCDF::FileParent#initialize (method)">#initialize</a></span></p>
|
|
663
|
+
<div id="constructor_details" class="method_details_list">
|
|
664
|
+
<h2>Constructor Details</h2>
|
|
665
|
+
|
|
666
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="FileParent.html#initialize-instance_method" title="NetCDF::FileParent#initialize (method)">NetCDF::FileParent</a></span></p>
|
|
667
|
+
|
|
668
|
+
</div>
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
<div id="instance_method_details" class="method_details_list">
|
|
672
|
+
<h2>Instance Method Details</h2>
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
<div class="method_details first">
|
|
676
|
+
<h3 class="signature first" id="can_open?-instance_method">
|
|
677
|
+
|
|
678
|
+
- (<tt>Boolean</tt>) <strong>can_open?</strong>
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
</h3><div class="docstring">
|
|
685
|
+
<div class="discussion">
|
|
686
|
+
<hr>
|
|
687
|
+
|
|
688
|
+
<p>Find out if the file can be opened, but dont actually open it.</p>
|
|
689
|
+
<hr>
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
</div>
|
|
693
|
+
</div>
|
|
694
|
+
<div class="tags">
|
|
695
|
+
|
|
696
|
+
<p class="tag_title">Returns:</p>
|
|
697
|
+
<ul class="return">
|
|
698
|
+
|
|
699
|
+
<li>
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
</li>
|
|
707
|
+
|
|
708
|
+
</ul>
|
|
709
|
+
|
|
710
|
+
</div><table class="source_code">
|
|
711
|
+
<tr>
|
|
712
|
+
<td>
|
|
713
|
+
<pre class="lines">
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
83
|
|
717
|
+
84
|
|
718
|
+
85</pre>
|
|
719
|
+
</td>
|
|
720
|
+
<td>
|
|
721
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 83</span>
|
|
722
|
+
|
|
723
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_can_open?'>can_open?</span>
|
|
724
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_canOpen'>canOpen</span><span class='lparen'>(</span><span class='ivar'>@file_name</span><span class='rparen'>)</span>
|
|
725
|
+
<span class='kw'>end</span></pre>
|
|
726
|
+
</td>
|
|
727
|
+
</tr>
|
|
728
|
+
</table>
|
|
729
|
+
</div>
|
|
730
|
+
|
|
731
|
+
<div class="method_details ">
|
|
732
|
+
<h3 class="signature " id="close-instance_method">
|
|
733
|
+
|
|
734
|
+
- (<tt>Object</tt>) <strong>close</strong>
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
</h3><div class="docstring">
|
|
741
|
+
<div class="discussion">
|
|
742
|
+
<hr>
|
|
743
|
+
|
|
744
|
+
<p>closes the file</p>
|
|
745
|
+
<hr>
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
</div>
|
|
749
|
+
</div>
|
|
750
|
+
<div class="tags">
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
</div><table class="source_code">
|
|
754
|
+
<tr>
|
|
755
|
+
<td>
|
|
756
|
+
<pre class="lines">
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
91
|
|
760
|
+
92
|
|
761
|
+
93</pre>
|
|
762
|
+
</td>
|
|
763
|
+
<td>
|
|
764
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 91</span>
|
|
765
|
+
|
|
766
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_close'>close</span>
|
|
767
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
768
|
+
<span class='kw'>end</span></pre>
|
|
769
|
+
</td>
|
|
770
|
+
</tr>
|
|
771
|
+
</table>
|
|
772
|
+
</div>
|
|
773
|
+
|
|
774
|
+
<div class="method_details ">
|
|
775
|
+
<h3 class="signature " id="detail_info-instance_method">
|
|
776
|
+
|
|
777
|
+
- (<tt>Object</tt>) <strong>detail_info</strong>
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
</h3><div class="docstring">
|
|
784
|
+
<div class="discussion">
|
|
785
|
+
<hr>
|
|
786
|
+
|
|
787
|
+
<p>Find all dimensions in the file</p>
|
|
788
|
+
<hr>
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
</div>
|
|
792
|
+
</div>
|
|
793
|
+
<div class="tags">
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
</div><table class="source_code">
|
|
797
|
+
<tr>
|
|
798
|
+
<td>
|
|
799
|
+
<pre class="lines">
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
178
|
|
803
|
+
179
|
|
804
|
+
180</pre>
|
|
805
|
+
</td>
|
|
806
|
+
<td>
|
|
807
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 178</span>
|
|
808
|
+
|
|
809
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_detail_info'>detail_info</span>
|
|
810
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getDetailInfo'>getDetailInfo</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
811
|
+
<span class='kw'>end</span></pre>
|
|
812
|
+
</td>
|
|
813
|
+
</tr>
|
|
814
|
+
</table>
|
|
815
|
+
</div>
|
|
816
|
+
|
|
817
|
+
<div class="method_details ">
|
|
818
|
+
<h3 class="signature " id="empty-instance_method">
|
|
819
|
+
|
|
820
|
+
- (<tt>Object</tt>) <strong>empty</strong>
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
</h3><div class="docstring">
|
|
827
|
+
<div class="discussion">
|
|
828
|
+
<hr>
|
|
829
|
+
|
|
830
|
+
<p>Completely empty the objects in the netcdf file.</p>
|
|
831
|
+
<hr>
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
</div>
|
|
835
|
+
</div>
|
|
836
|
+
<div class="tags">
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
</div><table class="source_code">
|
|
840
|
+
<tr>
|
|
841
|
+
<td>
|
|
842
|
+
<pre class="lines">
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
99
|
|
846
|
+
100
|
|
847
|
+
101</pre>
|
|
848
|
+
</td>
|
|
849
|
+
<td>
|
|
850
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 99</span>
|
|
851
|
+
|
|
852
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_empty'>empty</span>
|
|
853
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_empty'>empty</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
854
|
+
<span class='kw'>end</span></pre>
|
|
855
|
+
</td>
|
|
856
|
+
</tr>
|
|
857
|
+
</table>
|
|
858
|
+
</div>
|
|
859
|
+
|
|
860
|
+
<div class="method_details ">
|
|
861
|
+
<h3 class="signature " id="file_type_description-instance_method">
|
|
862
|
+
|
|
863
|
+
- (<tt>Object</tt>) <strong>file_type_description</strong>
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
</h3><div class="docstring">
|
|
870
|
+
<div class="discussion">
|
|
871
|
+
<hr>
|
|
872
|
+
|
|
873
|
+
<p>Get a human-readable description for this file type.</p>
|
|
874
|
+
<hr>
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
</div>
|
|
878
|
+
</div>
|
|
879
|
+
<div class="tags">
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
</div><table class="source_code">
|
|
883
|
+
<tr>
|
|
884
|
+
<td>
|
|
885
|
+
<pre class="lines">
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
186
|
|
889
|
+
187
|
|
890
|
+
188</pre>
|
|
891
|
+
</td>
|
|
892
|
+
<td>
|
|
893
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 186</span>
|
|
894
|
+
|
|
895
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_file_type_description'>file_type_description</span>
|
|
896
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getFileTypeDescription'>getFileTypeDescription</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
897
|
+
<span class='kw'>end</span></pre>
|
|
898
|
+
</td>
|
|
899
|
+
</tr>
|
|
900
|
+
</table>
|
|
901
|
+
</div>
|
|
902
|
+
|
|
903
|
+
<div class="method_details ">
|
|
904
|
+
<h3 class="signature " id="file_type_id-instance_method">
|
|
905
|
+
|
|
906
|
+
- (<tt>Object</tt>) <strong>file_type_id</strong>
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
</h3><div class="docstring">
|
|
913
|
+
<div class="discussion">
|
|
914
|
+
<hr>
|
|
915
|
+
|
|
916
|
+
<p>Get the file type id for the underlying data source.</p>
|
|
917
|
+
<hr>
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
</div>
|
|
921
|
+
</div>
|
|
922
|
+
<div class="tags">
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
</div><table class="source_code">
|
|
926
|
+
<tr>
|
|
927
|
+
<td>
|
|
928
|
+
<pre class="lines">
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
194
|
|
932
|
+
195
|
|
933
|
+
196</pre>
|
|
934
|
+
</td>
|
|
935
|
+
<td>
|
|
936
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 194</span>
|
|
937
|
+
|
|
938
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_file_type_id'>file_type_id</span>
|
|
939
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getFileTypeId'>getFileTypeId</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
940
|
+
<span class='kw'>end</span></pre>
|
|
941
|
+
</td>
|
|
942
|
+
</tr>
|
|
943
|
+
</table>
|
|
944
|
+
</div>
|
|
945
|
+
|
|
946
|
+
<div class="method_details ">
|
|
947
|
+
<h3 class="signature " id="find_attribute-instance_method">
|
|
948
|
+
|
|
949
|
+
- (<tt>Object</tt>) <strong>find_attribute</strong>(name)
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
</h3><div class="docstring">
|
|
956
|
+
<div class="discussion">
|
|
957
|
+
<hr>
|
|
958
|
+
|
|
959
|
+
<p>Find an attribute, with the specified (escaped full) name.</p>
|
|
960
|
+
<hr>
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
</div>
|
|
964
|
+
</div>
|
|
965
|
+
<div class="tags">
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
</div><table class="source_code">
|
|
969
|
+
<tr>
|
|
970
|
+
<td>
|
|
971
|
+
<pre class="lines">
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
115
|
|
975
|
+
116
|
|
976
|
+
117</pre>
|
|
977
|
+
</td>
|
|
978
|
+
<td>
|
|
979
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 115</span>
|
|
980
|
+
|
|
981
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find_attribute'>find_attribute</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
982
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Attribute</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findAttribute'>findAttribute</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
983
|
+
<span class='kw'>end</span></pre>
|
|
984
|
+
</td>
|
|
985
|
+
</tr>
|
|
986
|
+
</table>
|
|
987
|
+
</div>
|
|
988
|
+
|
|
989
|
+
<div class="method_details ">
|
|
990
|
+
<h3 class="signature " id="find_dimension-instance_method">
|
|
991
|
+
|
|
992
|
+
- (<tt>Object</tt>) <strong>find_dimension</strong>(name)
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
</h3><div class="docstring">
|
|
999
|
+
<div class="discussion">
|
|
1000
|
+
<hr>
|
|
1001
|
+
|
|
1002
|
+
<p>Finds a dimension by full name</p>
|
|
1003
|
+
<hr>
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
</div>
|
|
1007
|
+
</div>
|
|
1008
|
+
<div class="tags">
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
</div><table class="source_code">
|
|
1012
|
+
<tr>
|
|
1013
|
+
<td>
|
|
1014
|
+
<pre class="lines">
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
135
|
|
1018
|
+
136
|
|
1019
|
+
137</pre>
|
|
1020
|
+
</td>
|
|
1021
|
+
<td>
|
|
1022
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 135</span>
|
|
1023
|
+
|
|
1024
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find_dimension'>find_dimension</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1025
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Dimension</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findDimension'>findDimension</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1026
|
+
<span class='kw'>end</span></pre>
|
|
1027
|
+
</td>
|
|
1028
|
+
</tr>
|
|
1029
|
+
</table>
|
|
1030
|
+
</div>
|
|
1031
|
+
|
|
1032
|
+
<div class="method_details ">
|
|
1033
|
+
<h3 class="signature " id="find_global_attribute-instance_method">
|
|
1034
|
+
|
|
1035
|
+
- (<tt>Object</tt>) <strong>find_global_attribute</strong>(name, ignore_case = false)
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
</h3><div class="docstring">
|
|
1042
|
+
<div class="discussion">
|
|
1043
|
+
<hr>
|
|
1044
|
+
|
|
1045
|
+
<p>Find an global attribute, with the specified (full) name.</p>
|
|
1046
|
+
<hr>
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
</div>
|
|
1050
|
+
</div>
|
|
1051
|
+
<div class="tags">
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
</div><table class="source_code">
|
|
1055
|
+
<tr>
|
|
1056
|
+
<td>
|
|
1057
|
+
<pre class="lines">
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
123
|
|
1061
|
+
124
|
|
1062
|
+
125
|
|
1063
|
+
126
|
|
1064
|
+
127
|
|
1065
|
+
128
|
|
1066
|
+
129</pre>
|
|
1067
|
+
</td>
|
|
1068
|
+
<td>
|
|
1069
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 123</span>
|
|
1070
|
+
|
|
1071
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find_global_attribute'>find_global_attribute</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_ignore_case'>ignore_case</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
1072
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_ignore_case'>ignore_case</span><span class='rparen'>)</span>
|
|
1073
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Attribute</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findGlobalAttributeIgnoreCase'>findGlobalAttributeIgnoreCase</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1074
|
+
<span class='kw'>else</span>
|
|
1075
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Attribute</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findGlobalAttribute'>findGlobalAttribute</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1076
|
+
<span class='kw'>end</span>
|
|
1077
|
+
<span class='kw'>end</span></pre>
|
|
1078
|
+
</td>
|
|
1079
|
+
</tr>
|
|
1080
|
+
</table>
|
|
1081
|
+
</div>
|
|
1082
|
+
|
|
1083
|
+
<div class="method_details ">
|
|
1084
|
+
<h3 class="signature " id="find_group-instance_method">
|
|
1085
|
+
|
|
1086
|
+
- (<tt>Object</tt>) <strong>find_group</strong>(name)
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
</h3><div class="docstring">
|
|
1093
|
+
<div class="discussion">
|
|
1094
|
+
<hr>
|
|
1095
|
+
|
|
1096
|
+
<p>Find a Group, with the specified (full) name.</p>
|
|
1097
|
+
<hr>
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
</div>
|
|
1101
|
+
</div>
|
|
1102
|
+
<div class="tags">
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
</div><table class="source_code">
|
|
1106
|
+
<tr>
|
|
1107
|
+
<td>
|
|
1108
|
+
<pre class="lines">
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
107
|
|
1112
|
+
108
|
|
1113
|
+
109</pre>
|
|
1114
|
+
</td>
|
|
1115
|
+
<td>
|
|
1116
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 107</span>
|
|
1117
|
+
|
|
1118
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find_group'>find_group</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1119
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Group</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findGroup'>findGroup</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1120
|
+
<span class='kw'>end</span></pre>
|
|
1121
|
+
</td>
|
|
1122
|
+
</tr>
|
|
1123
|
+
</table>
|
|
1124
|
+
</div>
|
|
1125
|
+
|
|
1126
|
+
<div class="method_details ">
|
|
1127
|
+
<h3 class="signature " id="find_unlimited_dimension-instance_method">
|
|
1128
|
+
|
|
1129
|
+
- (<tt>Object</tt>) <strong>find_unlimited_dimension</strong>
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
<span class="aliases">Also known as:
|
|
1134
|
+
<span class="names"><span id='get_unlimited_dimension-instance_method'>get_unlimited_dimension</span></span>
|
|
1135
|
+
</span>
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
</h3><div class="docstring">
|
|
1140
|
+
<div class="discussion">
|
|
1141
|
+
<hr>
|
|
1142
|
+
|
|
1143
|
+
<p>Return the unlimited (record) dimension, or null if not exist. If there are
|
|
1144
|
+
multiple unlimited dimensions, it will return the first one.
|
|
1145
|
+
<code>Returns:</code> the unlimited Dimension, or null if none.</p>
|
|
1146
|
+
<hr>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
</div>
|
|
1150
|
+
</div>
|
|
1151
|
+
<div class="tags">
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
</div><table class="source_code">
|
|
1155
|
+
<tr>
|
|
1156
|
+
<td>
|
|
1157
|
+
<pre class="lines">
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
145
|
|
1161
|
+
146
|
|
1162
|
+
147</pre>
|
|
1163
|
+
</td>
|
|
1164
|
+
<td>
|
|
1165
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 145</span>
|
|
1166
|
+
|
|
1167
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find_unlimited_dimension'>find_unlimited_dimension</span>
|
|
1168
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Dimension</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getUnlimitedDimension'>getUnlimitedDimension</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1169
|
+
<span class='kw'>end</span></pre>
|
|
1170
|
+
</td>
|
|
1171
|
+
</tr>
|
|
1172
|
+
</table>
|
|
1173
|
+
</div>
|
|
1174
|
+
|
|
1175
|
+
<div class="method_details ">
|
|
1176
|
+
<h3 class="signature " id="find_variable-instance_method">
|
|
1177
|
+
|
|
1178
|
+
- (<tt>Object</tt>) <strong>find_variable</strong>(name)
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
</h3><div class="docstring">
|
|
1185
|
+
<div class="discussion">
|
|
1186
|
+
<hr>
|
|
1187
|
+
|
|
1188
|
+
<p>Finds a variable by name</p>
|
|
1189
|
+
<hr>
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
</div>
|
|
1193
|
+
</div>
|
|
1194
|
+
<div class="tags">
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
</div><table class="source_code">
|
|
1198
|
+
<tr>
|
|
1199
|
+
<td>
|
|
1200
|
+
<pre class="lines">
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
157
|
|
1204
|
+
158
|
|
1205
|
+
159</pre>
|
|
1206
|
+
</td>
|
|
1207
|
+
<td>
|
|
1208
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 157</span>
|
|
1209
|
+
|
|
1210
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_find_variable'>find_variable</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
1211
|
+
<span class='const'>NetCDF</span><span class='op'>::</span><span class='const'>Variable</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findVariable'>findVariable</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
1212
|
+
<span class='kw'>end</span></pre>
|
|
1213
|
+
</td>
|
|
1214
|
+
</tr>
|
|
1215
|
+
</table>
|
|
1216
|
+
</div>
|
|
1217
|
+
|
|
1218
|
+
<div class="method_details ">
|
|
1219
|
+
<h3 class="signature " id="get_dimensions-instance_method">
|
|
1220
|
+
|
|
1221
|
+
- (<tt>Object</tt>) <strong>get_dimensions</strong>
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
</h3><div class="docstring">
|
|
1228
|
+
<div class="discussion">
|
|
1229
|
+
<hr>
|
|
1230
|
+
|
|
1231
|
+
<p>Find all dimensions in the file</p>
|
|
1232
|
+
<hr>
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
</div>
|
|
1236
|
+
</div>
|
|
1237
|
+
<div class="tags">
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
</div><table class="source_code">
|
|
1241
|
+
<tr>
|
|
1242
|
+
<td>
|
|
1243
|
+
<pre class="lines">
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
245
|
|
1247
|
+
246
|
|
1248
|
+
247</pre>
|
|
1249
|
+
</td>
|
|
1250
|
+
<td>
|
|
1251
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 245</span>
|
|
1252
|
+
|
|
1253
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_dimensions'>get_dimensions</span>
|
|
1254
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getDimensions'>getDimensions</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1255
|
+
<span class='kw'>end</span></pre>
|
|
1256
|
+
</td>
|
|
1257
|
+
</tr>
|
|
1258
|
+
</table>
|
|
1259
|
+
</div>
|
|
1260
|
+
|
|
1261
|
+
<div class="method_details ">
|
|
1262
|
+
<h3 class="signature " id="id-instance_method">
|
|
1263
|
+
|
|
1264
|
+
- (<tt>Object</tt>) <strong>id</strong>
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
</h3><div class="docstring">
|
|
1271
|
+
<div class="discussion">
|
|
1272
|
+
<hr>
|
|
1273
|
+
|
|
1274
|
+
<p>Get the globally unique dataset identifier, if it exists.</p>
|
|
1275
|
+
<hr>
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
</div>
|
|
1279
|
+
</div>
|
|
1280
|
+
<div class="tags">
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
</div><table class="source_code">
|
|
1284
|
+
<tr>
|
|
1285
|
+
<td>
|
|
1286
|
+
<pre class="lines">
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
202
|
|
1290
|
+
203
|
|
1291
|
+
204</pre>
|
|
1292
|
+
</td>
|
|
1293
|
+
<td>
|
|
1294
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 202</span>
|
|
1295
|
+
|
|
1296
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
|
1297
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getId'>getId</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1298
|
+
<span class='kw'>end</span></pre>
|
|
1299
|
+
</td>
|
|
1300
|
+
</tr>
|
|
1301
|
+
</table>
|
|
1302
|
+
</div>
|
|
1303
|
+
|
|
1304
|
+
<div class="method_details ">
|
|
1305
|
+
<h3 class="signature " id="last_modified-instance_method">
|
|
1306
|
+
|
|
1307
|
+
- (<tt>Object</tt>) <strong>last_modified</strong>
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
</h3><div class="docstring">
|
|
1314
|
+
<div class="discussion">
|
|
1315
|
+
<hr>
|
|
1316
|
+
<hr>
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
</div>
|
|
1320
|
+
</div>
|
|
1321
|
+
<div class="tags">
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
</div><table class="source_code">
|
|
1325
|
+
<tr>
|
|
1326
|
+
<td>
|
|
1327
|
+
<pre class="lines">
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
210
|
|
1331
|
+
211
|
|
1332
|
+
212</pre>
|
|
1333
|
+
</td>
|
|
1334
|
+
<td>
|
|
1335
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 210</span>
|
|
1336
|
+
|
|
1337
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_last_modified'>last_modified</span>
|
|
1338
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getLastModified'>getLastModified</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1339
|
+
<span class='kw'>end</span></pre>
|
|
1340
|
+
</td>
|
|
1341
|
+
</tr>
|
|
1342
|
+
</table>
|
|
1343
|
+
</div>
|
|
1344
|
+
|
|
1345
|
+
<div class="method_details ">
|
|
1346
|
+
<h3 class="signature " id="location-instance_method">
|
|
1347
|
+
|
|
1348
|
+
- (<tt>Object</tt>) <strong>location</strong>
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
</h3><div class="docstring">
|
|
1355
|
+
<div class="discussion">
|
|
1356
|
+
<hr>
|
|
1357
|
+
|
|
1358
|
+
<p>Get the NetcdfFile location.</p>
|
|
1359
|
+
<hr>
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
</div>
|
|
1363
|
+
</div>
|
|
1364
|
+
<div class="tags">
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
</div><table class="source_code">
|
|
1368
|
+
<tr>
|
|
1369
|
+
<td>
|
|
1370
|
+
<pre class="lines">
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
218
|
|
1374
|
+
219
|
|
1375
|
+
220</pre>
|
|
1376
|
+
</td>
|
|
1377
|
+
<td>
|
|
1378
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 218</span>
|
|
1379
|
+
|
|
1380
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_location'>location</span>
|
|
1381
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getLocation'>getLocation</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1382
|
+
<span class='kw'>end</span></pre>
|
|
1383
|
+
</td>
|
|
1384
|
+
</tr>
|
|
1385
|
+
</table>
|
|
1386
|
+
</div>
|
|
1387
|
+
|
|
1388
|
+
<div class="method_details ">
|
|
1389
|
+
<h3 class="signature " id="open-instance_method">
|
|
1390
|
+
|
|
1391
|
+
- (<tt>Object</tt>) <strong>open</strong>
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
</h3><div class="docstring">
|
|
1398
|
+
<div class="discussion">
|
|
1399
|
+
<hr>
|
|
1400
|
+
|
|
1401
|
+
<p>Opens a file for reading</p>
|
|
1402
|
+
<hr>
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
</div>
|
|
1406
|
+
</div>
|
|
1407
|
+
<div class="tags">
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
</div><table class="source_code">
|
|
1411
|
+
<tr>
|
|
1412
|
+
<td>
|
|
1413
|
+
<pre class="lines">
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
74
|
|
1417
|
+
75
|
|
1418
|
+
76
|
|
1419
|
+
77</pre>
|
|
1420
|
+
</td>
|
|
1421
|
+
<td>
|
|
1422
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 74</span>
|
|
1423
|
+
|
|
1424
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_open'>open</span>
|
|
1425
|
+
<span class='ivar'>@netcdf_elmt</span> <span class='op'>=</span> <span class='const'>NetcdfFile</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='ivar'>@file_name</span><span class='rparen'>)</span>
|
|
1426
|
+
<span class='ivar'>@root_group</span> <span class='op'>=</span> <span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_findGroup'>findGroup</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
|
1427
|
+
<span class='kw'>end</span></pre>
|
|
1428
|
+
</td>
|
|
1429
|
+
</tr>
|
|
1430
|
+
</table>
|
|
1431
|
+
</div>
|
|
1432
|
+
|
|
1433
|
+
<div class="method_details ">
|
|
1434
|
+
<h3 class="signature " id="title-instance_method">
|
|
1435
|
+
|
|
1436
|
+
- (<tt>Object</tt>) <strong>title</strong>
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
</h3><div class="docstring">
|
|
1443
|
+
<div class="discussion">
|
|
1444
|
+
<hr>
|
|
1445
|
+
|
|
1446
|
+
<p>Get the human-readable title, if it exists.</p>
|
|
1447
|
+
<hr>
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
</div>
|
|
1451
|
+
</div>
|
|
1452
|
+
<div class="tags">
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
</div><table class="source_code">
|
|
1456
|
+
<tr>
|
|
1457
|
+
<td>
|
|
1458
|
+
<pre class="lines">
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
226
|
|
1462
|
+
227
|
|
1463
|
+
228</pre>
|
|
1464
|
+
</td>
|
|
1465
|
+
<td>
|
|
1466
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 226</span>
|
|
1467
|
+
|
|
1468
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_title'>title</span>
|
|
1469
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_getTitle'>getTitle</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1470
|
+
<span class='kw'>end</span></pre>
|
|
1471
|
+
</td>
|
|
1472
|
+
</tr>
|
|
1473
|
+
</table>
|
|
1474
|
+
</div>
|
|
1475
|
+
|
|
1476
|
+
<div class="method_details ">
|
|
1477
|
+
<h3 class="signature " id="unlimited_dimension?-instance_method">
|
|
1478
|
+
|
|
1479
|
+
- (<tt>Boolean</tt>) <strong>unlimited_dimension?</strong>
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
</h3><div class="docstring">
|
|
1486
|
+
<div class="discussion">
|
|
1487
|
+
<hr>
|
|
1488
|
+
|
|
1489
|
+
<p>Get the human-readable title, if it exists.</p>
|
|
1490
|
+
<hr>
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
</div>
|
|
1494
|
+
</div>
|
|
1495
|
+
<div class="tags">
|
|
1496
|
+
|
|
1497
|
+
<p class="tag_title">Returns:</p>
|
|
1498
|
+
<ul class="return">
|
|
1499
|
+
|
|
1500
|
+
<li>
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
</li>
|
|
1508
|
+
|
|
1509
|
+
</ul>
|
|
1510
|
+
|
|
1511
|
+
</div><table class="source_code">
|
|
1512
|
+
<tr>
|
|
1513
|
+
<td>
|
|
1514
|
+
<pre class="lines">
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
234
|
|
1518
|
+
235
|
|
1519
|
+
236</pre>
|
|
1520
|
+
</td>
|
|
1521
|
+
<td>
|
|
1522
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 234</span>
|
|
1523
|
+
|
|
1524
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_unlimited_dimension?'>unlimited_dimension?</span>
|
|
1525
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_hasUnlimitedDimension'>hasUnlimitedDimension</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
1526
|
+
<span class='kw'>end</span></pre>
|
|
1527
|
+
</td>
|
|
1528
|
+
</tr>
|
|
1529
|
+
</table>
|
|
1530
|
+
</div>
|
|
1531
|
+
|
|
1532
|
+
<div class="method_details ">
|
|
1533
|
+
<h3 class="signature " id="write_cdl-instance_method">
|
|
1534
|
+
|
|
1535
|
+
- (<tt>Object</tt>) <strong>write_cdl</strong>(out = $stdout, strict = false)
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
</h3><div class="docstring">
|
|
1542
|
+
<div class="discussion">
|
|
1543
|
+
<hr>
|
|
1544
|
+
|
|
1545
|
+
<p>Outputs the data CDL to an output stream</p>
|
|
1546
|
+
<ul><li>
|
|
1547
|
+
<p>TODO: allow writing to other output streams. Need to interface with java
|
|
1548
|
+
streams</p>
|
|
1549
|
+
</li><li>
|
|
1550
|
+
<p><code>strict</code> if true, make it stricly CDL, otherwise, add a little
|
|
1551
|
+
extra info</p>
|
|
1552
|
+
</li></ul>
|
|
1553
|
+
<hr>
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
</div>
|
|
1557
|
+
</div>
|
|
1558
|
+
<div class="tags">
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
</div><table class="source_code">
|
|
1562
|
+
<tr>
|
|
1563
|
+
<td>
|
|
1564
|
+
<pre class="lines">
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
170
|
|
1568
|
+
171
|
|
1569
|
+
172</pre>
|
|
1570
|
+
</td>
|
|
1571
|
+
<td>
|
|
1572
|
+
<pre class="code"><span class="info file"># File 'lib/netcdf/file.rb', line 170</span>
|
|
1573
|
+
|
|
1574
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_write_cdl'>write_cdl</span><span class='lparen'>(</span><span class='id identifier rubyid_out'>out</span> <span class='op'>=</span> <span class='gvar'>$stdout</span><span class='comma'>,</span> <span class='id identifier rubyid_strict'>strict</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
1575
|
+
<span class='ivar'>@netcdf_elmt</span><span class='period'>.</span><span class='id identifier rubyid_writeCDL'>writeCDL</span><span class='lparen'>(</span><span class='id identifier rubyid_out'>out</span><span class='period'>.</span><span class='id identifier rubyid_to_outputstream'>to_outputstream</span><span class='comma'>,</span> <span class='id identifier rubyid_strict'>strict</span><span class='rparen'>)</span>
|
|
1576
|
+
<span class='kw'>end</span></pre>
|
|
1577
|
+
</td>
|
|
1578
|
+
</tr>
|
|
1579
|
+
</table>
|
|
1580
|
+
</div>
|
|
1581
|
+
|
|
1582
|
+
</div>
|
|
1583
|
+
|
|
1584
|
+
</div>
|
|
1585
|
+
|
|
1586
|
+
<div id="footer">
|
|
1587
|
+
Generated on Tue Jul 14 18:09:13 2015 by
|
|
1588
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1589
|
+
0.8.7.6 (ruby-1.9.3).
|
|
1590
|
+
</div>
|
|
1591
|
+
|
|
1592
|
+
</body>
|
|
1593
|
+
</html>
|