Commit e97577e
committed
Merge 2 if-blocks.
Second if-block had the same clause as first if-block, and it immediately
followed the first if-block.
Put add_latlon_atts line inside if (nRecordsOut == 0) block.
Coordinate variable attributes will only be added during initial creation of
output file, not if output file already exists.1 parent 6fcab55 commit e97577e
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | 188 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
196 | 192 | | |
197 | 193 | | |
198 | 194 | | |
199 | 195 | | |
200 | 196 | | |
201 | 197 | | |
202 | 198 | | |
203 | | - | |
204 | 199 | | |
| 200 | + | |
| 201 | + | |
205 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments