|
From: Marcus K. <Mar...@at...> - 2001-11-19 13:42:53
|
Dear group members, I attempt to create v5d files using Portland Group Fortran on a Linux machine. I use v5dcreatesimple for a regular spaced grid. However, the variable names seem to be not properly identified. They are given as a character field in a data statement. But instead of recognising the variables, P, U, V, T, Theta, PV, and SpecH, it appears that the strings are being "glued" together. See here the output from v5dinfo: File format: v5d version: 4.3 Compression: 1 byte per gridpoint. header size=11804 sizeof(v5dstruct)=169068 NumVars = 7 Var Name Units Rows Cols Levels LowLev MinVal 1 P U Pa 36 72 30 0 1000 2 V m/s 36 72 30 0 -40.8064 3 T T m/s 36 72 30 0 -57.8602 4 eta PV K 36 72 30 0 185.118 5 SpecH K 36 72 30 0 239.123 6 a PVU 36 72 30 0 -207.815 7 m/s g/g 36 72 30 0 0.000458169 etc... I had a similar problem with v5dsetunits and adding a '\0' to each unit string took care of it. However this doesn't work with the variable names. I would be very grateful for suggestions on how to solve this problem. Best regards Marcus |