<?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: How to convert a shapefile to netcdf file in arcgis pro or using arcpy? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220673#M60914</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;thanks for hinting me to that docs page. so now i know that i have to use Table to Netcdf tool. I have exported the table from my shapefile to be used as the input for the tool but i am not sure which fields should be assigned as variables and which should be assigned as dimensions. As far as i understand NetCDF conventions, dimensions should be any physical quantity such as lat, lon or time etc but i dont have any such info in my data. Also how should i store my data's spatial location in netcdf when i dont have lat long field only area fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me any example related to my data as to what should go into dimensions and variables from the fields of my data?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 13:19:42 GMT</pubDate>
    <dc:creator>RehanChaudhary</dc:creator>
    <dc:date>2022-10-11T13:19:42Z</dc:date>
    <item>
      <title>How to convert a shapefile to netcdf file in arcgis pro or using arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220328#M60882</link>
      <description>&lt;P&gt;i have a polygon shapefile which contains an attribute table of 15 or more fields. I want to convert this shapefile to a netcdf file while preserving the data attached with shapefile. is there a way to do that within arcgispro or any other ESRI supported system? i know that in arcgispro i can convert shapefile to raster using polygon to raster tool and then i can convert the raster to netcdf using Raster to netcdf tool but i am not sure if the data remains intact in both these conversions.&amp;nbsp; Any help would be appreciated. i have attached the sample shapefile as well for testing purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 12:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220328#M60882</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2022-10-10T12:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a shapefile to netcdf file in arcgis pro or using arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220489#M60899</link>
      <description>&lt;P&gt;Did you see the netCDF support pages?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/multidimension/an-overview-of-the-netcdf-toolset.htm" target="_blank"&gt;An overview of the NetCDF toolset—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 19:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220489#M60899</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-10-10T19:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a shapefile to netcdf file in arcgis pro or using arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220673#M60914</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;thanks for hinting me to that docs page. so now i know that i have to use Table to Netcdf tool. I have exported the table from my shapefile to be used as the input for the tool but i am not sure which fields should be assigned as variables and which should be assigned as dimensions. As far as i understand NetCDF conventions, dimensions should be any physical quantity such as lat, lon or time etc but i dont have any such info in my data. Also how should i store my data's spatial location in netcdf when i dont have lat long field only area fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me any example related to my data as to what should go into dimensions and variables from the fields of my data?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 13:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1220673#M60914</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2022-10-11T13:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a shapefile to netcdf file in arcgis pro or using arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1221966#M61076</link>
      <description>&lt;P&gt;I was able to convert my polygon shapefile to netcdf using the following procedure but i am not sure if its the correct path because now the "Make netcdf feature Layer" is not accepting the centroid x and centroid y coordinates as x and y variables if i want to bring back the netcdf file i just created as a feature layer in arcgispro for testing my workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Use the tool " Add Geometry Coordinates" to calculate centroid coordinates for each polygon within the attribute table of polygon shapefile.&lt;/P&gt;&lt;P&gt;2) use the Tool "Make XY layer " to create a layer out of the polygon shapefile.&lt;/P&gt;&lt;P&gt;3) use the "Feature to Netcdf" tool to convert the just created point layer to netcdf file and use centroid x and y as dimensions.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 10:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-convert-a-shapefile-to-netcdf-file-in/m-p/1221966#M61076</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2022-10-14T10:32:42Z</dc:date>
    </item>
  </channel>
</rss>

