{"id":49172,"date":"2022-12-12T20:23:03","date_gmt":"2022-12-12T20:23:03","guid":{"rendered":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/?p=49172"},"modified":"2022-12-14T16:27:18","modified_gmt":"2022-12-14T16:27:18","slug":"true-color-imagery-with-fy4a-and-himawari-9-data-using-geo2grid-version-1-1","status":"publish","type":"post","link":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/49172","title":{"rendered":"True-color imagery with FY4A and Himawari-9 data using geo2grid version 1.1"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_HIMAWARI-9_AHI_true_color_20221208_002000_TaiwanToggle.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"720\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_HIMAWARI-9_AHI_true_color_20221208_002000_TaiwanToggle.gif\" alt=\"\" class=\"wp-image-49173\"\/><\/a><figcaption class=\"wp-element-caption\">True Color imagery over Taiwan, ca. 0015 UTC on 8 December 2022 from FY4A (AGRI data) and from Himawari-9 (AHI data) (Click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p>[Added, 14 December:  <a href=\"https:\/\/cimss.ssec.wisc.edu\/csppgeo\/geo2grid_v1.1.0.html\">geo2grid v 1.1 is now available at this link<\/a>!] The true color animation toggle above, over Taiwan, shows True-Color imagery over Taiwan shortly after 0000 UTC on 8 December using FY4A and Himawari-9 data;  readers for data from those satellites are included in version 1.1 of geo2grid.  Data from Himawari-9 (HSD level 1b files) are supplied courtesy of <a href=\"https:\/\/www.jma.go.jp\/jma\/indexe.html\">JMA<\/a>, the Japan Meteorological Agency.  FY4A data from CMA are available <a href=\"http:\/\/data.nsmc.org.cn\/portalsite\/default.aspx\">at this link <\/a>(free registration is required to download the data).  At that site (shown below), you can choose AGRI data from FY4A, and <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_Download_filename.png\">the download link is available on a separate page<\/a> that becomes available after choosing the day and time.  (In the screen capture, the 500-m resolution checked is only Channel 2, whereas the file used for this blog post is the topmost one &#8212; with a size of 355 Mbytes;  this file took some time to download).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"777\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_CMA_FrontPage-1024x777.png\" alt=\"\" class=\"wp-image-49181\" srcset=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_CMA_FrontPage-1024x777.png 1024w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_CMA_FrontPage-300x228.png 300w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_CMA_FrontPage-768x583.png 768w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/12\/FY4A_CMA_FrontPage.png 1410w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Front Page of <a href=\"http:\/\/data.nsmc.org.cn\/portalsite\/default.aspx\">Data Selection portal at CMA<\/a> (Click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p>First, you can user &#8211;list-products to determine what can be created from the hdf file: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$GEO2GRID_HOME\/bin\/geo2grid.sh -r agri_fy4a_l1 -w geotiff --list-products -f \/data-hdd\/AGRI\/FY4A-_AGRI--_N_DISK_1047E_L1-_FDI-_MULT_NOM_20221208001500_20221208002959_1000M_V0001.HDF<\/code><\/pre>\n\n\n\n<p>The output showed the following possibilities:  C01, C02, C03, true_color.  This WMO website ( <a href=\"https:\/\/space.oscar.wmo.int\/instruments\/view\/agri\">https:\/\/space.oscar.wmo.int\/instruments\/view\/agri<\/a> ) shows that C01-C03 on the AGRI instrument correspond to wavelengths of 0.47 \u00b5m, 0.65 \u00b5m and 0.83 \u00b5m.  Two commands are run as shown below; the first one creates a small mapped region (a similar restriction to how much data to process could be achieved using the &#8211;ll-box keyword in geo2grid), the second creates the image over that domain:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$GEO2GRID_HOME\/bin\/\/p2g_grid_helper.sh Taiwan 121.0 24.0 1000 -1000 960 720 &gt; $GEO2GRID_HOME\/Taiwan.yaml\n\n$GEO2GRID_HOME\/bin\/geo2grid.sh -r agri_fy4a_l1 -w geotiff -p true_color --grids Taiwan --grid-configs $GEO2GRID_HOME\/Taiwan.yaml -f \/data-hdd\/AGRI\/FY4A-_AGRI--_N_DISK_1047E_L1-_FDI-_MULT_NOM_20221208001500_20221208002959_1000M_V0001.HDF<\/code><\/pre>\n\n\n\n<p>The geo2grid.sh invocation here does not have access to all the information that is needed, and the output notes that solar zenith angle correction in the true color will not occur.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>INFO     : Sorting and reading input files...\nINFO     : Loading product metadata from files...\nWARNING  : Required file type 'agri_l1_4000m_geo' not found or loaded for 'satellite_azimuth_angle'\nWARNING  : Required file type 'agri_l1_4000m_geo' not found or loaded for 'solar_zenith_angle'\nWARNING  : Required file type 'agri_l1_4000m_geo' not found or loaded for 'solar_azimuth_angle'\nWARNING  : Required file type 'agri_l1_4000m_geo' not found or loaded for 'satellite_zenith_angle'\nINFO     : Checking products for sufficient output grid coverage (grid: 'Taiwan')...\nINFO     : Resampling to 'Taiwan' using 'nearest' resampling...\nINFO     : Computing products and saving data to writers...\nINFO     : SUCCESS<\/code><\/pre>\n\n\n\n<p>The invocation of geo2grid to read the Himawari data (that does include information for the solar zenith angle correction) and the output from that call is shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$GEO2GRID_HOME\/bin\/geo2grid.sh -r ahi_hsd -w geotiff -p true_color --grids Taiwan --grid-configs $GEO2GRID_HOME\/Taiwan.yaml -f \/path\/to\/data\/himawari09\/2022\/2022_12_08_342\/0020\/*FLDK*.DAT\nINFO     : Sorting and reading input files...\nINFO     : Loading product metadata from files...\nINFO     : Checking products for sufficient output grid coverage (grid: 'Taiwan')...\nINFO     : Resampling to 'Taiwan' using 'nearest' resampling...\nINFO     : Computing products and saving data to writers...\nINFO     : SUCCESS<\/code><\/pre>\n\n\n\n<p>You will note a slight shift in the imagery in the toggle above, suggesting different navigations for the two satellites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Added, 14 December: geo2grid v 1.1 is now available at this link!] The true color animation toggle above, over Taiwan, shows True-Color imagery over Taiwan shortly after 0000 UTC on 8 December using FY4A and Himawari-9 data; readers for data from those satellites are included in version 1.1 of geo2grid. Data from Himawari-9 (HSD level [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":49187,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[75,73,109,39],"tags":[],"class_list":["post-49172","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fy-4a","category-himawari-9","category-software","category-training"],"acf":[],"_links":{"self":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/49172","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=49172"}],"version-history":[{"count":7,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/49172\/revisions"}],"predecessor-version":[{"id":49230,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/49172\/revisions\/49230"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media\/49187"}],"wp:attachment":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media?parent=49172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/categories?post=49172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/tags?post=49172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}