Hi everybody!!
I will like to know if there are any software o matlab script that allow me to modify my netcdf bathy file. Sometimes I detected an error in some points on the bathymetry and I will like to change this values, but I don't know how. it could be something like the editmask.m used to modify the mask, but for the bathymetry.
Thanks in advice
software or matlab script for edit netcdf bathymetry file
Re: software or matlab script for edit netcdf bathymetry fil
Hi,
We developed a tool to modify the depth in the roms_grd.nc file generated by ROMSTOOLS. For the moment it just changes the value of a specific matrix and leaves everything else as it is, which most probably is a bad idea, but here is the code for you to improve it.
It is based on a previous idea to modify the input bathymetry file (e.g. etopo2.nc)
viewtopic.php?f=23&t=990
Send me an email if you need details on how to use it.
We developed a tool to modify the depth in the roms_grd.nc file generated by ROMSTOOLS. For the moment it just changes the value of a specific matrix and leaves everything else as it is, which most probably is a bad idea, but here is the code for you to improve it.
It is based on a previous idea to modify the input bathymetry file (e.g. etopo2.nc)
viewtopic.php?f=23&t=990
Send me an email if you need details on how to use it.
- Attachments
-
- edit_grdbat.m
- Basic GRD file editor
- (21.49 KiB) Downloaded 650 times
Andres Sepulveda
------------------------------
Geophysics Department
University of Concepcion
------------------------------
Geophysics Department
University of Concepcion
-
- Posts: 68
- Joined: Tue Nov 10, 2009 6:42 pm
- Location: Technical University of Cartagena,Murcia, Spain
Re: software or matlab script for edit netcdf bathymetry fil
Thanks a lot!!
Tomorrow I start my holidays, so I will look the code and test it for my case at the end August. But thanks a lot for your answer, the code and the link cause I need to change the points by hand too.
Tomorrow I start my holidays, so I will look the code and test it for my case at the end August. But thanks a lot for your answer, the code and the link cause I need to change the points by hand too.
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: software or matlab script for edit netcdf bathymetry fil
Hi Andres Sepulveda,
I am working on ROMS application in the Mediterranean sea. I need to modify manually the bathymetry after smoothing to reach the required sill depth at Gibraltar straits. I had seen this post and tried the script. But I don't know how to use it properly. Is there any user manual for the edit bathymetry scirpt. The wiki is also not working.
Thanking you
I am working on ROMS application in the Mediterranean sea. I need to modify manually the bathymetry after smoothing to reach the required sill depth at Gibraltar straits. I had seen this post and tried the script. But I don't know how to use it properly. Is there any user manual for the edit bathymetry scirpt. The wiki is also not working.
Thanking you
Re: software or matlab script for edit netcdf bathymetry fil
Hi,
Our wiki server died and all the documentation was lost.
Try to contact me in Skype (username: andres_udec) to explain you how it works.
Our wiki server died and all the documentation was lost.
Try to contact me in Skype (username: andres_udec) to explain you how it works.
mashinde wrote:Hi Andres Sepulveda,
I am working on ROMS application in the Mediterranean sea. I need to modify manually the bathymetry after smoothing to reach the required sill depth at Gibraltar straits. I had seen this post and tried the script. But I don't know how to use it properly. Is there any user manual for the edit bathymetry scirpt. The wiki is also not working.
Thanking you
Andres Sepulveda
------------------------------
Geophysics Department
University of Concepcion
------------------------------
Geophysics Department
University of Concepcion