nc to ab

55 views
Skip to first unread message

Kate Lai

unread,
May 28, 2024, 8:18:35 AMMay 28
to fo...@hycom.org
Is there script to convert nc file in hycom native hybrid layers (not z level) to archv file?

Thank you very much for help. 

Alan Wallcraft

unread,
May 31, 2024, 8:20:05 AMMay 31
to HYCOM.org Forum, Kate Lai
We don't have a utility to do this.  

The corresponding program to convert MOM6 output to a HYCOM archive file, mom6nc2archv.f, does the same job.  If you want to try to write your own "hycomnc2archv.f", based on the mom6 version, note that you probably have velocity on the p-grid rather than its native u and v grids.  There is a "p-vel" archive file type, which has field_p instead of "field  " in its .b file:

field_p     time step  model day  k  dens        min              max

Alan.
Reply all
Reply to author
Forward
0 new messages