using jacksboro_fault_dem.npz

Hi, i want to create own matrix and in docs i saw this file: jacksboro_fault_dem.npz i opened it like arhive and in wrote python code and i saw that file elevation.npy is matrix and i saw that dx,dy is cordinates. But I didn`t understood how i can use it and why this files in npz file

What does your “own matrix” mean? Can you post of rough sketch of what you are trying to plot?

matrix is elevation.npy file

Your question is not clear - can you please explain what you are trying to do?

1 Like

i want to create own Custom hillshading in a 3D surface plot and in docs i saw this file: jacksboro_fault_dem.npz. Amd how i can understand this file for data of hillshadings i opened it like arhive and i wrote python code and i saw that file elevation.npy is list if data and i saw that dx,dy is cordinates. But I didn`t understood how i can use it and why this files in npz file

The file is just to supply the data needed for the example. numpy.savez — NumPy v1.24 Manual explains the format. If you have your own data you should use that instead of the npz file.

but i saw that this file have another npy files:

  • dx.npy
  • dy.npy
  • elevation.npy
  • ymin.npy
  • ymax.npy
  • xmin.npy
  • xmax.npy

I know that elevation.npy have list of cords
what files i need to modify to create own highligts?