lib/numru/gphys/gphys_io.rb in gphys-1.5.0 vs lib/numru/gphys/gphys_io.rb in gphys-1.5.1
- old
+ new
@@ -274,13 +274,13 @@
VArrayGrib.grib
else
super
end
end
- @@nc_pattern = [/\.nc$/]
- @@grad_pattern = [/\.ctl$/]
- @@grib_pattern = [/\.grib$/, /\.grb$/]
- @@nus_pattern = [/\.nus$/]
+ @@nc_pattern = [/(\.nc|\.NC)$/]
+ @@grad_pattern = [/(\.ctl|\.CTL)$/]
+ @@grib_pattern = [/(\.grib|\.GRIB)$/, /(\.grb|\.GRB)$/]
+ @@nus_pattern = [/(\.nus|\.NUS)$/]
@@has_he5 = defined?(HE5)
if @@has_he5
@@iomdl[He5] = GPhys::HE5_IO
@@file_class [He5] = HE5