{"id":85,"date":"2017-11-09T18:01:38","date_gmt":"2017-11-09T18:01:38","guid":{"rendered":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/?page_id=85"},"modified":"2018-06-21T16:05:07","modified_gmt":"2018-06-21T15:05:07","slug":"jules4-7-animations","status":"publish","type":"page","link":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/","title":{"rendered":"JULES 4.7 Northern Hemisphere Animations"},"content":{"rendered":"<p><b>Sample JULES4.7 Northern Hemisphere Land Surface Processes Simulation <\/b><br \/>\n(by <a href=\"http:\/\/www.met.reading.ac.uk\/userpages\/gn916173.php\" target=\"_blank\" rel=\"noopener\">Patrick McGuire<\/a>, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)<\/p>\n<ul>\n<li><a href=\"http:\/\/www.personal.reading.ac.uk\/~gn916173\/precip_1979_1989.gif\">Monthly Average Precipitation, used as one of the WFDEI driving factors<\/a><\/li>\n<li><a href=\"http:\/\/www.personal.reading.ac.uk\/~gn916173\/smc_avail_tot_1979_1989.gif\">Monthly Average Total Soil Moisture, one of the outputs of the JULES simulation<\/a><\/li>\n<li><a href=\"http:\/\/www.personal.reading.ac.uk\/~gn916173\/npp_1979_1989_v2.gif\">Monthly Average Net Primary Production (NPP), one of the outputs of the JULES simulation<\/a><\/li>\n<\/ul>\n<p>These animations were produced from the Rose\/Cylc suite <a href=\"https:\/\/code.metoffice.gov.uk\/trac\/roses-u\/browser\/a\/r\/4\/2\/8\/\">u-ar428<\/a> with JULES4.9 (with 0.5 hour time steps) that dumped the data to disk every 6 hours of simulation calendar time, by using:<br \/>\ni) a CSH script (see below) that uses CDO to do the monthly averaging for the 11 year data set, which creates a new NETCDF file;<br \/>\nii) the interactive software, Panoply (version 4.8.5), that uses the new monthly-averages NETCDF file and saves the PNG animation frames to disk (the MP4 export option didn&#8217;t work); and<br \/>\niii) this ImageMagick command to merge the PNG frames into an animated GIF:<br \/>\n<i>convert -set delay 0 -colors 256 -dispose 1 -loop 1 precip*.png precip_1979_1989.gif <\/i><\/p>\n<p><b>CSH monthly-averaging script:<\/b><br \/>\n<i>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n#! \/bin\/csh<br \/>\nset prefix=&#8217;Euro44_bvv_nancil_CTL-BCJ-NH_jules-vn4.7_u-ar428globeC.6-hourly.&#8217;<br \/>\nset prefix2=&#8217;Euro44_bvv_nancil_CTL-BCJ_jules-vn4.7_u-ar428globeC_monmean_&#8217;<br \/>\n<\/i><\/p>\n<p><i>foreach yr (1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989)<br \/>\ncdo monmean ${prefix}${yr}.nc ${prefix2}${yr}.nc<br \/>\nend<br \/>\n<\/i><\/p>\n<p><i>cdo mergetime ${prefix2}1979.nc ${prefix2}1980.nc ${prefix2}1981.nc ${prefix2}1982.nc ${prefix2}1983.nc ${prefix2}1979_1983.nc<\/i><\/p>\n<p><i>cdo mergetime ${prefix2}1984.nc ${prefix2}1985.nc ${prefix2}1986.nc ${prefix2}1987.nc ${prefix2}1988.nc ${prefix2}1984_1988.nc<\/i><\/p>\n<p><i>cdo mergetime ${prefix2}1979_1983.nc ${prefix2}1984_1988.nc ${prefix2}1989.nc ${prefix2}1979_1989.nc<\/i><\/p>\n<p><i>exit<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n<\/i><\/p>\n<p><i><\/i><b>Contact Info:<\/b><\/p>\n<p>Email: <a href=\"mailto:P.McGuire@reading.ac.uk\">P.McGuire@reading.ac.uk <\/a><br \/>\nAddress:<br \/>\n<a href=\"http:\/\/www.reading.ac.uk\/met\/\">Department of Meteorology<\/a>, and<br \/>\n<a href=\"http:\/\/www.reading.ac.uk\/ges\/\">Department of Geography and Environmental Sciences<\/a><br \/>\n<a href=\"http:\/\/www.reading.ac.uk\/\">University of Reading<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sample JULES4.7 Northern Hemisphere Land Surface Processes Simulation   (by Patrick McGuire, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)      Monthly Average Precipitation, used as one of the WFDEI driving factors    Monthly Average Total Soil Moisture, one of the outputs of the JULES<\/p>\n","protected":false},"author":12,"featured_media":0,"parent":78,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"__cvm_playback_settings":[],"__cvm_video_id":"","footnotes":""},"class_list":["post-85","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JULES 4.7 Northern Hemisphere Animations - Land Surface Processes Group<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JULES 4.7 Northern Hemisphere Animations - Land Surface Processes Group\" \/>\n<meta property=\"og:description\" content=\"Sample JULES4.7 Northern Hemisphere Land Surface Processes Simulation  (by Patrick McGuire, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)   Monthly Average Precipitation, used as one of the WFDEI driving factors  Monthly Average Total Soil Moisture, one of the outputs of the JULES\" \/>\n<meta property=\"og:url\" content=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/\" \/>\n<meta property=\"og:site_name\" content=\"Land Surface Processes Group\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-21T15:05:07+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/\",\"url\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/\",\"name\":\"JULES 4.7 Northern Hemisphere Animations - Land Surface Processes Group\",\"isPartOf\":{\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/#website\"},\"datePublished\":\"2017-11-09T18:01:38+00:00\",\"dateModified\":\"2018-06-21T15:05:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running JULES\",\"item\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JULES 4.7 Northern Hemisphere Animations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/#website\",\"url\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/\",\"name\":\"Land Surface Processes Group\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JULES 4.7 Northern Hemisphere Animations - Land Surface Processes Group","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/","og_locale":"en_GB","og_type":"article","og_title":"JULES 4.7 Northern Hemisphere Animations - Land Surface Processes Group","og_description":"Sample JULES4.7 Northern Hemisphere Land Surface Processes Simulation  (by Patrick McGuire, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)   Monthly Average Precipitation, used as one of the WFDEI driving factors  Monthly Average Total Soil Moisture, one of the outputs of the JULES","og_url":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/","og_site_name":"Land Surface Processes Group","article_modified_time":"2018-06-21T15:05:07+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/","url":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/","name":"JULES 4.7 Northern Hemisphere Animations - Land Surface Processes Group","isPartOf":{"@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/#website"},"datePublished":"2017-11-09T18:01:38+00:00","dateModified":"2018-06-21T15:05:07+00:00","breadcrumb":{"@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules4-7-animations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/"},{"@type":"ListItem","position":2,"name":"Running JULES","item":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/"},{"@type":"ListItem","position":3,"name":"JULES 4.7 Northern Hemisphere Animations"}]},{"@type":"WebSite","@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/#website","url":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/","name":"Land Surface Processes Group","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":9,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/85\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/85\/revisions\/986"}],"up":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/78"}],"wp:attachment":[{"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/media?parent=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}