Hi all, I am using the MODIS conversion toolkit plugin to process some MODIS grid files. It works fine with the correct outputs but with with one issue. Each time the convert_modis_data function reads in a file and outputs it, it prints ""HDF_SD_ATTRFIND: Unable to find the HDF-SD attribute named scale_factor."" and "" HDF_SD_ATTRFIND: Unable to find the HDF-SD attribute named add_offset."" The MCTK user guide says "If scale and offset factors are present for a particular dataset, they are automatically applied during the conversion process". It seems like the scale and offset factors are determined by the function by considering the data input type, in my case MODIS grids. How do i get rid of the two messages if they aren't required? The outputs are fine with the projections, samples/lines and DN values intact. I use the following for my purposes: (MODIS Level2 snow grids) convert_modis_data,in_file=grid_file, $ out_path=output_location, out_root=output_rootname, $ /higher_product, /grid, gd_name=grid_name, sd_names=sd_names, $ out_method=out_method,background=255, fill_replace_value=255, $ r_fid_array=r_fid_array, r_fname_array=filenames Raghu
|