{"action":"created","issue":{"url":"https://api.github.com/repos/dawhite/MCTK/issues/12","labels_url":"https://api.github.com/repos/dawhite/MCTK/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/dawhite/MCTK/issues/12/comments","events_url":"https://api.github.com/repos/dawhite/MCTK/issues/12/events","html_url":"https://github.com/dawhite/MCTK/issues/12","id":126426693,"number":12,"title":"Unable to attach to supplied HDF file using grid approach","user":{"login":"am2222","id":4707503,"avatar_url":"https://avatars.githubusercontent.com/u/4707503?v=3","gravatar_id":"","url":"https://api.github.com/users/am2222","html_url":"https://github.com/am2222","followers_url":"https://api.github.com/users/am2222/followers","following_url":"https://api.github.com/users/am2222/following{/other_user}","gists_url":"https://api.github.com/users/am2222/gists{/gist_id}","starred_url":"https://api.github.com/users/am2222/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am2222/subscriptions","organizations_url":"https://api.github.com/users/am2222/orgs","repos_url":"https://api.github.com/users/am2222/repos","events_url":"https://api.github.com/users/am2222/events{/privacy}","received_events_url":"https://api.github.com/users/am2222/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-13T14:17:37Z","updated_at":"2016-01-22T22:10:44Z","closed_at":null,"body":"Hi,\r\nI am using idl to loop for about 400 hdf files..But I faced this error using mckt,Can you please help me to find the rresion of this error?\r\n\r\nThank you\r\n`<\r\n ;envi\r\n\r\n print,'Read hdf file';\r\n LIST=FINDFILE('D:\\hdf\\*.hdf');\r\n bridges = mctk_create_bridges()\r\n \r\n  FOR f=0,(LIST.LENGTH-1) Do begin\r\n    print,'read file '+ string(f) + ' of '+string(LIST.LENGTH)\r\n    \r\n  \r\n print,'read file '+ string(f) + ' of '+string(LIST.LENGTH)\r\n modis_swath_file =  LIST[f]\r\n ;The specified output location MUST end in the appropriate path\r\n ;separator for your OS\r\n output_location = 'D: \\MCTK_Output\\'\r\n output_rootname = 'level_2a'\r\n ;Output method schema is:\r\n ;0 = Standard, 1 = Projected, 2 = Standard and Projected\r\n out_method = 2\r\n output_projection = envi_proj_create(/geographic)\r\n ;Choosing linear interpolation\r\n interpolation_method = 1\r\n ;do not put the bridge creation/destruction code inside a loop\r\n sd_names = [ 'LST_Day_1km' , 'LST_Night_1km' ]\r\n  convert_modis_data, in_file=modis_swath_file, $\r\n    out_path=output_location, out_root=output_rootname, $\r\n    sd_names=sd_names, $\r\n    out_method=out_method,  $\r\n    interp_method=interpolation_method,  $\r\n    bridges=bridges, msg=msg\r\n    ENDFOR\r\n   mctk_destroy_bridges, bridges  \r\n   \r\n   print,msg\r\n end>`"},"comment":{"url":"https://api.github.com/repos/dawhite/MCTK/issues/comments/174069104","html_url":"https://github.com/dawhite/MCTK/issues/12#issuecomment-174069104","issue_url":"https://api.github.com/repos/dawhite/MCTK/issues/12","id":174069104,"user":{"login":"dawhite","id":5896500,"avatar_url":"https://avatars.githubusercontent.com/u/5896500?v=3","gravatar_id":"","url":"https://api.github.com/users/dawhite","html_url":"https://github.com/dawhite","followers_url":"https://api.github.com/users/dawhite/followers","following_url":"https://api.github.com/users/dawhite/following{/other_user}","gists_url":"https://api.github.com/users/dawhite/gists{/gist_id}","starred_url":"https://api.github.com/users/dawhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawhite/subscriptions","organizations_url":"https://api.github.com/users/dawhite/orgs","repos_url":"https://api.github.com/users/dawhite/repos","events_url":"https://api.github.com/users/dawhite/events{/privacy}","received_events_url":"https://api.github.com/users/dawhite/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T22:10:44Z","updated_at":"2016-01-22T22:10:44Z","body":"sd_names = ['1km monthly NDVI' ] should be sd_names = ['1 km monthly NDVI']"}}