<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error in Transposed CRF Multidimensional &amp;quot;Sample&amp;quot; Tool Process in ArcGIS Image Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-analyst-questions/error-in-transposed-crf-multidimensional-quot/m-p/1002687#M259</link>
    <description>&lt;P&gt;Hi Tilmann,&lt;/P&gt;&lt;P&gt;Thank you for providing the detail information on the problem. The bug has been reproduced and logged. We will make a fix and release it as soon as possible,&amp;nbsp;please track the status using this number&amp;nbsp; BUG-000135547.&amp;nbsp; The workaround for now: use Make Multidimensional Layer to select one variable and use Sample tool with one variable as a time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 20:22:26 GMT</pubDate>
    <dc:creator>HongXu</dc:creator>
    <dc:date>2020-11-18T20:22:26Z</dc:date>
    <item>
      <title>Error in Transposed CRF Multidimensional "Sample" Tool Process</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/error-in-transposed-crf-multidimensional-quot/m-p/362668#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone else seen erroneous export values from a Multidimensional Transposed CRF raster in which the temporal dimension of parameters has different lengths?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The incorrect export is happening when I use the "Sample" tool in ArcGIS Pro 2.6.2 to run an export of pixel values from a Multidimensional Transposed CRF Raster that contains spatio-temporal raster slices for multiple parameters, with the "Multidimensional" option activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: #080707; background: white;"&gt;&lt;STRONG&gt;When I use the “Sample” tool, with the “Multidimensional” option activated, the export gets confused by the fact that the Mosaic Datasets have different numbers of time steps&lt;/STRONG&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see what happens in the screenshot below, I’ve highlighted the rows where the error occurs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow;"&gt;Column I&lt;STRONG&gt; (SST)&lt;/STRONG&gt; is the dataset for which the timeline has the most time slices – so that gets exported correctly – all the values are unique and differ (as they vary over time). All the other preceding &lt;STRONG&gt;(A-H)&lt;/STRONG&gt; and succeeding &lt;STRONG&gt;(J)&lt;/STRONG&gt; product columns and also the “StdTime” column (K) have repeated values beginning in line 201. The reason for that is that we don’t actually have the timeslices 1/03/2019 0:00 ff. for those parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: yellow;"&gt; It appears that the &lt;SPAN style="text-decoration: underline;"&gt;Multidimensional Export from the Transposed CRF just pads the columns with whatever value is the last available (line 201&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Therefore, if you look at the last 5 values for SST and the adjacent KPAR, SST is exported correctly - and KPAR is just 'filled in' with the last available 'true' raster value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Erroneous Export Values from MD Transposed CRF" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/512984_Scenz_Export_Erroneous_Padded_Values.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To see the thing in action, with a working set of rasters that have equal numbers of time slices, please check this web app under the URL &lt;A href="https://seascoastestuaries.netlify.app/"&gt;https://seascoastestuaries.netlify.app/ - only a maximum of 50 pixels can be exported so please zoom in and chose a tiny area using the GP area drawing tools&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reproducing the Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've made a data &lt;A href="https://niwa.maps.arcgis.com/home/item.html?id=97aba82ae6ac4d6c9bbcf71afb49258b"&gt;package to reproduce what I believe to be an error in the Transposed CRF format:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is what my package contains (in reality my setup is much bigger with thousands of rasters for about 10 different physico-chemical parameters derived from MODIS satellite imagery):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A ‘correct’ Transposed CRF dataset, where two parameters have the same length on the time dimension:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL style="margin-top: 0cm;"&gt;&lt;LI style="margin-left: 0cm;"&gt;I’ve provided rasters for two parameters (CHL, SST), 6 months (timeslices) each – so 12 rasters in total.&lt;/LI&gt;&lt;LI style="margin-left: 0cm;"&gt;I’ve made 2 Mosaic Datasets, 1 CHL Mosaic Dataset and 1 SST MDS.&lt;/LI&gt;&lt;LI style="margin-left: 0cm;"&gt;I’ve also added the contents of the above 2 Mosaic Datasets into an empty “Parent” Mosaic Dataset.&lt;/LI&gt;&lt;LI style="margin-left: 0cm;"&gt;I’ve computed the Multidimensional Info on the Parent Mosaic Dataset using "Build Multidimensional Info".&lt;/LI&gt;&lt;LI style="margin-left: 0cm;"&gt;I’ve converted/exported the above Parent MDS as a Transposed CRF raster, to allow for very fast temporal profile queries (kind of like here &lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/arcgis-pro/imagery/multidimensional-analysis-arcgis-pro/" title="https://www.esri.com/arcgis-blog/products/arcgis-pro/imagery/multidimensional-analysis-arcgis-pro/"&gt;Let’s do data science! Multidimensional analysis in ArcGIS Pro&lt;/A&gt;&amp;nbsp;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A ‘faulty’ Transposed CRF dataset, for comparison, where I’ve used a similar process as above but I’ve made the Sea Surface Temperature (SST) time dimension shorter by just using 3 months for SST (instead of 6 months/slices for CHL/Chlorophyll).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how my tool is built. To improve sampling speed, it uses a point feature class where the points are the center points of a raster cell. The first step in the model allows a user to make a selection of points on the screen - those are the raster cell locations which will sampled:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample Tool Setup" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/512982_SCENZ_processing_tool.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, the export would kind of work like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Export using a Polygon drawn on screen" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/512983_Scenz_Export_tool_use.png" /&gt;&lt;/P&gt;&lt;P&gt;All of that works very well – particularly when the variables have the same length in the StdTime dimension (as they do in the Web Application referenced above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When they have different lengths, the tool erroneously writes values from the ‘adjacent’ Variable column into those columns where the Time Dimension is shorter (See the screenshot from Excel above).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now we’re making sure the the Dimension is always the same length – but that’s hard to enforce in the process we use and we cannot guarantee that in future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Tilmann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4700"&gt;Jian Lange&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migration-blogpost/1568"&gt;Mansour Raad's Blog&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/117779"&gt;Julia Lenhardt&lt;/A&gt;‌, &lt;A href="https://community.esri.com/migrated-users/3527"&gt;Peter Becker&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2020 04:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/error-in-transposed-crf-multidimensional-quot/m-p/362668#M258</guid>
      <dc:creator>TilmannSteinmetz2</dc:creator>
      <dc:date>2020-11-10T04:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Transposed CRF Multidimensional "Sample" Tool Process</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/error-in-transposed-crf-multidimensional-quot/m-p/1002687#M259</link>
      <description>&lt;P&gt;Hi Tilmann,&lt;/P&gt;&lt;P&gt;Thank you for providing the detail information on the problem. The bug has been reproduced and logged. We will make a fix and release it as soon as possible,&amp;nbsp;please track the status using this number&amp;nbsp; BUG-000135547.&amp;nbsp; The workaround for now: use Make Multidimensional Layer to select one variable and use Sample tool with one variable as a time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 20:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/error-in-transposed-crf-multidimensional-quot/m-p/1002687#M259</guid>
      <dc:creator>HongXu</dc:creator>
      <dc:date>2020-11-18T20:22:26Z</dc:date>
    </item>
  </channel>
</rss>

