Skip to content

Instantly share code, notes, and snippets.

@ibarraespinosa
Created April 22, 2018 01:00
Show Gist options
  • Save ibarraespinosa/e784ed24711d87e10e5ec35a21d85ece to your computer and use it in GitHub Desktop.
Save ibarraespinosa/e784ed24711d87e10e5ec35a21d85ece to your computer and use it in GitHub Desktop.
&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2014-10-06_00:00:00','2014-10-06_00:00:00','2014-10-06_00:00:00',
end_date = '2014-10-13_00:00:00','2014-10-13_00:00:00','2014-10-13_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
parent_id = 1, 1, 2,
parent_grid_ratio = 1, 5, 5,
i_parent_start = 1, 41, 51,
j_parent_start = 1, 31, 51,
e_we = 119, 191, 301,
e_sn = 111, 151, 251,
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The default datasets used to produce the HGT_M, GREENFRAC,
! and LU_INDEX/LANDUSEF fields have changed in WPS v3.8. The HGT_M field
! is now interpolated from 30-arc-second USGS GMTED2010, the GREENFRAC
! field is interpolated from MODIS FPAR, and the LU_INDEX/LANDUSEF fields
! are interpolated from 21-class MODIS.
!
! To match the output given by the default namelist.wps in WPS v3.7.1,
! the following setting for geog_data_res may be used:
!
! geog_data_res = 'gtopo_10m+usgs_10m+nesdis_greenfrac+10m','gtopo_2m+usgs_2m+nesdis_greenfrac+2m',
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! geog_data_res = 'gtopo_2m+usgs_2m+nesdis_greenfrac+2m','30s','30s',
geog_data_res = 'modis_30s+2m','modis_30s+30s','modis_30s+30s',
dx = 25000,
dy = 25000,
map_proj = 'lambert',
ref_lat = -21.299,
ref_lon = -46.047,
truelat1 = -21.456,
truelat2 = -24.550,
stand_lon = -46.147,
geog_data_path = '/scr4/sibarra/geo/geog'
/
&ungrib
out_format = 'WPS',
prefix = 'FILE',
/
&metgrid
fg_name = 'FILE'
io_form_metgrid = 2,
/
@ibarraespinosa
Copy link
Author

cd geogrid
ln -sf GEOGRID.TBL.ARW_CHEM GEOGRID.TBL
ln -sf ungrib/Variable_Tables/Vtable.GFS Vtable
#modificar namelist
ncl
./geogrid.exe
#./link_grib.csh /scr4/sibarra/met/2014/fnl_20140*

Hay que tener cuidado cuando se hace link a la carpeta entera, porqu si hay otros archivos ademas de los grib los lincara como GRIB.

Ejemplo clasico es que ne la misma carpeta estan los archivos para bajar la meteorología

En ese caso hay que mover los archivos que no son grib2 a otro lugaqr y ahi linkear la carpeta

./link_grib.csh /scr4/sibarra/met/oct2014/GFS*

./ungrib.exe
./metgrid.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment