<?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 How to represent EASE Grid North in CF-netCDF in Coordinate Reference Systems Questions</title>
    <link>https://community.esri.com/t5/coordinate-reference-systems-questions/how-to-represent-ease-grid-north-in-cf-netcdf/m-p/812097#M903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to represent netCDF data in NSIDC EASE Grid North using CF conventions such that ArcGIS shows the data in the place on a map.&amp;nbsp; I figured I'd generate such a file with ArcGIS to see how it defines the coordinate system in netCDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test, I took point data in NSIDC EASE Grid North, which I believe is EPSG:3408.&amp;nbsp; I interpolated to raster and converted to netCDF.&amp;nbsp; I've attached the result as from_arc_grid.nc, and the text version as from_arc_grid.cdl.&amp;nbsp; When I use Make NetCDF Raster Layer on that netCDF file, it lines up with the points perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I notice the grid mapping variable is fairly light:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int lambert_azimuthal_equal_area(lambert_azimuthal_equal_area);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:grid_mapping_name = "lambert_azimuthal_equal_area";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:longitude_of_projection_origin = 0.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:latitude_of_projection_origin = 90.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:false_easting = 0.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:false_northing = 0.0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in my data variable, fake_var, there is an esri_pe_string attribute that has additional coordinate system details.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fake_var:esri_pe_string = "PROJCS[\"NSIDC_EASE_Grid_North\",GEOGCS[\"GCS_Sphere_International_1924_Authalic\",DATUM[\"D_Sphere_International_1924_Authalic\",SPHEROID[\"Sphere_International_1924_Authalic\",6371228.0,0.0]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Azimuthal_Equal_Area\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"Latitude_Of_Origin\",90.0],UNIT[\"Meter\",1.0]]";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to do is drop the esri_pe_string attribute, and add attributes to the grid mapping variable to fully define the coordinate system, using just the CF conventions with no Esri magic. I tried this using attributes defined in CF (test.nc and test.cdl), and I also tried using a WKT string which is what the esri_pe_string appears to be (test_wkt.nc and test_wkt.cdl). I got the WKT string straight from the EPSG website for 3408. When I do this and bring the fake_var variable in as a raster layer, the coordinate system is undefined.&amp;nbsp; The grid does line up perfectly with the original data and with from_arc_grid.nc as long as the data frame's coordinate system is EASE Grid North. However, for other projections, my test grids wind up in the wrong place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I also tried by just copying the esri_pe_string value to the crs_wkt attribute but got the same results as when using the EPSG:3408 string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2020 17:27:47 GMT</pubDate>
    <dc:creator>TimWhiteaker</dc:creator>
    <dc:date>2020-01-09T17:27:47Z</dc:date>
    <item>
      <title>How to represent EASE Grid North in CF-netCDF</title>
      <link>https://community.esri.com/t5/coordinate-reference-systems-questions/how-to-represent-ease-grid-north-in-cf-netcdf/m-p/812097#M903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to represent netCDF data in NSIDC EASE Grid North using CF conventions such that ArcGIS shows the data in the place on a map.&amp;nbsp; I figured I'd generate such a file with ArcGIS to see how it defines the coordinate system in netCDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test, I took point data in NSIDC EASE Grid North, which I believe is EPSG:3408.&amp;nbsp; I interpolated to raster and converted to netCDF.&amp;nbsp; I've attached the result as from_arc_grid.nc, and the text version as from_arc_grid.cdl.&amp;nbsp; When I use Make NetCDF Raster Layer on that netCDF file, it lines up with the points perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I notice the grid mapping variable is fairly light:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int lambert_azimuthal_equal_area(lambert_azimuthal_equal_area);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:grid_mapping_name = "lambert_azimuthal_equal_area";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:longitude_of_projection_origin = 0.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:latitude_of_projection_origin = 90.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:false_easting = 0.0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lambert_azimuthal_equal_area:false_northing = 0.0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in my data variable, fake_var, there is an esri_pe_string attribute that has additional coordinate system details.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fake_var:esri_pe_string = "PROJCS[\"NSIDC_EASE_Grid_North\",GEOGCS[\"GCS_Sphere_International_1924_Authalic\",DATUM[\"D_Sphere_International_1924_Authalic\",SPHEROID[\"Sphere_International_1924_Authalic\",6371228.0,0.0]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Azimuthal_Equal_Area\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"Latitude_Of_Origin\",90.0],UNIT[\"Meter\",1.0]]";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to do is drop the esri_pe_string attribute, and add attributes to the grid mapping variable to fully define the coordinate system, using just the CF conventions with no Esri magic. I tried this using attributes defined in CF (test.nc and test.cdl), and I also tried using a WKT string which is what the esri_pe_string appears to be (test_wkt.nc and test_wkt.cdl). I got the WKT string straight from the EPSG website for 3408. When I do this and bring the fake_var variable in as a raster layer, the coordinate system is undefined.&amp;nbsp; The grid does line up perfectly with the original data and with from_arc_grid.nc as long as the data frame's coordinate system is EASE Grid North. However, for other projections, my test grids wind up in the wrong place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I also tried by just copying the esri_pe_string value to the crs_wkt attribute but got the same results as when using the EPSG:3408 string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 17:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/coordinate-reference-systems-questions/how-to-represent-ease-grid-north-in-cf-netcdf/m-p/812097#M903</guid>
      <dc:creator>TimWhiteaker</dc:creator>
      <dc:date>2020-01-09T17:27:47Z</dc:date>
    </item>
  </channel>
</rss>

