Hi Ryo,
As you suggested, I tried to understand the bound/edges
attribute from the documentation.
Now, as a test case i tried to create a new axis with the
following script
let bounds={0.5,1.5, 1.5,2.5, 2.5,3.5, 3.5,4.5, 4.5,5.5,
5.5,6.5, 6.5,7.5, 7.5,8.5, 8.5,9.5, 9.5,11}
let zaxlev= {1,2,3,4,5,6,7,8,9,10}
DEFINE AXIS/Z/UNITS=meters/DEPTH/BOUNDS zaxis = zaxlev,bounds
LIST/PRECISION=6
ZBOXLO[GZ=zaxis],ZBOXHI[GZ=zaxis],Z[GZ=zaxis],zbox[gz=zaxis]
DEPTH (m): 0.5 to 11
Column 1: ZBOXLO is ZBOXLO (axis ZAXIS)
Column 2: ZBOXHI is ZBOXHI (axis ZAXIS)
Column 3: Z is Z (axis ZAXIS)
Column 4: ZBOX is ZBOX (axis ZAXIS)
ZBOXLO ZBOXHI Z ZBOX
1 / 1: 0.50000 1.5000 1.0000 1.00000
2 / 2: 1.50000 2.5000 2.0000 1.00000
3 / 3: 2.50000 3.5000 3.0000 1.00000
4 / 4: 3.50000 4.5000 4.0000 1.00000
5 / 5: 4.50000 5.5000 5.0000 1.00000
6 / 6: 5.50000 6.5000 6.0000 1.00000
7 / 7: 6.50000 7.5000 7.0000 1.00000
8 / 8: 7.50000 8.5000 8.0000 1.00000
9 / 9: 8.50000 9.5000 9.0000 1.00000
10 / 10: 9.50000 11.0000 10.0000 1.50000
The earlier file was downloaded SODA reanalysis model output and
so there was no way to get the bounds information. This depth
axis I want to use for regridding the sigma coordinate model
output to Z-Axis the model has more sigma levels in the upper
few meter. Am I trying in the correct way ? I would be grateful
for any suggestions.