|
contact: Jörg Wegner |
Examplesselected to find the best solution for your problem. Little Endian -> Big Endian and vice versa.
Some FORTRAN compiler accept files of the different byte order: open(1,file='u10.80.srv', form='unformatted',convert='big_endian') This open-statement works on a little-endian machine (LINUX) and reads big-endian files. Use cdo (climate data operators) to work with your files. cdo reads little and big endian files on all machine architectures. No problems! If you want to work with the PINGO package you have to convert the data! Use extra infile.ext outfile.ext or serv infile.srv outfile.srv to change to the machine used byte order. Then use the PINGO package as usual. The binaries of this small programs are in the same directory as the pingo binary. Find a bit more under "special tools" -> "little-big endian" My download from the CERA data-base contains lots of small files. How do I catenate them? You can't catenate NetCDF files the UNIX way (cat file1 file2 etc). You have to
use a special program that is able to create one NetCDF file out of many. We
use the NCO - tools to do so: |