tlakhankar / CCNY-WRF-Research

CCNY Research on PR and Maine under the supervision of Dr. Tarendra Lakhankar.
2 stars 0 forks source link

GFSANL #20

Closed WK-Kz closed 4 years ago

WK-Kz commented 5 years ago

Turns out we are able to use GFSANL with the regridding scripts, however, we are unable to use GFSANL files with output timestep of 0.

We have tested that an output timestep of 06 works.

WK-Kz commented 5 years ago

Timesteps with Success:

Timesteps that failed

WK-Kz commented 5 years ago

Command for GFSANL Data example:

wget -r -e robots=off -l1 --no-parent -nc -nd -A "gfsanl_4*006.grb2" [URL]

AIdrisy0139 commented 5 years ago

Steps to producing Forcing Input Files

Download The Data Use the following command: wget -r -e robots=off -l1 --no-parent -nc -nd -A "gfsanl_4*006.grb2" [URL] This downloads all of the data in the URL to the current directory you are in Example: wget -r -e robots=off -l1 --no-parent -nc -nd -A "gfsanl_4*006.grb2" https://nomads.ncdc.noaa.gov/data/gfsanl/201604/20160410/

Moving the Files Move these files into the ESMF Regriding directory on the Docker Containers. Use the docker cp command. Example: sudo docker cp GFSANL4_TEST db:/home/docker/ESMFregrid_GFS

From there the files should be put into ./input_files. Example: cp GFSANL4_TEST ./input_files

ESMF Script(s) Due to the nature of GFS ANL data the commands to generate weights and re grid had to be modified. They are as follows.

Generating Weight: ncl 'interp_opt="bilinear"' 'srcGridName="input_files/gfsanl_4_20160425_0000_006.grb2"' 'dstGridName="geo_em.d01.nc"' GFS2WRFHydro_generate_weights.ncl _The 2nd argument here, srcGridName should point to the first grb2 file you are attempting to regrid. Just modify the gfsanl_4_20160425_0000_006.grb2 part_

Regriding the Files ncl 'srcFileName="gfsanl_4*"' 'dstGridName="geo_em.d01.nc"' GFS2WRFHydro_regrid.ncl

The resultant files are in the following format: YYYYMMDDHH.LDASIN_DOMAINX _They will either be at the top level of the ESMF directory or in ./outputfiles

Using the files for WRF-HYDRO Move these *DOMAINX files to the ./FORCING Directory of your WRF-HYDRO Simulation Directory

Make sure to update the namelists accordingly

rehman000 commented 4 years ago

Screenshot from 2019-12-26 02-39-50

I seem to be having an issue where ncl is not being recognized by bash bash: ncl: command not found