{"id":372,"date":"2016-10-03T11:45:04","date_gmt":"2016-10-03T11:45:04","guid":{"rendered":"http:\/\/www.stratadata.co.uk\/blog\/?p=372"},"modified":"2017-11-02T18:39:02","modified_gmt":"2017-11-02T18:39:02","slug":"addingnewzonesfromachart","status":"publish","type":"post","link":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/2016\/10\/03\/addingnewzonesfromachart\/","title":{"rendered":"Adding new zones from a chart"},"content":{"rendered":"<p>We try to make it as easy and &#8216;safe&#8217; as possible for you to explore StrataBugs without inadvertantly corrupting your data. That&#8217;s why we always ask you to confirm before deleting something. Last week we were clicking about in this way (exploring), trying to think through an idea, when we stumbled upon a feature that we&#8217;d completely forgotten was there.<\/p>\n<p>A helpful user had made a great suggestion. In their own words:<\/p>\n<blockquote><p>Being able to add interpretations (e.g. chronostrat) via the charts in the Samples &amp; Interpretations module would be a very useful addition, rather than having to keep switching tabs back and forth.<\/p><\/blockquote>\n<p>The thought process on our side goes something like this: Well, yes, that would be good! How would that work? Double-click somewhere? There&#8217;s already some double-click action in the zones panel <em>(*try double-clicking in a zones panel*)<\/em> &#8211; you can edit existing zones by double-clicking on them. So, maybe double-click where there isn&#8217;t a zone? <em>(*double-click where there&#8217;s no zone*)<\/em> Hey, look, it brings up the interval dialog! So we already implemented this! <em>(*try the same on another panel*)<\/em> Oh dear, doesn&#8217;t seem to work in this panel, why&#8217;s that?<\/p>\n<p>There are, literally, millions of lines of code in StrataBugs. It&#8217;s not surprising that we forget about some of them.<br \/>\n<!--more--><\/p>\n<p>Having examined that code there are a few constraints to this neat feature, which may make it appear (to the untrained or just forgetful eye) that it doesn&#8217;t work all of the time. It does in fact work pretty well in the circumstances where you&#8217;d need it. <strong>To add a new interval you can double-click in the column above or below the existing intervals.<\/strong> The &#8216;add interval&#8217; dialog will appear if:<\/p>\n<ol>\n<li>You clicked entirely above (or below) the existing data;<\/li>\n<li>There is an analysis above (or below) the existing data (and in the appropriate discipline if you&#8217;re in a biozone column), whose sample will be selected for you as the top and base of the new interval;<\/li>\n<li>There is a unit in the scheme which is younger (or older) than the highest (or lowest) one you have picked in your section, in a hierarchy level included in the column you clicked in. This unit will be automatically selected. Of course, this won&#8217;t work if you haven&#8217;t invested any effort into putting ages on your scheme unit boundaries, as it will not know the relationship between the scheme&#8217;s units.<\/li>\n<\/ol>\n<figure id=\"attachment_382\" aria-describedby=\"caption-attachment-382\" style=\"width: 471px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-382 size-full\" src=\"https:\/\/www.stratadata.co.uk\/blog\/wp-content\/uploads\/2016\/10\/newzones.jpg\" alt=\"example\" width=\"471\" height=\"473\" srcset=\"https:\/\/www.stratadata.co.uk\/blog\/wp-content\/uploads\/2016\/10\/newzones.jpg 471w, https:\/\/www.stratadata.co.uk\/blog\/wp-content\/uploads\/2016\/10\/newzones-150x150.jpg 150w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><figcaption id=\"caption-attachment-382\" class=\"wp-caption-text\">Double-clicking in the suggested spot will auto-select the next relevant analysed sample (1768.3m CO) and the next youngest unit (MOP4).<\/figcaption><\/figure>\n<p>So there you have it. Thanks to our friends at CGG for the suggestion &#8211; remember folks, if you don&#8217;t ask, you don&#8217;t get!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We try to make it as easy and &#8216;safe&#8217; as possible for you to explore StrataBugs without inadvertantly corrupting your data. That&#8217;s why we always ask you to confirm before deleting something. Last week we were clicking about in this way (exploring), trying to think through an idea, when we stumbled upon a feature that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[35,20],"class_list":["post-372","post","type-post","status-publish","format-standard","hentry","category-charts","tag-interactivity","tag-intervals"],"_links":{"self":[{"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":14,"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/372\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stratadata.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}