{"action":"created","issue":{"url":"https://api.github.com/repos/dimitri-argans/DIMITRI/issues/15","labels_url":"https://api.github.com/repos/dimitri-argans/DIMITRI/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/dimitri-argans/DIMITRI/issues/15/comments","events_url":"https://api.github.com/repos/dimitri-argans/DIMITRI/issues/15/events","html_url":"https://github.com/dimitri-argans/DIMITRI/issues/15","id":27617891,"number":15,"title":"Missing info on number of pixels per direction","user":{"login":"cmazeran","id":5501978,"avatar_url":"https://avatars.githubusercontent.com/u/5501978?v=3","gravatar_id":"","url":"https://api.github.com/users/cmazeran","html_url":"https://github.com/cmazeran","followers_url":"https://api.github.com/users/cmazeran/followers","following_url":"https://api.github.com/users/cmazeran/following{/other_user}","gists_url":"https://api.github.com/users/cmazeran/gists{/gist_id}","starred_url":"https://api.github.com/users/cmazeran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmazeran/subscriptions","organizations_url":"https://api.github.com/users/cmazeran/orgs","repos_url":"https://api.github.com/users/cmazeran/repos","events_url":"https://api.github.com/users/cmazeran/events{/privacy}","received_events_url":"https://api.github.com/users/cmazeran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimitri-argans/DIMITRI/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-02-14T19:13:52Z","updated_at":"2015-09-23T16:10:09Z","closed_at":null,"body":"For multidirectional sensors (AATSR, etc.), there is no way to know what is the number of pixels per direction. The CSV DB file only mentions by NUM_ROI_PX the maximum number reached for one direction (itself unknown). But this number is different for each directions. \r\n\r\nHence the pixel-by-pixel extractions can hardly be correctly used when we need to distinguish the directions (case of cloud screening with spatial standard-deviation).\r\n\r\nIdeally the averaged extraction .dat files could have this info as a new field (which would be redundant with NUM_ROI_PX for unidirectional sensors). Or alternatively, the pixel-by-pixel extraction .dat files could have the index of the directions as new field (which would be always 0 for unidirectional sensors).\r\n\r\nA solution if one doesn't want to do re-ingestion would be to restore together the averaged and pixel-by-pixel extractions, and search the number of pixels by averaging on a sliding window, until the averaged value is found...\r\n\r\nPb is mainly for PARASOL on its 16 direction; for AATSR and ATSR2 with 2 direction, NUM_ROI_PX is enough to compute the number in the other direction\r\n"},"comment":{"url":"https://api.github.com/repos/dimitri-argans/DIMITRI/issues/comments/142650339","html_url":"https://github.com/dimitri-argans/DIMITRI/issues/15#issuecomment-142650339","issue_url":"https://api.github.com/repos/dimitri-argans/DIMITRI/issues/15","id":142650339,"user":{"login":"MArias2014","id":10222697,"avatar_url":"https://avatars.githubusercontent.com/u/10222697?v=3","gravatar_id":"","url":"https://api.github.com/users/MArias2014","html_url":"https://github.com/MArias2014","followers_url":"https://api.github.com/users/MArias2014/followers","following_url":"https://api.github.com/users/MArias2014/following{/other_user}","gists_url":"https://api.github.com/users/MArias2014/gists{/gist_id}","starred_url":"https://api.github.com/users/MArias2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MArias2014/subscriptions","organizations_url":"https://api.github.com/users/MArias2014/orgs","repos_url":"https://api.github.com/users/MArias2014/repos","events_url":"https://api.github.com/users/MArias2014/events{/privacy}","received_events_url":"https://api.github.com/users/MArias2014/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T16:10:09Z","updated_at":"2015-09-23T16:10:09Z","body":"This was solved in DIMITRI 4 as the output is now in netCDF format, with a layer of data per viewing angle. One of the variables associated to each angle is the number of pixels. This issue can be closed."}}