{"id":966,"date":"2018-01-16T18:46:05","date_gmt":"2018-01-16T18:46:05","guid":{"rendered":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/?page_id=966"},"modified":"2025-02-24T18:54:20","modified_gmt":"2025-02-24T18:54:20","slug":"north-america-subset","status":"publish","type":"page","link":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/","title":{"rendered":"North America subset"},"content":{"rendered":"<p><b>Sample JULES4.9 <i>Global<\/i> Land Surface Processes Simulation (<em>North America<\/em><i>\u00a0subset<\/i>) <\/b><br \/>\n(by <a href=\"http:\/\/www.met.reading.ac.uk\/userpages\/gn916173.php\">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\/smc_NAmerica1979-2012.gif\">Monthly Average Total Soil Moisture (1979-1989), one of the outputs of the JULES simulation<\/a><\/li>\n<li><a href=\"http:\/\/www.personal.reading.ac.uk\/~gn916173\/smc_anom_NAmerica1979-2012.gif\">Anomaly of Monthly Average Total Soil Moisture (1979-2012), computed from the JULES output with CDO (MP4 version)<\/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\/s\/0\/5\/2\/\">u-as052<\/a> with JULES4.9 (with 0.5 hour time steps) that dumped the data to disk every 6 hours of simulation calendar time (with the 2D variables saved as 1D with an ocean mask) , by using:<br \/>\ni) a <a href=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/code-samples\/monthly-averaging-script\" target=\"_blank\" rel=\"noopener\">CSH script<\/a> that uses CDO to do the monthly averaging for the 11 year (or 34 year) data set, which creates a new NETCDF file;<br \/>\nii) a Python script (i.e., for <a href=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/code-samples\/smc_1d-2d_1979-2012_namerica-py\/\" target=\"_blank\" rel=\"noopener\">soil moisture<\/a>\u00a0or\u00a0<a href=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/code-samples\/smc_anom_6levels_namerica-py\/\" target=\"_blank\" rel=\"noopener\">anomaly of soil moisture<\/a>), that uses the new monthly-averages 1D NETCDF file and saves the PNG animation frames to disk (These Python scripts were adapted\u00a0from Emma Robinson&#8217;s data visualization script); 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_NAmerica1979-1989.gif<br \/>\n<\/i>iv) this ffmpeg command to convert the animated gif to an MP4:<i><br \/>\n<\/i><em>~\/ffmpeg\/bin\/ffmpeg -i smc_anom_NAmerica1979-2012_v2.gif -movflags faststart -pix_fmt yuv420p -vf &#8220;scale=trunc(iw\/2)*2:trunc(ih\/2)*2&#8221; smc_anom_NAmerica1979-2012_v2.mp4<br \/>\n<\/em>v) for the animation of the anomaly of soil moisture, this <a href=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/code-samples\/anomaly_1979_2012-scr\/\" target=\"_blank\" rel=\"noopener\">CSH script<\/a> was used to compute the anomaly with CDO operators.<\/p>\n<p>Compare these North America animations to our previous <a href=\"http:\/\/www.personal.reading.ac.uk\/~gn916173\/julesGL1979-1989.html\">global animations<\/a>. These North America animations are a subset of the global animations.<i><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 &amp; 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.9 Global Land Surface Processes Simulation (North America\u00a0subset)   (by Patrick McGuire, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)      Monthly Average Total Soil Moisture (1979-1989), one of the outputs of the JULES simulation    Anomaly of Monthly Average Total Soil Moisture (1979-2012),<\/p>\n","protected":false},"author":12,"featured_media":0,"parent":95,"menu_order":0,"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-966","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>North America subset - 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\/jules-4-9-animations\/north-america-subset\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"North America subset - Land Surface Processes Group\" \/>\n<meta property=\"og:description\" content=\"Sample JULES4.9 Global Land Surface Processes Simulation (North America\u00a0subset)  (by Patrick McGuire, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)   Monthly Average Total Soil Moisture (1979-1989), one of the outputs of the JULES simulation  Anomaly of Monthly Average Total Soil Moisture (1979-2012),\" \/>\n<meta property=\"og:url\" content=\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/\" \/>\n<meta property=\"og:site_name\" content=\"Land Surface Processes Group\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-24T18:54:20+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\/jules-4-9-animations\/north-america-subset\/\",\"url\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/\",\"name\":\"North America subset - Land Surface Processes Group\",\"isPartOf\":{\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/#website\"},\"datePublished\":\"2018-01-16T18:46:05+00:00\",\"dateModified\":\"2025-02-24T18:54:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/#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.9 Global Animations\",\"item\":\"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"North America subset\"}]},{\"@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":"North America subset - 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\/jules-4-9-animations\/north-america-subset\/","og_locale":"en_GB","og_type":"article","og_title":"North America subset - Land Surface Processes Group","og_description":"Sample JULES4.9 Global Land Surface Processes Simulation (North America\u00a0subset)  (by Patrick McGuire, Pier Luigi Vidale, Alberto Martinez de la Torre and Grenville Lister)   Monthly Average Total Soil Moisture (1979-1989), one of the outputs of the JULES simulation  Anomaly of Monthly Average Total Soil Moisture (1979-2012),","og_url":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/","og_site_name":"Land Surface Processes Group","article_modified_time":"2025-02-24T18:54:20+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\/jules-4-9-animations\/north-america-subset\/","url":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/","name":"North America subset - Land Surface Processes Group","isPartOf":{"@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/#website"},"datePublished":"2018-01-16T18:46:05+00:00","dateModified":"2025-02-24T18:54:20+00:00","breadcrumb":{"@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/north-america-subset\/#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.9 Global Animations","item":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/software-examples\/jules-4-9-animations\/"},{"@type":"ListItem","position":4,"name":"North America subset"}]},{"@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\/966","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=966"}],"version-history":[{"count":10,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/966\/revisions"}],"predecessor-version":[{"id":1851,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/966\/revisions\/1851"}],"up":[{"embeddable":true,"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/pages\/95"}],"wp:attachment":[{"href":"https:\/\/research.reading.ac.uk\/landsurfaceprocesses\/wp-json\/wp\/v2\/media?parent=966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}