Changes between Initial Version and Version 2 of Ticket #645
- Timestamp:
- 10/15/14 16:11:23 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #645
- Property Resolution → Fixed
- Property Status new → closed
-
Ticket #645 – Description
initial v2 1 '''editmask.m''' throws some errors due to conflicts with new or incomplete grid files when variable '''hraw''' has not been loaded. 1 2 2 editmask.m throws some errors due to conflicts with new or incomplete grid files. 3 These can be solved by making a few changes to '''read_mask.m''' 3 4 4 These can be solved by making a few changes to read_mask.m 5 A grid file may have a variable '''hraw''' that has not been filled with data. This will cause an error in '''editmask'''. I suggest test for the case hraw has an empty dimension: 5 6 6 A grid file may have a variable hraw that has not been filled with data. This will cause an error in editmask. I suggest test for the case hraw has an empty dimension: 7 7 {{{ 8 8 case {Vname.hraw} 9 9 got.hraw=true; … … 11 11 got.hraw=false; 12 12 end 13 }}} 13 14 14 15 read_mask presently only checks for "spherical" in the form of a character, and always returns false even when spherical=1 (numeric). 15 '''read_mask''' presently only checks for '''spherical''' in the form of a character, and always returns false even when spherical=1 (numeric). 16 16 Make this robust and compatible with both conventions with: 17 17 18 {{{ 18 19 if (got.spher) 19 20 spher=nc_read(ncfile,Vname.spher); … … 26 27 end 27 28 end 29 }}}