swot_simulator icon indicating copy to clipboard operation
swot_simulator copied to clipboard

How to use 'swot_simulator.plugins.ssh.hycom'?

Open Mingzhi-Sun opened this issue 3 years ago • 3 comments

I would like to use HYCOM (HYCOM + NCODA Global 1/12° Reanalysis (GLBu0.08/expt_19.1)) to simulate SWOT observations, but the data format I downloaded does not meet the requirements of the swot_simulator. However, the manual has few instructions on the input data format. Can you provide an example of HYCOM for swot_simlator? Just like the example from AVISO in swot_simulator. Many thanks!

Mingzhi-Sun avatar Dec 17 '22 04:12 Mingzhi-Sun

Hi, Sorry for the delay, I was without internet connection. Can you provide netcdf files (few days of data) so that I can help you write the plugin to read your data? There are many examples of reader plugins in swot_simulator/plugins/ssh

lgaultier avatar Jan 17 '23 17:01 lgaultier

Thank you very much for your reply. The data I used was downloaded from the HYCOM website . The netCDF file in the zip contains only four variables (lon, lat, surf_el, time), and the netCDF was trimmed when downloaded.You can download the data here. Thank you again for your help.

Mingzhi-Sun avatar Jan 18 '23 02:01 Mingzhi-Sun

Hi, The plugin for your model is already available, you can replace the following line in your configuration file with: #`The plug-in handling the SSH interpolation under the satellite swath ssh_plugin = swot_simulator.plugins.ssh.HYCOM('your_data_path')

your_data_path being the path to your model data

Let me know if it works for you

lgaultier avatar Jan 18 '23 18:01 lgaultier