{"id":45091,"date":"2022-03-11T20:43:53","date_gmt":"2022-03-11T20:43:53","guid":{"rendered":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/?p=45091"},"modified":"2022-03-14T05:07:08","modified_gmt":"2022-03-14T05:07:08","slug":"coming-soon-a-geo2grid-update","status":"publish","type":"post","link":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/45091","title":{"rendered":"Coming Soon:  a Geo2Grid update!"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video height=\"640\" style=\"aspect-ratio: 1080 \/ 640;\" width=\"1080\" controls loop muted src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220224_0000_to_20220228_0000_Fujiwhara_anim.mp4\"><\/video><figcaption>Himawari-8 airmass RGB, 0000 UTC 24 February &#8211; 0000 UTC 28 February 2022<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/cimss.ssec.wisc.edu\">CIMSS<\/a> scientists have been working on an update (and improvement) on <a href=\"http:\/\/cimss.ssec.wisc.edu\/csppgeo\/geo2grid_v1.0.0.html\">Geo2Grid software<\/a> (v 1.1) that can be expected within a couple months.  (Beta-testing is ongoing at CIMSS)  The animation above shows the Airmass RGB from Himawari-8 (data courtesy JMA) and the Fujiwhara interaction (also discussed on the CIMSS blog <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/archives\/44841\">here<\/a>) between southern Indian Ocean tropical cyclone Vernon and invest area 93S.  The animation stretches from 0000 UTC on 24 March to 0000 UTC on 28 March.<\/p>\n\n\n\n<p>Because the animation includes data near the limb, the remapping was changed from the default.  That is, the geo2grid invocation includes the following specification: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-g Fujiwhara --grid-configs $GEO2GRID_HOME\/Fujiwhara.yaml --method nearest --radius-of-influence 40000<\/code><\/pre>\n\n\n\n<p>Remapping is done using a nearest-neighbor approach (the default in geo2grid when a non-native projection is used), and points within 40 km (40000 m) are considered.  Note also that the full-disk AHI imagery is reprojected onto a grid named &#8216;Fujiwhara&#8217;; the components required by geo2grid are within the file Fujiwhara.yaml (as created by a call to the p2g_grid_helper.sh script):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/p2g_grid_helper.sh Fujiwhara 88.0 -12.0 2000 2000 1080 640 &gt; $GEO2GRID_HOME\/Fujiwhara.yaml <\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\" \/>\n\n\n\n<p>What was the series of unix-based commands that produced the imagery above?  Those are outlined below in a shell script.  This uses the beta version of geo2grid v1.1;  similar commands will work in v1.0.  Before this shell script can be invoked, the compressed package must be expanded, creating a directory with many sub-directories, such as \/bin, \/share, \/colormaps, \/etc, and so on.  This directory is the GEOGRID_HOME directory, and you can specify it, as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/directory\/where\/geo2gridpkg\/sits\/\nexport GEO2GRID_HOME=$PWD\ncd bin\n#\n# The command below will create a grid (named 'Fujiwhara') \n#   centered at 88 E, 12 S (geo2grid assumes east\/north positive)\n# The grid has 2 km resolution in the x- and y- directions, and\n#   its size is 1080x640 (so it's wider than it is high)\n# Place the multi-line output from p2g_grid_helper.sh in the file\n#   named $GEO2GRID_HOME\/Fujiwhara.yaml\n..\/p2g_grid_helper.sh Fujiwhara 88.0 -12.0 2000 2000 1080 640   &gt; $GEO2GRID_HOME\/Fujiwhara.yaml\n#   \n# Now, call geo2grid, reading (the -r flag) AHI HSD format files\n#   Write out (the -w flag) geotiff files of (the -p flag) the product\n#   airmass RGB.  Regrid (the -g flag) the data to the 'Fujiwhara' \n#   grid defined above, and tell geo2grid where the grid definitions sit\n#   (the --grid-configs filename flag).  Regridding uses nearest-\n#   neighbor (--method nearest) and it looks within 40000 m of each grid\n#   point (--radius-of-influence 40000)  (Note that geo2grid v1.0 did\n#   not include --radius-of-influence!)\n##\n##\n..\/geo2grid.sh -r ahi_hsd -w geotiff -p airmass  -g Fujiwhara --grid-configs $GEO2GRID_HOME\/Fujiwhara.yaml --method nearest --radius-of-influence 40000 -f \/directory\/holding\/Himawari-8\/HSDFILES\/for\/ONE\/time\/only\/*FLDK*.DAT\n#  The command above will create a geotiff file with a name like this:\n#  HIMAWARI-8_AHI_airmass_20220223_0000??_Fujiwhara.tif\n#  The command below adds coastlines (in blue) and lat\/lon line \n#  (--add-grid) colored in the default (cyan).  The output is a \n#  .png\n..\/add_coastlines.sh --add-coastlines --coastlines-resolution h --coastlines-level=5 --coastlines-outline='blue' --add-grid --grid-text-size 8 --grid-D 5.0 5.0 --grid-d 5.0 5.0    HIMAWARI-8_AHI_airmass_20220223_0000??_Fujiwhara.tif\n#  I use ImageMagick commands to annotate the imagery, as shown below\nconvert HIMAWARI-8_AHI_airmass_20220223_0000??_Fujiwhara.png   -gravity Southwest -fill yellow -pointsize 16 -annotate +12+16 \"HIMAWARI-8 AHI airmass RGB 0000 UTC 23 February 2022\"  HIMAWARI-8_AHI_airmass_20220223_0000_Fujiwhara.png\n#  Gotta add a logo too!\nconvert HIMAWARI-8_AHI_airmass_20220223_0000_Fujiwhara.png ~scottl\/smalllogo.png   -gravity northwest -geometry +12+8 -composite HIMAWARI-8_AHI_airmass_20220223_0000_FujiwharaL.png<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\" \/>\n\n\n\n<p><p>How does a change in &#8211;radius-of-influence affect the created image?  If you&#8217;re near the limb, and the radius of influence is too small, data gaps can appear.  The image below compares an image with <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL.png\">radius of influence of 2km<\/a> (the native resolution at the sub-satellite point for infrared imagery) with an image with a <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF40kmL.png\">radius of influence of 40 km<\/a>.<\/p>  A Full-disk image at this time is <a href=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FLDKL.png\">here<\/a> so you can judge how close to the edge this event it.<\/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\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2160\" height=\"640\" src=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR.png\" alt=\"\" class=\"wp-image-45125\" srcset=\"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR.png 2160w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR-300x89.png 300w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR-1024x303.png 1024w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR-768x228.png 768w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR-1536x455.png 1536w, https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-content\/uploads\/sites\/5\/2022\/03\/HIMAWARI-8_AHI_airmass_20220225_0000_FujiwharaROF2kmL40kmR-2048x607.png 2048w\" sizes=\"auto, (max-width: 2160px) 100vw, 2160px\" \/><\/a><figcaption>Himawari-8 airmass RGB at 0000 UTC on 25 February 2022 created with regridding using a radius of influence of 2 km (left) vs. 40 km (right) (Click to enlarge)<\/figcaption><\/figure>\n\n\n\n<p>A non-satellite of the Fujiwhara interaction is shown below.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"500\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Two tropical systems merging via the Fujiwhara effect in the Indian Ocean. <br><br>Tropical Cyclone Vernon &amp; Invest 93S, shown in terms of hourly 700 hPa relative vorticity in ERA5 data.<br><br>Animation made with ParaView, vorticity shown as both color shading and elevation of the surface. <a href=\"https:\/\/t.co\/REHyioXXzB\">pic.twitter.com\/REHyioXXzB<\/a><\/p>&mdash; Dr. Mathew Barlow (@MathewABarlow) <a href=\"https:\/\/twitter.com\/MathewABarlow\/status\/1501917205151244290?ref_src=twsrc%5Etfw\">March 10, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>CIMSS scientists have been working on an update (and improvement) on Geo2Grid software (v 1.1) that can be expected within a couple months. (Beta-testing is ongoing at CIMSS) The animation above shows the Airmass RGB from Himawari-8 (data courtesy JMA) and the Fujiwhara interaction (also discussed on the CIMSS blog here) between southern Indian Ocean [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":45121,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[62,109,39],"tags":[],"class_list":["post-45091","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-himawari-8","category-software","category-training"],"acf":[],"_links":{"self":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/45091","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=45091"}],"version-history":[{"count":10,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/45091\/revisions"}],"predecessor-version":[{"id":45178,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/posts\/45091\/revisions\/45178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media\/45121"}],"wp:attachment":[{"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/media?parent=45091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/categories?post=45091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cimss.ssec.wisc.edu\/satellite-blog\/wp-json\/wp\/v2\/tags?post=45091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}