Hi all,
Is there any swith cotrolling outputing the variables "lon_rho", "lat_rho" to every standard output "nc" files, or the "his" and "avg" files?
Thanks and any suggestion will be welcomed.
About output the variables "lon_rho" to the "his" and"avg" ?
Re: About output the variables "lon_rho" to the "his" and"avg" ?
They will be there in your output netcdf files, unless you define 'NO_WRITE_GRID' in your CPP configuration file.
Re: About output the variables "lon_rho" to the "his" and"avg" ?
Hi feroda, thanks for your reply, I re-checked the "avg" and "his" files and found only the "x_rho" and "y_rho" instead of "lon_rho" and "lat_rho" which I needed, and I didn't define the "NO_WRITE_GRID".feroda wrote:They will be there in your output netcdf files, unless you define 'NO_WRITE_GRID' in your CPP configuration file.
by the way, which version are you using?
Re: About output the variables "lon_rho" to the "his" and"avg" ?
I always follow the latest version. After each update, I also put my own modified parts into the official code.
I guess your version is close to v2.x. You may want to add several lines to your code if 'lon_rho' is supposed to be output in your case.
I guess your version is close to v2.x. You may want to add several lines to your code if 'lon_rho' is supposed to be output in your case.
Re: About output the variables "lon_rho" to the "his" and"avg" ?
Did you tell it you have a "spherical" grid? If spherical is false, it assumes you are on a flat idealized x,y plane. How did you provide the grid in the first place?
Re: About output the variables "lon_rho" to the "his" and"avg" ?
Hi kate, I tried the including/excluding "spherical" from ".h" file cases and there are still not "lon_rho" in the out files.kate wrote:Did you tell it you have a "spherical" grid? If spherical is false, it assumes you are on a flat idealized x,y plane. How did you provide the grid in the first place?
I also run the cases using the version 3.0 and 3.2, there was no change.
A little bit strange because of one of my colleagues didn't encounter this problem in her cases, while the others were facing the same problem as mine, I'll double check their .h files too..
Just for testing the visulization software "COVE" from University of Washington.
thanks a lot
Re: About output the variables "lon_rho" to the "his" and"avg" ?
Hi kate,
you are right, I forgot to difine it in the grid file
now, the "lon_rho" appeared.
thanks very much
you are right, I forgot to difine it in the grid file
now, the "lon_rho" appeared.
thanks very much