Difference between revisions of "How to download HYCOM"

From ccrmwiki
Jump to: navigation, search
Line 1: Line 1:
 
From Dr. Dan Yu (July 2018):
 
From Dr. Dan Yu (July 2018):
  
This HYCOM download tool is using “ferret” as interface.
+
This HYCOM download tool uses “ferret” as interface.
Please visit  [https://ferret.pmel.noaa.gov/Ferret ferret web site] to see details.
+
Please visit  [https://ferret.pmel.noaa.gov/Ferret ferret web site] to see details of the software.
  
You can download this tool [http://ccrm.vims.edu/yinglong/wiki_files/hycom_dl.tgz here].
+
You can download our tool [http://ccrm.vims.edu/yinglong/wiki_files/hycom_dl.tgz here].
  
Once you download and untar, there’re 2 directories (9x.x_exp & 19.x_exp) represent different HYCOM experiment data, check HYCOM web site for further details.
+
Once you download and untar, there’re 2 directories (9x.x_exp & 19.x_exp) that represent different HYCOM experiment data; check HYCOM web site for further details about the description of the datasets.
  
 
Main script is listdate.sh, edit options as you needed.
 
Main script is listdate.sh, edit options as you needed.

Revision as of 21:13, 13 July 2018

From Dr. Dan Yu (July 2018):

This HYCOM download tool uses “ferret” as interface. Please visit ferret web site to see details of the software.

You can download our tool here.

Once you download and untar, there’re 2 directories (9x.x_exp & 19.x_exp) that represent different HYCOM experiment data; check HYCOM web site for further details about the description of the datasets.

Main script is listdate.sh, edit options as you needed. For example:

  • exp="91.1" HYCOM experiment
  • lon_s="120E" start longitude
  • lon_e="125E" end longitude
  • lat_s="20N" start latitude
  • lat_e="25N" end latitude

For 19.x_exp, 1 extra var “yr” has to be defined.

  • yr="2012"

There’re 3 optional vars you can add, if you have large domain or encounter memory problem of ferret.

  • lon_i : longitude interval, default is 0.08, has to be larger if needed
  • lat_i : latitude interval , default is 0.08, has to be larger if needed
  • mem : ferret memory cache, default is 300 (MegaWords), change larger if needed

Once you finish, execute listdate.sh, it will give you listHYCOM.jnl for whole record list of experiment.
Edit time range in listHYCOM.jnl as you needed.
Execute dlHYCOM.sh, all your nc files will be in “output”.

If any bad situation happened, such as TMAP error or disconnection,
please check ncfile (including size) in output directory first,
and DO DELETE the line which already successfully download in listHYCOM.jnl!
Then type: dlHYCOM.sh again!

The download script is designed to get all variables into 3 files (EL_*.nc, ST_*.nc, UV_*.nc) for SCHISM.
Once you gather all you need, simply use nco command to cat your ncfiles.
For example: ncrcat EL_*.nc EL_final.nc
Then you can use "gen_hot_3Dth_from_hycom.f90" to generate your initial & open boundary conditions for SCHISM.

Enjoy!