Question about initial salinity/temperature file in POP2

sunweihao

19970130SWh
Member
Dear scientists,
for my research need, I have to modify the initial salinity/temperature file used in POP2. The model is CESM2 and compsets is B1850. Resolution of the POP2 is gx1v7.

I need to change salinity and temperature in some areas in the initial condition files, which name is "ts_WOA13v2_jan_ic_gx1v7_20170706.ieeer8"
That is a binary file, I used python to read this file and got an array of size 29491200. But I don't know how the data is arranged in this file.

Can someone help me and tell me the structure of this file?

Thank you!
 

sunweihao

19970130SWh
Member
The information I have is POP's vertical shape 60, zonal grid numbers of 320, meridional grid numbers of 384. But as I reported above, I do not know how these dimensions arranged in this file
 

sunweihao

19970130SWh
Member
Hello, how do you solve this problem? Can you give me some advice? Thanks!
well, the mistake I made in the process is that when I read the binary array, I set the wrong data type.
The data type in the file is double, but I set single. So I got the double size array
 
Back
Top