{"id":52173,"date":"2023-05-05T13:35:33","date_gmt":"2023-05-05T13:35:33","guid":{"rendered":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/?p=52173"},"modified":"2023-05-05T16:35:18","modified_gmt":"2023-05-05T16:35:18","slug":"displaying-jpss-data-from-the-nodd-using-polar2grid","status":"publish","type":"post","link":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/52173","title":{"rendered":"Displaying JPSS data from the NODD using Polar2Grid"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit_25TLB-1-880x1024.png\" alt=\"\" class=\"wp-image-52177\" width=\"880\" height=\"1024\" srcset=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit_25TLB-1-880x1024.png 880w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit_25TLB-1-258x300.png 258w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit_25TLB-1-768x893.png 768w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit_25TLB-1-1320x1536.png 1320w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit_25TLB-1.png 1634w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><figcaption class=\"wp-element-caption\">Polar2Grid display of NOAA-21 I01 imagery (0.64 \u00b5m) from 0320-0330 UTC on 5 May 2023 (Click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.nesdis.noaa.gov\/about\/our-offices\/joint-polar-satellite-system-jpss-program-office\">Joint Polar Satellite System (JPSS)<\/a> data are now available online as part of the NOAA Open Data Dissemination (NODD) Program;  at present, the data are available via Amazon Web Services (with future capabilities planned for Azure and Google).  Global <a href=\"https:\/\/noaa-nesdis-snpp-pds.s3.amazonaws.com\/index.html\">Suomi-NPP<\/a>, <a href=\"https:\/\/noaa-nesdis-n20-pds.s3.amazonaws.com\/index.html\">NOAA-20<\/a> and <a href=\"https:\/\/noaa-nesdis-n21-pds.s3.amazonaws.com\/index.html\">NOAA-21<\/a> data (including Sensor Data Records (SDRs) and Environmental Data Records (EDRs) from <a href=\"https:\/\/www.star.nesdis.noaa.gov\/jpss\/ATMS.php\">ATMS<\/a>, <a href=\"https:\/\/www.star.nesdis.noaa.gov\/jpss\/VIIRS.php\">VIIRS<\/a> and <a href=\"https:\/\/www.star.nesdis.noaa.gov\/jpss\/OMPS.php\">OMPS<\/a> &#8212; and also geolocation files) are all available for free download.  How can you create a display of the imagery, as shown above?  The <a href=\"https:\/\/cimss.ssec.wisc.edu\/cspp\/\">CSPP<\/a> Software package <a href=\"https:\/\/www.ssec.wisc.edu\/software\/polar2grid\/\">Polar2Grid<\/a> (v 3.0, available for download <a href=\"https:\/\/cimss.ssec.wisc.edu\/cspp\/polar2grid_v3.0.shtml\">here<\/a>) produced the image you see above.<\/p>\n\n\n\n<p>After downloading Polar2Grid, you&#8217;ll need to determine the times of the data you wish to display;  the data on the Cloud are saved off in roughly 90-second intervals.  I consulted the SSEC Polar Orbit page (<a href=\"https:\/\/www.ssec.wisc.edu\/datacenter\/polar_orbit_tracks\/#satellite:NOAA21;region:Global;\">link<\/a>) to find a (random) <a href=\"https:\/\/www.ssec.wisc.edu\/datacenter\/polar_orbit_tracks\/data\/NOAA21\/2023\/2023_05_05_125\/GLOBAL.gif\">orbit from NOAA-21<\/a>, where the orbit chosen is an ascending pass over Indonesia between 0320 and 0330 UTC on 5 May.  The next step is to go to the Amazon Web Service data repository and find the <a href=\"https:\/\/noaa-nesdis-n21-pds.s3.amazonaws.com\/index.html#VIIRS-I1-SDR\/2023\/05\/05\/\">I01 SDRs<\/a> for the imagery to be created, and the <a href=\"https:\/\/noaa-nesdis-n21-pds.s3.amazonaws.com\/index.html#VIIRS-IMG-GEO\/2023\/05\/05\/\">geolocation<\/a> information.  Those webpages are shown below, with the files with data from 0320 to 0330 highlighted in the toggle.  Note that the timestamps of the eight I01 and geolocation files are the same: 03:20:13.5, 03:21:37.7, 03:23:03.6, . . . 03:30:11.3.  Download these files to a directory on the machine on which Polar2Grid is also installed.  Note that these &#8216;GIMGO&#8217; geolocation files are not terrain-corrected; the AWS site does include a directory (VIIRS-IMG-GEO-TC) that includes terrain-corrected geolocation files (&#8216;GITCO&#8217;) that would be appropriate to use in regions of high terrain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/VIIRS_I1_and_GEOselectionHighlight_sidebysidetoggle.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"2114\" height=\"841\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/VIIRS_I1_and_GEOselectionHighlight_sidebysidetoggle.gif\" alt=\"\" class=\"wp-image-52174\"\/><\/a><figcaption class=\"wp-element-caption\">AWS webpages holding VIIRS I01 SDRs (left) and VIIRS Geolocation data (right), with times of interest circled (Click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p>The Polar2Grid calls (remember that the environment variable $POLAR2GRID_HOME must be set) to create the imagery are straightforward:  <\/p>\n\n\n\n<p><code>$POLAR2GRID_HOME\/bin\/polar2grid.sh -r viirs_sdr -w geotiff -p i01 -f .\/Cloud\/*I01*.h5<\/code>  <\/p>\n\n\n\n<p>(the &#8216;GIMGO&#8217; files downloaded are also in that .\/Cloud\/ directory) reads the viirs_sdr I01 files and creates a geotiff image, and <\/p>\n\n\n\n<p><code><code>$POLAR2GRID_HOME\/bin\/<\/code>add_coastlines.sh --add-coastlines --add-grid --grid-D 10.0 10.0 --grid-d 10.0 10.0 --grid-text-size 20 noaa21_viirs_i01_20230505_032013_wgs84_fit.tif<\/code><\/p>\n\n\n\n<p>adds coastlines and a latitude\/longitude grid to the geotiff file created, and creates a png file (shown <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2023\/05\/noaa21_viirs_i01_20230505_032013_wgs84_fit.png\">here<\/a> at full resolution;  VIIRS Image Files at native resolution are very large &#8212; this 10-minute one is 6500&#215;7600 pixels! &#8212; because they&#8217;re at 375-m resolution;  note also that the flag <code>--coastlines-resolution f<\/code>  was added to the <code>.\/add_coastlines.sh<\/code> call for the full-resolution image).  The reduced-size image above was reduced in size and annotated using ImageMagick. <\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Joint Polar Satellite System (JPSS) data are now available online as part of the NOAA Open Data Dissemination (NODD) Program; at present, the data are available via Amazon Web Services (with future capabilities planned for Azure and Google). Global Suomi-NPP, NOAA-20 and NOAA-21 data (including Sensor Data Records (SDRs) and Environmental Data Records (EDRs) from [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":52177,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[78,131,109,49,39],"tags":[],"class_list":["post-52173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-noaa-20","category-noaa-21","category-software","category-suomi_npp","category-training"],"acf":[],"_links":{"self":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/52173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/comments?post=52173"}],"version-history":[{"count":9,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/52173\/revisions"}],"predecessor-version":[{"id":52194,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/52173\/revisions\/52194"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media\/52177"}],"wp:attachment":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media?parent=52173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/categories?post=52173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/tags?post=52173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}