[Thread Prev][Thread Next][Index]
Re: axis and cartesina_axis
Hello Xingren,
one solution could be useful if you have only one or several files to correct,
you could use ncdump and ncgen tools:
ncdump your_data.nc > your_data.txt
then edit, your_data.txt to change GRID_X_T attributes, and then
ncgen -b -o your_data_corrected.nc your_data.txt
If you have more than several files, I could only suggest to write fortran or
c code to rewrite files.
Hope this helps,
Goran
On Friday 03 June 2005 16:10, Xingren Wu wrote:
> Hi,
>
> One of my colleague needs to use my data (which was saved by using
> ferret) for MOM4. The problem we have are:
>
> some of the header info required for MOM4 are:
>
> GRID_X_T:cartesian_axis = "X" ;
>
> but the saved info from ferret is:
>
> GRID_X_T:axis = "X" ;
>
> Does anyone know any solution to change the default "axis" to
> "cartesian_axis".
> Thank you!
>
> Xingren Wu
> EMC/NCEP
--
Goran Georgievski
ICBM, Physical Oceanography (Theory), University of Oldenburg
PO Box 2503, D-26111 Oldenburg, Germany
Tel: +49-(0)441-798-4061, Fax: +49-(0)441-798-3404
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement