{"id":49213,"date":"2022-12-13T15:43:42","date_gmt":"2022-12-13T15:43:42","guid":{"rendered":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/?p=49213"},"modified":"2022-12-15T16:15:12","modified_gmt":"2022-12-15T16:15:12","slug":"comparing-agri-ami-and-ahi-imagery-with-geo2grid-version-1-1","status":"publish","type":"post","link":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/49213","title":{"rendered":"Comparing AGRI, AMI and AHI imagery with geo2grid version 1.1"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1080\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/AMI_AHI_AGRI_true_color_20221009_050004_Haikouanim.gif\" alt=\"\" class=\"wp-image-49215\"\/><figcaption class=\"wp-element-caption\">True-Color imagery created from AHI, AMI and AGRI data, 0500 UTC on 9 October 2022 (Click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/49172\">As noted in this blog post<\/a>, version 1.1 of geo2grid (available <a href=\"https:\/\/cimss.ssec.wisc.edu\/csppgeo\/geo2grid_v1.1.0.html\">here<\/a>!) includes support for reading AHI, AMI and AGRI data (in addition to ABI data) from <a href=\"https:\/\/www.jma.go.jp\/bosai\/map.html#5\/34.5\/137\/&amp;elem=ir&amp;contents=himawari&amp;lang=en\">JMA<\/a>&#8216;s Himawari-8 (and -9), <a href=\"http:\/\/nmsc.kma.go.kr\/enhome\/html\/satellite\/viewer\/selectSatViewerEnhome.do?dataType=gk2a\">KMA<\/a>&#8216;s GEOKOMPSAT-2 and <a href=\"https:\/\/fy4.nsmc.org.cn\/nsmc\/en\/theme\/FY4A.html\">CMA<\/a>&#8216;s FY4A (and FY4B), respectively.  These multispectral imagers are similar &#8212; but not identical &#8212; as shown at the <a href=\"https:\/\/space.oscar.wmo.int\/\">WMO OSCAR<\/a> websites for <a href=\"https:\/\/space.oscar.wmo.int\/instruments\/view\/ahi\">AHI<\/a>, <a href=\"https:\/\/space.oscar.wmo.int\/instruments\/view\/ami\">AMI<\/a> and <a href=\"https:\/\/space.oscar.wmo.int\/instruments\/view\/agri\">AGRI<\/a>.  For example, both AHI and AMI detect energy at 510 nm (0.51 \u00b5m) that can be used to create true-color imagery.  AGRI has detection at 0.47 \u00b5m and 0.65 \u00b5m only in the visible, so true color must be created using information from a near-infrared band, Band 3 on AGRI with a central wavelength at 0.825 \u00b5m (a slightly shorter wavelength than on NOAA&#8217;s GOES-R Satellites, where band 3 is at 0.86 \u00b5m).  The true-color animation above, over Hainan Island and the Gulf of Tonkin, uses data from the three satellites.  The ABI and AMI images look very similar; the AGRI image is a bit too brown, likely a result of atmospheric correction algorithms within geo2grid that remove the effects of scattering.  The locations of clouds are somewhat different as well because of different parallax shifts from the satellites:  Himawari-8 is over the Equator at 140.7<sup>o<\/sup> E, GEOKOMPSAT-2 is over the Equator at 128.2<sup>o<\/sup> E and FY4A is over the Equator at 104.7<sup>o<\/sup> E (Hainan Island is at 110<sup>o<\/sup>E).<\/p>\n\n\n\n<p>Geo2grid can also create single channel imagery that can be color-enhanced as well.  The cleanest window detection on AHI\/AMI is near 10.4 \u00b5m, and near 10.8 \u00b5m on AGRI.   AGRI has a nadir resolution of 4 km compared to the 2-km resolution on AMI and AHI, and that difference is stark!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1080\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/AMI_AHI_AGRI_CleanWindow_20221009_050004_Haikouanim2.gif\" alt=\"\" class=\"wp-image-49295\"\/><figcaption class=\"wp-element-caption\">AHI, AMI and AGRI data over Hainan Island, 0500 UTC on 9 October 2022 (click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p>The geo2grid code (and ImageMagick for annotation) is shown below.  Note that the <code>$GEO2GRID_HOME\/bin\/add_coastlines.sh<\/code> command takes as an input a tif file, and outputs (by default) a png with a similar name. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$GEO2GRID_HOME\/bin\/geo2grid.sh -r agri_fy4a_l1 -w geotiff -p C13 --grids Haikou --grid-configs $GEO2GRID_HOME\/Haikou.yaml -f \/data-hdd\/AGRI\/*20221009*.HDF\n\n$GEO2GRID_HOME\/bin\/geo2grid.sh -r ahi_hsd  -w geotiff -p B13 --grids Haikou --grid-configs $GEO2GRID_HOME\/Haikou.yaml -f \/data-hdd\/AHI\/*\n\n$GEO2GRID_HOME\/bin\/geo2grid.sh -r ami_l1b -w geotiff -p IR105 --grids Haikou --grid-configs $GEO2GRID_HOME\/Haikou.yaml -f \/data-hdd\/AMI\/*\n\n$GEO2GRID_HOME\/bin\/add_colormap.sh ..\/..\/..\/enhancements\/IR13_AWIPSAPPROX.txt FY-4A_AGRI_C13_20221009_050004_Haikou.tif\n\n$GEO2GRID_HOME\/bin\/add_colormap.sh ..\/..\/..\/enhancements\/IR13_AWIPSAPPROX.txt GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_Haikou.tif\n\n$GEO2GRID_HOME\/bin\/add_colormap.sh ..\/..\/..\/enhancements\/IR13_AWIPSAPPROX.txt HIMAWARI-8_AHI_B13_20221009_050000_Haikou.tif\n\n$GEO2GRID_HOME\/bin\/add_coastlines.sh --add-coastlines --coastlines-resolution f --coastlines-level 5 --add-grid --grid-D 10.0 10.0 --grid-d 10.0 10.0 --grid-text-size 14 --add-colorbar --colorbar-text-color \"black\" --colorbar-title \"FY4A Band 13 Clean Windown Brightness Temperature (K)\" --colorbar-tick-marks 20 --colorbar-min 330 --colorbar-max 160 --colorbar-text-size 16 --colorbar-height 36 --colorbar-align bottom FY-4A_AGRI_C13_20221009_050004_Haikou.tif\n\n$GEO2GRID_HOME\/bin\/add_coastlines.sh --add-coastlines --coastlines-resolution f --coastlines-level 5 --add-grid --grid-D 10.0 10.0 --grid-d 10.0 10.0 --grid-text-size 14 --add-colorbar --colorbar-text-color \"black\" --colorbar-title \"AMI Band 13 Clean Windown Brightness Temperature (K)\" --colorbar-tick-marks 20 --colorbar-min 330 --colorbar-max 160 --colorbar-text-size 16 --colorbar-height 36 --colorbar-align bottom GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_Haikou.tif\n\n$GEO2GRID_HOME\/bin\/add_coastlines.sh --add-coastlines --coastlines-resolution f --coastlines-level 5 --add-grid --grid-D 10.0 10.0 --grid-d 10.0 10.0 --grid-text-size 14 --add-colorbar --colorbar-text-color \"black\" --colorbar-title \"AHI Band 13 Clean Windown Brightness Temperature (K)\" --colorbar-tick-marks 20 --colorbar-min 330 --colorbar-max 160 --colorbar-text-size 16 --colorbar-height 36 --colorbar-align bottom HIMAWARI-8_AHI_B13_20221009_050000_Haikou.tif\n#  The following commands are ImageMagick\/Magick annotation commands\nconvert GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_Haikou.png -gravity Northwest -fill yellow -pointsize 16 -annotate +12+16 \"GEOKOMPSAT-2A Clean Window (10.3 um) 0500 UTC 9 October 2022\"  GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_HaikouT.png\n\nconvert GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_HaikouT.png CIMSS_logo_web_multicolor_PNG_138x100.png -gravity northwest -geometry +30+30 -composite GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_HaikouTL.png\n\nconvert HIMAWARI-8_AHI_B13_20221009_050000_Haikou.png     -gravity Northwest -fill yellow -pointsize 16 -annotate +12+16 \"Himawari-8 Clean Window (10.3 um) 0500 UTC 9 October 2022\"  HIMAWARI-8_AHI_B13_20221009_050000_HaikouT.png\n\nconvert HIMAWARI-8_AHI_B13_20221009_050000_HaikouT.png CIMSS_logo_web_multicolor_PNG_138x100.png -gravity northwest -geometry +30+30 -composite HIMAWARI-8_AHI_B13_20221009_050000_HaikouTL.png\n\nconvert FY-4A_AGRI_C13_20221009_050004_Haikou.png         -gravity Northwest -fill yellow -pointsize 16 -annotate +12+16 \"FY4A Clean Window (10.8 um) 0500 UTC 9 October 2022\"  FY-4A_AGRI_C13_20221009_050004_HaikouT.png\n\nconvert FY-4A_AGRI_C13_20221009_050004_HaikouT.png      CIMSS_logo_web_multicolor_PNG_138x100.png -gravity northwest -geometry +30+30 -composite FY-4A_AGRI_C13_20221009_050004_HaikouTL.png\n\nconvert -delay 200 -adjoin -loop 0 HIMAWARI-8_AHI_B13_20221009_050000_HaikouTL.png GEO-KOMPSAT-2A_AMI_IR105_20221009_050031_HaikouTL.png FY-4A_AGRI_C13_20221009_050004_HaikouTL.png AMI_AHI_AGRI_CleanWindow_20221009_050004_Haikouanim.gif<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Note:  When I downloaded the FY4A data this time, I downloaded <strong>all<\/strong> FY4A data from 0500 UTC, <strong><em>including the 4-km data<\/em><\/strong>.  When you do this, geo2grid is able to the atmospheric correction (as opposed to what occurred with <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/49172\">this blog post<\/a>).  Also: there is a separate reader (agri_fy4b_l1) for AGRI data from FY4B!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As noted in this blog post, version 1.1 of geo2grid (available here!) includes support for reading AHI, AMI and AGRI data (in addition to ABI data) from JMA&#8216;s Himawari-8 (and -9), KMA&#8216;s GEOKOMPSAT-2 and CMA&#8216;s FY4A (and FY4B), respectively. These multispectral imagers are similar &#8212; but not identical &#8212; as shown at the WMO OSCAR [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":49223,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[75,82,62,109,39],"tags":[],"class_list":["post-49213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fy-4a","category-gk2a","category-himawari-8","category-software","category-training"],"acf":[],"_links":{"self":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/49213","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=49213"}],"version-history":[{"count":15,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/49213\/revisions"}],"predecessor-version":[{"id":49296,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/49213\/revisions\/49296"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media\/49223"}],"wp:attachment":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media?parent=49213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/categories?post=49213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/tags?post=49213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}