DOI-USGS / COAWST

COAWST modeling system git repository
Other
104 stars 48 forks source link

2D BC's generation #100

Open valitaxino opened 1 year ago

valitaxino commented 1 year ago

Dear all,

1st, I am sorry if this question is too silly, but I was looking around in all the places I found, and could not solve this problem by myself. I am a new user of ROMS, and I want to use it coupled with WRF. I was following the instructions in the last version of the manual to build my own ROMS application (using the Sandy case as a guide), and I could solve everything, but not the generation of tide forcing files. I could run my a pplication without using tide forcing, but when I tried to generate my own forcing files, I got "trapped" in a loop I cannot totally break ...

I got already the tpxo9 atlas for extracting the data, I could build my own model and extract my region of interest to test (using OTPS and also TMD matlab tool box and the patch tpxoatlas2local.m). Now the problem is that I do not know how to use the matlab scripts that come with OTPS software to convert from binary to .mat the h tpxo9, grid_tpxo9 , and uv_tpxo9 data that corresponds to my area, in order to use create_roms_tides.m (I am using binary atlas model files, but if that is a problem, I can change to .nc files). The matlab scripts for converting the data that comes with OTPS do not have comments on how to use them, so I am missing some inputs that I am not sure if they should be files, variables, or what...

I am attaching the matlab package that comes with OTPS for converting the files from binary to matlab.

I will be very grateful if someone can help me with this "problem" OSUtoMatlab.zip

jcwarner-usgs commented 1 year ago

this is basically a straight up ROMS question about tidal bc's. Might be better to post on the roms forum. For me, i use the tools we distribute in Tools/mfiles/tides/create_roms_tides.m did you look here: https://www.myroms.org/wiki/Tidal_Forcing -j

valitaxino commented 1 year ago

John, thanks for your answer. I was checking ROMS documentation and forum, and I had downloaded the OSU example they have on wiki-roms, and also the tpxo2roms scripts...osu changed the format of the data in the last version, so the scripts in wiki-roms I think they need some "corrections" to be use with tpxo9 v5. I supposed this was a ROMS' problem, but I wasn't 100% sure, and since I was following coawst manual "recipe" to build the application I thought on trying here 1st.

Thanks again for your answer.

Valen