Select to view content in your preferred language

Voxel layer doesn't show even though all coordinate systems match

1767
16
07-31-2023 01:03 PM
zdgra
by
New Contributor III

I created a NetCDF file and then added it as a multidimensional voxel layer to ArcGIS Pro. I then got this warning:

Voxel layer can only be drawn in local scenes with the same coordinate system as the voxel layer. Change the scene to a local scene and the coordinate system of the scene to match the voxel layer.

Looking at the scene's Map Properties > Coordinate Systems, I found that my voxel layer used the WGS 1984 coordinate system while the World Topographic Map and WorldElevation3D/Terrain3D layers used the WGS 1984 Web Mercator (auxiliary sphere) coordinate system.

 

voxel-layer-not-drawing.png

 

However, I'm still getting the same warning about the coordinate systems not matching. I've also tried changing the Z coordinate system to both None and WGS 1984, to no effect. I've also restarted ArcGIS Pro, to no effect.

Here's the spatial reference for my voxel layer, in case it helps:

voxel-layer-spatial-reference.png

 

What should I do?

16 Replies
Andrew--Johnson
Esri Regular Contributor

From what I can tell is the size of this is a lot smaller than the other dataset and when the dataset gets below 33 x 33 it doesn't render well in a 3D scene. I can have our dev debug but it may take some time to get back to you on this one.

Longitude = 31;
Latitude = 21;
StdPressureLev = 5;

 

thanks,

Andrew

 

 

0 Kudos
zdgra
by
New Contributor III

I see. I had shortened the region because I was worried that too big of one would overload my system. When you say 33x33, are you referring to the longitude and latitude, respectively?

0 Kudos
Andrew--Johnson
Esri Regular Contributor

Yes, that's correct

0 Kudos
zdgra
by
New Contributor III

Gotcha. I widened my region to be 64x100 and ran it through the regularize_z.py script. This time, however, when I added the output file as a multidimensional voxel layer in ArcGIS Pro, I get the warning

Warning : Dimension 'StdPressureLev' could not be associated with x,y,z or time quantities. Variable(s) using this dimension will be ignored.

And my CO_VMR_A variable isn't shown for selection. What have I done wrong?

The file in the root folder is the original input into the script, and the file in the Regularized folder is the output of the script. I added that file directly into Add Multidimensional Voxel Layer, and got the above error.

0 Kudos
zdgra
by
New Contributor III

@Andrew--JohnsonI was able to get it work. How? I just had to change it from a .nc4 file to a .nc file. Can you believe it?

0 Kudos
Andrew--Johnson
Esri Regular Contributor

That's good to hear! From my testing, StdPressureLev was missing a required positive attribute so once I added that it drew.

-Andrew

0 Kudos
zdgra
by
New Contributor III

I see now. I had input the wrong file. The file I handled with my own code did have the required 'positive' attribute, while the one I sent you didn't.

I was able to get it working! You've helped me tremendously. Thank you so much, Andrew! It's been a pleasure.