PK ¥„GManual_de_instalacao_do_BRAMS/UT fÁU¹šÌUux ééPK ` G-Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/UT ±ÌU>±ÌUux ééPK ‡}ðF%­LGManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/installation_BRAMS_in_tupaUT }û§UñŸÌUux éé instalação do BRAMS versão 5 1- logar no eslogin01 comando: ssh eslogin01 -XC 2- entrar no scratchin comando: cd $SUBMIT_HOME 3- baixar o BRAMS, comando: svn export export https://svn.cptec.inpe.br/brams/trunk/BRAMS Obs: se você pertence ao grupo de pesquisa BRAMS e irá desenvolver algo novo no modelo, é aconselhavel copiar do trunk para o branch, e após baixar do branch com o comando: svn checkout https:"caminho_do_branch", com este comando é possível manter um vinculo da tua área no tupã com o site, permitindo com que todos trabalhem em um mesmo projeto. 4-comando: module unload hdf5 5-comando: module load hdf5-parallel 6-comando: cd BRAMS/build/bin 7-comando: ./comp.bash RELACS_TUV (default) Obs: Há outras copilações como usando química atmosférica ./comp.bash RACM_TUV(quimica) 8- pegar os arquivos RAMSIN_5, xMit5.sh, run_BRAMS.sh, Ambiente_BRAMS_5_no_tupa.sh do repositório do assim_dados ou BRAMS e coloca-los dentro da pasta BRAMS. Para isto entre no site https://projetos.cptec.inpe.br/projects/brams/files Baixe os arquivos RANSIN_5, xMit5.sh, run_BRAMS.sh, Ambiente_BRAMS_5_no_tupa.sh Verifique se está na pasta BRAMS comando: pwd crie uma cópia dos arquivos do site comando: gedit RAMSIN_5 (copie o RAMSIN_5 que você baixou para dentro deste arquivo RAMSIN_5, salve e feche) comando: gedit xMit5.sh (copie o xMit5.sh que você baixou para dentro deste arquivo, salve e feche) faça o mesmo com os outros arquivos 9-permita a execução dos arquivos baixados comando:chmod 775 Ambiente_BRAMS_5_no_tupa.sh run_BRAMS.sh xMit5.sh 10- execute o Ambiente_BRAMS_5_no_tupa.sh para criar as pastas e links necessários comando:./Ambiente_BRAMS_5_no_tupa.sh 11- para fazer uma rodada teste leia run_test Fim das etapas de instalação do BRAMS Qualquer dúvida claudio.pavani@gmail.com possíves erros há de se preparar o ambiente de copilação, escolha PGI, opção 6 preparar o ambiente de copilação, comando:source /usr/bin/development_config verifique se o copilador pgi é atual, verção 12 ou melhor comando: module list Instalando fora da tupa As informações abaixo são úteis caso você deseje instalar em uma outra máquina. Basicamente altere o que é posto na frente do comando "./configure" de acordo com o copilador que há em tua máquina, no tupã foi padronizado o ftn dentro da pasta build siga as instruções abaixo conforme compilador desejado. Mini tutorial de compilação Lembre-se de trocar o caminho de instalação no --prefix Compilação Intel: Usando mpif90 na tupa module swap tupa2 aux ./configure --with-hdf5lib=/scratchin/grupos/catt-brams/shared/libs/intel/hdf5-1.8.8_parallel --with-zlib=/scratchin/grupos/catt-brams/shared/libs/intel/zlib-1.2.8/lib --with-fpcomp=mpif90 --with-cpcomp=mpicc --with-fcomp=/stornext/home/poluicao/intel/composerxe-2011.4.191/bin/intel64/ifort --with-ccomp=gcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install Compilação PGI: Usando mpif90 na tupa module swap tupa2 aux ./configure --with-hdf5lib=/scratchin/ grupos/catt-brams/shared/libs/pgi/hdf5-1.8.11-parallel --with-zlib=/scratchin/grupos/catt-brams/shared/libs/pgi/zlib-1.2.8/lib --with-fpcomp=mpif90 --with-cpcomp=mpicc --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install Usando ftn: module unload hdf5 module load hdf5-parallel ./configure --with-fpcomp=ftn --with-cpcomp=ftn --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install JULES: O default é sem jules, se quiser o jules precisa colocar o --enable-jules PK uæFÇþGi9Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/run_BRAMS.shUT —½šUñŸÌUux éé#!/bin/sh export DirBase=`pwd` export TMPDIR=${DirBase}/tmp # versao 5.0 RAMSIN=RAMSIN_5 CCATT=jules3.0-ccatt-brams-5.0-opt.pgi-cray-RELACS_TUV # for initial #paralelo ./xMit5.sh 240 1 24 1:00:00 $CCATT $RAMSIN #./xMit5.sh 240 1 24 1:00:00 jules3.0-ccatt-brams-5.0-opt.pgi-cray-RELACS_TUV RAMSIN_5 # for makevfile/makesfc #serial #./xMit5.sh 24 1 24 00:30:00 $CCATT $RAMSIN exit exit PK ÏrðFt¶éB±‰±‰5Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/RAMSIN_5UT Uè§UñŸÌUux éé $MODEL_GRIDS EXPNME = 'CCATT5.0', RUNTYPE = 'INITIAL', ! Type of run: MAKESFC, INITIAL, HISTORY, ! MAKEVFILE, or MEMORY TIMEUNIT = 'h', ! 'h','m','s' - Time units of TIMMAX, TIMSTR ! TIMMAX, TIMSTR, VTIME TIMMAX = 24, ! Final time of simulation (dados ate 168) LOAD_BAL = 0, ! Dynamic load balance flag: 1=yes, 0=no ! Start of simulation or ISAN processing IMONTH1 =06, ! Month IDATE1 =25, ! Day IYEAR1 =2012, ! Year ITIME1 =0000, ! GMT of model TIME = 0. ! Grid specifications NGRIDS = 1, ! Number of grids to run NNXP = 110, 318, 154, 78, 78, ! Number of x gridpoints NNYP = 110, 346, 102, 78, 78, ! Number of y gridpoints NNZP = 42, 38, 38, 47, ! Number of z gridpoints NZG = 1, ! Number of soil layers NZS = 1, ! Maximum number of snow layers NXTNEST = 0,1,2,3, ! Grid number which is the next coarser grid ! Coarse grid specifications IF_ADAP = 0, IHTRAN = 1, ! 0-Cartesian, 1-Polar stereo DELTAX = 20000., DELTAY = 20000., ! X and Y grid spacing DELTAZ = 80., ! Z grid spacing (set to 0. to use ZZ) DZRAT = 1.1, ! Vertical grid stretch ratio DZMAX = 850., ! Maximum delta Z for vertical stretch ! Vertical levels if DELTAZ = 0 ZZ = 0.0, 20.0, 46.0, 80.0, 120.0, 165.0, 220.0, 290.0, 380.0, 480.0, 590.0, 720.0, 870.0, 1030.0, 1200.0, 1380.0, 1595.0, 1850.0, 2120.0, 2410.0, 2715.0, 3030.0, 3400.0, 3840.0, 4380.0, 5020.0, 5800.0, 6730.0, 7700.0, 8700.0, 9700.0, 10700., 11700., 12700., 13700., 14700., 15700., 16700., 17700., 18700., 19700., DTLONG = 30., ! Coarse grid long timestep NACOUST = 3, ! Small timestep ratio IDELTAT = 0, ! =0 - constant timesteps ! >0 - initial computation <0 - variable ! Nest ratios between this grid ! and the next coarser grid. NSTRATX = 1,4,4,4, ! x-direction NSTRATY = 1,4,4,4, ! y-direction NNDTRAT = 1,3,3,3, ! Time NESTZ1 = 0, ! Contort coarser grids if negative NSTRATZ1 = 2,2,2,1, ! NESTZ2 = 0, ! Contort coarser grids if negative NSTRATZ2 = 3,3,2,1, ! POLELAT = -19.0, ! Latitude of pole point POLELON = -54.4, ! Longitude of pole point CENTLAT = -19.0, -23.0, -23.5, -20.9, CENTLON = -54.4, -46.65, -46.5, -47.5, ! Grid point on the next coarser ! nest where the lower southwest ! corner of this nest will start. ! If NINEST or NJNEST = 0, use CENTLAT/LON NINEST = 1,0,0,0, ! i-point NJNEST = 1,0,0,0, ! j-point NKNEST = 1,1,1,1, ! k-point NNSTTOP = 1,1,1,1, ! Flag (0-no or 1-yes) if this NNSTBOT = 1,1,1,1, ! Nest goes the top or bottom of the ! coarsest nest. GRIDU = 0.,0.,0.,0., ! u-component for moving grids GRIDV = 0.,0.,0.,0., ! v-component for moving grids ! (not working again!) ADVMNT = 0 , !0= normal, 1 = Walcek, 2 = Walcek + Tremback GHOSTZONELENGTH = 3, !Size of ghostzone $END $CCATT_INFO CCATT = 0, ! 1 - CCATT environmental model activated ! 0 - OFF CHEMISTRY = -1, ! -1- only atmospheric model ! 0- only tracer transport with atmos. model ! 1- activate the loss/production by kinetic chemical ! and photochemical reactions, with solver 1 ! 2- activate the loss/production by kinetic chemical ! and photochemical reactions, with solver 2 ! 3- Rosenbrock 2nd order - dynamic timestep ! 4- Rosenbrock "RODAS3" 3rd order - dynamic timestep SPLIT_METHOD = 'PARALLEL',! Splitting operator method !'SYMMETRIC' = sequential symmetric (D->Q->D) !'SEQUENTIAL'= sequential at right (D->Q ) !'PARALLEL' = original method (D->) ! (Q->) CHEM_TIMESTEP = 300., ! chemistry timestep integration (seconds) ! should be a multiple of dtlong CHEMISTRY_AQ = 0, ! 1 - ON ! 0 - OFF aqueous chemistry CHEM_ASSIM = 0, !1, ! 1 - Activate 4dda with mocage data ! 0 - OFF SRCMAPFN = 'NONE', ! Source Map file prefix ou "NONE" !SRCMAPFN = 'src_light/Queima_light', ! Source Map file prefix RECYCLE_TRACERS = 0, DEF_PROC_SRC= 'STOP' ! what to do if src files are not available ! (STOP, LAST_SOURCES) DIUR_CYCLE = 1,1,1 NA_EXTRA2D = 0, ! Number of extras 2d arrays NA_EXTRA3D = 0, ! Number of extras 3d arrays PLUMERISE = 0, ! 0 - Desativated ! 1 - Activated Plume Rise routine PRFRQ = 7200., VOLCANOES = 0, ! 0 - Desactivated ! 1 - Activated volcanoes emissions/processes AEROSOL = 0 , ! 0 - Desactivated ! 1 - Activated Aerosol CCATT ! 2 - Activated Aerosol MATRIX AERFRQ = 1200.0, !Aerosol frequency MECH = 8, !Aerosol Mechanism (From 1 to 8) $END $TEB_SPM_INFO TEB_SPM = 0, ! 1-TEB activated 0-off $END $MODEL_FILE_INFO ! Variable initialization input INITIAL = 2, ! Initial fields - 1=horiz.homogeneous, ! ------ Analysis nudging parameters ----------------------------------- NUD_TYPE = 2, ! =1 - nudge from history files(1-way nest) ! =2 - nudge from varfiles ! =0 - no analysis nudging ! 2=variable ! =4 - nudge from model output ! VARFPFX = './dataout/IVAR/iv-brams', ! isan file names prefix VWAIT1 = 0., ! wait between each VFILE check (s) VWAITTOT = 0., ! total wait befor giving up on a VFILE (s) NUD_HFILE = './dataout/ANL/anal', ! Header file name for history nudging files (only prefix is used) NUDLAT = 4, ! Number of points in lateral bnd region TNUDLAT = 900., ! Nudging time scale(s) at lateral boundary TNUDCENT = 0., ! Nudging time scale(s) in center of domain TNUDTOP = 10800., ! Nudging time scale (s) at top of domain ZNUDTOP = 12000., ! Nudging at top of domain above height(m) WT_NUDGE_GRID = 1., 0.7, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid ! These weights will multiply the base timescales ! to determine full nudging weight. ! (Timescales)/(WT_NUDGE_*) ! must be larger than DTLONG WT_NUDGE_UV = 1., ! Anal nudging weight for u and v WT_NUDGE_TH = .6, ! Anal nudging weight for theta WT_NUDGE_PI = 1., ! Anal nudging weight for pi WT_NUDGE_RT = .6, ! Anal nudging weight for r_tot !------------------------------------------------------------------------- !----------- Condensate nudging ------------------------------------------ NUD_COND = 0, ! Only nudge total water where condensate ! exists (from previous history files, HFILIN) COND_HFILE = ' ', ! Header file name for cond nudging history files (only prefix is used) TCOND_BEG =0., TCOND_END =21600., ! Model time start and end of cond nudging (sec) T_NUDGE_RC = 3600., ! Cond nudging timescale for r_total WT_NUDGEC_GRID = 1., 0.8, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid !------------------------------------------------------------------------- !--------- Observation Data Assimilation (ODA) --------------------------------- IF_ODA = 0, ! Flag to turn on oda ODA_UPAPREFIX = './datain/obs/dp-r ', ! File prefix for upper air obs ODA_SFCPREFIX = './datain/obs/dt-s ', ! File prefix for surface obs FRQODA=300., ! Frequency of obs analysis TODABEG=0., TODAEND=99999999., ! Model time start and end of oda (sec) TNUDODA= 900., ! Nudging timescale for each grid WT_ODA_GRID = 1., 0.8, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid WT_ODA_UV = 1., ! ODA nudging weight for u and v WT_ODA_TH = 1., ! ODA nudging weight for theta WT_ODA_PI = 1., ! ODA nudging weight for pi WT_ODA_RT = 1., ! ODA nudging weight for r_tot ! Following are radii that affect the "smoothness" of the analyzed fields ! The SFCE and UPAE are the radii where the affect falls off to e**(-2) ! The SFC0 and UPA0 are the radii where the affect falls off to 0 ! Values are grid dependent. RODA_SFCE = 50000.,100.,100.,100., RODA_SFC0 = 100000.,100000.,100000.,100000., RODA_UPAE = 100000.,200.,200.,200., RODA_UPA0 = 200000.,2000.,2000.,2000., RODA_HGT = 3000.,3000.,3000.,3000., ! Height at which transition from SFC radii ! to UPA radii occurs RODA_ZFACT = 100.,100.,100.,100., ! Vertical factor related to dx/dz ! - Time interpolate limit (TIL)- if the future-past obs time ! is > this limit, do not use to interpolate ! ! - Time extrapolate limit (TEL)- if past/future obs is greater than TIL, ! but less than TEL, use the obs ODA_SFC_TIL=21600., ODA_SFC_TEL=900., ODA_UPA_TIL=43200., ODA_UPA_TEL=21600., !------------------------------------------------------------------------ !----- Cumulus inversion tendency input ----- IF_CUINV = 0, CU_PREFIX = './t5-C-', TNUDCU=900., WT_CU_GRID=1., 1., .5, TCU_BEG =0., TCU_END=7200., CU_TEL=3600., CU_TIL=21600., !------------------------------------------------------------------------ ! History file input TIMSTR = 0., ! Time of history start (see TIMEUNIT) HFILIN = 'NONE' !'/scratchout/oper/tempo/BRAMS/CCATT/dataout/2015070200/HIS/hOPQUE-H-2003-06-15-000000.vfm', ! Input history file name !São mantidos apenas os ultimos 2 meses mais atuais ! Analysis file input for assimilation (currently LEAF variables) IPASTIN = 0, ! Initialize various fields from analysis file? ! 1=yes, 0=no PASTFN = 'NONE' !'/scratchout/oper/tempo/BRAMS/CCATT/dataout/2015070200G/ANL/OPQUE-A-2013-02-19-000000-head.txt', ! Input analysis file name !São mantidos apenas os ultimos 2 meses mais atuais ! History/analysis file output IPOS = 2, ! 0-no files, 2-grads files, 1-hdf5(not available yet) IOUTPUT = 2, ! 0-no files, 1-hdf5 files, 2-vfm files, 3-mpiio files, 4-binary(not available yet) HFILOUT = './dataout/HIS/hist', ! History file prefix AFILOUT = './dataout/ANL/anal', ! Analysis file prefix ICLOBBER = 1, ! 0=stop if files exist, 1=overwite files IHISTDEL = 1, ! 0=keep all hist files, 1=delete previous FRQHIS = 86400., ! History file frequency FRQANL = 21600., ! Analysis file frequency !----------------------------------------------------------------------- FRQLITE = 0., ! Analysis freq. for "lite" variables ! = 0 : no lite files XLITE = '/0:0/', ! nums>0 are absolute grid indexes YLITE = '/0:0/', ! nums<0 count in from the domain edges ZLITE = '/0:0/', ! nums=0 are domain edges NLITE_VARS=0, LITE_VARS='UP','VP','WP','swdr','THETA', !----------------------------------------------------------------------- AVGTIM = 0., ! Averaging time for analysis variables ! must be abs(AVGTIM) <= FRQANL ! > 0 : averaging is centered at FRQANL ! < 0 : averaging ends at FRQANL ! = 0 : no averaged files FRQMEAN = 0., ! Analysis freq. for "averaged" variables FRQBOTH = 0., ! Analysis freq. for Both "averaged" and ! "lite" variables KWRITE = 0, ! 1-write,0-don't write scalar K's to anal. ! Printed output controls FRQPRT = 21600, ! Printout frequency INITFLD = 0, ! Initial field print flag 0=no prnt,1=prnt ! Input topography variables TOPFILES = './dataout/SFC/toph-brams', ! File path and prefix for topo files. SFCFILES = './dataout/SFC/sfc-brams', SSTFPFX = './dataout/SFC/sst-brams', NDVIFPFX = './dataout/SFC/ndvi-brams', ! Path and prefix for ndvi files ITOPTFLG = 1,1,1,1,0, ! 2 - Fill data in "rsurf" ISSTFLG = 1,1,1,1,0, ! 0 - Interpolate from coarser grid IVEGTFLG = 1,1,1,1,0, ! 1 - Read from standard Lat/Lon data file ISOILFLG = 1,1,1,1,0, ! soil files not yet available: avoid isoilflg=1 NDVIFLG = 1,1,1,1,0, ! !avoid isoilflg=1 NOFILFLG = 2,2,2,2, ! 2 - Fill data in "rsurf" ! 0 - Interpolate from coarser grid IUPDNDVI = 1, ! 0 - No update of NDVI values during run IUPDSST = 1, ! 0 - No update of SST values during run ! 1 - Update SST values during run ! The following only apply for IxxxxFLG=1 ITOPTFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/elev10m/H', '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/topo1km/EL', ISSTFN = '/scratchin/oper/tempo/BRAMS/sst_week/W', IVEGTFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/GL_OGE_INPE/OGE', '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/veg/ogedata/GE', ISOILFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/GL_FAO_INPE/FAO', NDVIFN = '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI-MODIS/N', '/scratchin/oper/io/BRAMS/datafix/ndvi/N', '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI/N', '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI-MODIS_h5/N', ! Topography scheme ITOPSFLG = 0,0,0,1, ! 0 = Average Orography ! 1 = Silhouette Orography ! 2 = Envelope Orography ! 3 = Reflected Envelope Orography TOPTENH = 0.,0.,0.,0., ! For ITOPSFLG=1, Weighting of topo ! silhouette averaging ! For ITOPSFLG=2 or 3, Reflected Envelope ! and Envelope Orography enhancement ! factor TOPTWVL = 7.,2.,2.,2., ! Topo wavelength cutoff in filter ! Surface Roughness scheme IZ0FLG = 0,0,0, ! 0 = Based off vege, bare soil and water surface ! 1 = Based off subgrid scale topography Z0MAX = 5.,5.,5., ! Max zo for IZ0FLG=1 Z0FACT = 0.005, ! Subgrid scale orograhic roughness factor ! Microphysics collection tables MKCOLTAB = 0, ! Make table: 0 = no, 1 = yes COLTABFN = 'tables/micro/ct2.0', ! Filename to read or write $END $MODEL_OPTIONS NADDSC = 0, ! Number of additional scalar species ! Numerical schemes ICORFLG = 1, ! Coriolis flag/2D v-component - 0=off, 1=on VVELDAMP = 0, ! Apply damping on vertical velocity - 0=off, 1=on ! only recommended for operational purposes IEXEV = 1, ! Exner tendency ! 1- simplest form ! 2- complete, mass conservative, solution ! (works only with sigma z coordinate) IMASSFLX =0, IBND = 1, ! Lateral boundary condition flags JBND = 1, ! 1-Klemp/Wilhelmson, 2-Klemp/Lilly, 3-Orlanski ! 4-cyclic CPHAS = 20., ! Phase speed if IBND or JBND = 1 LSFLG = 0, ! Large-scale gradient flag for variables other than ! normal velocity: ! 0 = zero gradient inflow and outflow ! 1 = zero gradient inflow, radiative b.c. outflow ! 2 = constant inflow, radiative b.c. outflow ! 3 = constant inflow and outflow NFPT = 0, ! Rayleigh friction - number of points from the top DISTIM = 400., ! - dissipation time scale ! Radiation parameters ISWRTYP = 0, ! Shortwave radiation type ILWRTYP = 0, ! Longwave radiation type ! 0-none, 2-Mahrer/Pielke, 1-Chen, 3-Harrington ! Parameters needed by CARMA radiation scheme RADDATFN = 'tables/rad_param.data', RADFRQ = 3600., ! Freq. of radiation tendency update (s) LONRAD = 1, ! Longitudinal variation of shortwave ! (0-no, 1-yes) ! Cumulus parameterization parameters NNQPARM = 0,2,2,2, ! Convective param. flag (0-off, ! 1-on standard, ! 2-on Grell par.) CLOSURE_TYPE = 'EN', ! Closure type (for Grell Param.): ! EN: ensemble (all closures) ! GR: Grell ! LO: low level omega ! MC: moisture convergence ! SC: like Fritsch Chappel or Kain Fritsch ! AS: Arakawa-Schubert ! G3D_TRAINING_FILE = 'NONE', ! only for NNQPARM = 3 G3D_SPREAD = 0,! only for NNQPARM = 3 G3D_SMOOTHH = 0,! only for NNQPARM = 3 G3D_SMOOTHV = 0,! only for NNQPARM = 3 NNSHCU = 0,1,2,1, ! Shallow Cumulus Param. (0-off, 1-on) CONFRQ = 150., ! Frequency of conv param. updates (s) SHCUFRQ = 150., ! Frequency of Shallow param. updates (s) WCLDBS = .0005, ! Vertical motion needed at cloud base for ! to trigger convection ! Surface layer and soil parameterization NPATCH = 2, ! Number of patches per grid cell (min=2) NVEGPAT = 1, ! Number of patches per grid cell to be ! filled from ! vegetation files ! (min of 1, max of NPATCH-1) ISFCL = 0, ! Surface layer/soil/veg model ! 0-specified surface layer gradients ! 1-soil/vegetation model LEAF ! 2-soil/vegetation model LEAF & hidrological model ! 3-Reserved NVGCON = 7, ! Vegetation type (see below) ! 1 -- Crop/mixed farming 2 -- Short grass ! 3 -- Evergreen needleleaf tree 4 -- Deciduous needleleaf tree ! 5 -- Deciduous broadleaf tree 6 -- Evergreen broadleaf tree ! 7 -- Tall grass 8 -- Desert ! 9 -- Tundra 10 -- Irrigated crop ! 11 -- Semi-desert 12 -- Ice cap/glacier ! 13 -- Bog or marsh 14 -- Inland water ! 15 -- Ocean 16 -- Evergreen shrub ! 17 -- Deciduous shrub 18 -- Mixed woodland PCTLCON = 1., ! Constant land % if for all domain NSLCON = 6, ! Constant soil type if for all domain ! 1 -- sand 2 -- loamy sand 3 -- sandy loam ! 4 -- silt loam 5 -- loam 6 -- sandy clay loam ! 7 -- silty clay loam 8 -- clay loam 9 -- sandy clay ! 10 -- silty clay 11 -- clay 12 -- peat ZROUGH = .05, ! Constant roughness if for all domain ALBEDO = .2, ! Constant albedo if not running soil model SEATMP = 295., ! Constant water surface temperature DTHCON = 0., ! Constant sfc layer temp grad for no soil DRTCON = 0., ! Constant sfc layer moist grad for no soil SOIL_MOIST = 'i', ! n => Homogeneous (standard) ! i,h,a => Heterogenous Soil Moist.Init. ! with file. ! i => INITIAL ! h => HISTORY ! a => INITIAL or HISTORY SOIL_MOIST_FAIL = 'l', ! In case of Heterogenous Soil Moist. ! file was not found, what to do? ! s => STOP the program ! h => Initialize with Homogenous Soil Moist. ! l => Looking for 5 days old files, ! and if not found again then stop. USDATA_IN = '/scratchin/grupos/catt-brams/shared/datain/soil_moisture/2012/GL_SM.GPNR.', ! Soil Moisture File prefix USMODEL_IN = './dataout/UMID/GL_SM.GPNR.', ! File prefix with pre-calculated data by BRAMS SLZ = -5.10, -2.54, -1.26, -0.90, -0.62, -0.30, -0.14, -0.06, -0.02, ! soil grid levels ! Soil grid levels SLMSTR = 0.75, 0.75, 0.70, 0.65, 0.60, 0.5, 0.4, 0.3, 0.3, ! Initial soil moisture STGOFF= 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ! Initial soil temperature offset ! from lowest atmospheric level !-------------------------------------------------------------------------- !----- Urban canopy parameterization -------------------------------- IF_URBAN_CANOPY =0, !------------------------------------------------------------------------- !--------- Eddy diffusion coefficient parameters ----------------------- IDIFFK = 1,2,2,2, ! K flag: ! 1 - Horiz deform/Vert Mellor-Yamada ! 2 - Anisotropic deformormation ! (horiz & vert differ) ! 3 - Isotropic deformation ! (horiz and vert same) ! 4 - Deardorff TKE (horiz and vert same) IHORGRAD = 1, ! 1 - horiz grad frm decomposed sigma grad ! 2 - true horizontal gradient. ! Non-conserving, but allows small DZ CSX = .32,.32,.2,.2, ! Deformation horiz. K's coefficient CSZ = .35,.35,.35,.2, ! Deformation vert. K's coefficient XKHKM = 3.,3.,3.,3., ! Ratio of horiz K_h to K_m for deformation ZKHKM = 3.,3.,3.,3., ! Ratio of vert K_h to K_m for deformation AKMIN = 1.,1.,1.,1., ! Ratio of minimum horizontal eddy ! viscosity coefficientto typical value ! from deformation K !------------------------------------------------------------------------------ ! Microphysics LEVEL = 0, ! Moisture complexity level ICLOUD = 4, ! Microphysics flags IRAIN = 2, !------------------- IPRIS = 5, ! 1 - diagnostic concen. ISNOW = 2, ! 2 - specified mean diameter IAGGR = 2, ! 3 - specified y-intercept IGRAUP = 2, ! 4 - specified concentration IHAIL = 2, ! 5 - prognostic concentration CPARM = .3e9, ! Microphysics parameters RPARM = 1.e-3, !------------------------- PPARM = 0., ! Characteristic diameter, # concentration SPARM = 1.e-3, ! or y-intercept APARM = 1.e-3, GPARM = 1.e-3, HPARM = 3.e-3, GNU = 2.,2.,2.,2.,2.,2.,2., ! Gamma shape parms for ! cld rain pris snow aggr graup hail ! ADVMNT = 0 ! ghostzonelength = 2 !-----------------------------------------------------/scratchout/oper/tempo/BRAMS/ams_05km/datain/2015070200/COND_CPT------------------------ $END $MODEL_SOUND !----------------------------------- ! Sounding specification !----------------------------------- ! Flags for how sounding is specified IPSFLG = 1, ! Specifies what is in PS array ! 0-pressure(mb) 1-heights(m) ! PS(1)=sfc press(mb) ITSFLG = 0, ! Specifies what is in TS array ! 0-temp(C) 1-temp(K) 2-pot. temp(K) IRTSFLG = 3, ! Specifies what is in RTS array ! 0-dew pnt.(C) 1-dew pnt.(K) ! 2-mix rat(g/kg) ! 3-relative humidity in %, ! 4-dew pnt depression(K) IUSFLG = 0, ! Specifies what is in US and VS arrays ! 0-u,v component(m/s) ! 1-umoms-direction, vmoms-speed HS = 0., PS = 1010.,1000.,2000.,3000.,4000.,6000.,8000.,11000.,15000.,20000., 25000., TS = 25.,18.5,12.,4.5,-11.,-24.,-37.,-56.5,-56.5,-56.5,-56.5, RTS = 70.,70.,70.,70.,20.,20.,20.,20.,10.,10.,10., US = 10.,10.,10.,10.,10.,10.,10.,10.,10.,10.,10., VS = 0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0., $END $MODEL_PRINT !----------------------------------- ! Specifies the fields to be printed during the simulation !----------------------------------- NPLT = 0, ! Number of fields printed at each time ! for various cross-sections (limit of 50) IPLFLD = 'UP','VP','WP','PP','THP','RT', ! Field names - see table below ! PLFMT(6) = '0PF7.2', ! Format spec. if default is unacceptable IXSCTN = 3,3,3,3,3,3,3,3, ! Cross-section type (1=XZ, 2=YZ, 3=XY) ISBVAL = 2,2,2,2,2,2,2,2, ! Grid-point slab value for third direction ! The following variables can also be set in the namelist: IAA, ! IAB, JOA, JOB, NAAVG, NOAVG, PLTIT, PLCONLO, PLCONHI, and PLCONIN. ! 'UP' - UP(M/S) 'RC' - RC(G/KG) 'PCPT' - TOTPRE ! 'VP' - VP(M/S) 'RR' - RR(G/KG) 'TKE' - TKE ! 'WP' - WP(CM/S) 'RP' - RP(G/KG) 'HSCL' - HL(M) ! 'PP' - PRS(MB) 'RA' - RA(G/KG) 'VSCL' - VL(M) ! 'THP' - THP(K) ! 'THETA'- THETA(K) 'RL' - RL(G/KG) 'TG' - TG (K) ! 'THVP' - THV(K) 'RI' - RI(G/KG) 'SLM' - SLM (PCT) ! 'TV' - TV(K) 'RCOND'- RD(G/KG) 'CONPR'- CON RATE ! 'RT' - RT(G/KG) 'CP' - NPRIS 'CONP' - CON PCP ! 'RV' - RV(G/KG) 'RTP' - RT'(G/KG) 'CONH' - CON HEAT ! 'CONM' - CON MOIS ! 'THIL' - Theta-il (K) 'TEMP' - temperature (K) ! 'TVP' - Tv' (K) 'THV' - Theta-v (K) ! 'RELHUM'-relative humidity (%) 'SPEED'- wind speed (m/s) ! 'FTHRD'- radiative flux convergence (??) ! 'MICRO'- GASPRC ! 'Z0' - Z0 (M) 'ZI' - ZI (M) 'ZMAT' - ZMAT (M) ! 'USTARL'-USTARL(M/S) 'USTARW'-USTARW(M/S) 'TSTARL'-TSTARL (K) ! 'TSTARW'-TSTARW(K) 'RSTARL'-RSTARL(G/G) 'RSTARW'-RSTARW(G/G) ! 'UW' - UW (M*M/S*S) 'VW' - VW (M*M/S*S) ! 'WFZ' - WFZ (M*M/S*S) 'TFZ' - TFZ (K*M/S) ! 'QFZ' - QFZ (G*M/G*S) 'RLONG'- RLONG ! 'RSHORT'-RSHORT $END $ISAN_CONTROL !----------------------------------- ! Isentropic control !----------------------------------- ISZSTAGE = 1, ! Main switches for isentropic-sigz IVRSTAGE = 1, ! "varfile" processing ISAN_INC = 0600, ! ISAN processing increment (hhmm) ! range controlled by TIMMAX, ! IYEAR1,...,ITIME1 GUESS1ST = 'PRESS', ! Type of first guess input- 'PRESS', 'RAMS' I1ST_FLG = 1, ! What to do if first guess file should be ! used but does not exist. ! 1=I know it may not be there, ! skip this data time ! 2=I screwed up, stop the run ! 3=interpolate first guess file from ! nearest surrounding times, stop if unable ! (not yet available) IUPA_FLG = 3, ! UPA-upper air, SFC-surface ISFC_FLG = 3, ! What to do if other data files should be ! uesed, but does not exist. ! 1 = I know it may not be there, ! skip this data time ! 2 = I screwed up, stop the run ! 3 = Try to continue processing anyway ! Input data file prefixes IAPR = '/scratchin/grupos/catt-brams/shared/datain/ATMOS_DATA/GLOBAL/GAMRAMT126/DP/2012/dp' , ! Input press level dataset ! Há também os DPs em /scratchin/grupos/catt-brams/shared/datain/ATMOS_DATA/GLOBAL/GAMRAMT126/DP !apenas os anos de 2004 a 2012 ! Há DPs em '/scratchout/oper/tempo/BRAMS/ams_05km/datain/2015071400/COND_CPT/dp' !porem apenas os ultimos 20 dias atuais ! Caso voce venha a utilizar previsao eles estao zipados em /stornext/oper/tempo/BRAMS/ams_20km e ams_05km ! Voce deve escolher da data e coloca-los des-zipados em tua pasta DP no scratchin IARAWI = '', ! Archived rawindsonde file name IASRFCE = '', ! Archived surface obs file name ! File names and dispose flags VARPFX = './dataout/IVAR/iv-brams', ! isan file names prefix IOFLGISZ = 0, ! Isen-sigz file flag: 0 = no write, 1 = write IOFLGVAR = 1, ! Var file flag: 0 = no write, 1 = write $END $ISAN_ISENTROPIC !----------------------------------- ! Isentropic and sigma-z processing !----------------------------------- !----------------------------------- ! Specify isentropic levels !----------------------------------- NISN = 43, ! Number of isentropic levels LEVTH = 280,282,284,286,288,290,292,294,296,298,300,303,306,309,312, 315,318,321,324,327,330,335,340,345,350,355,360,380,400,420, 440,460,480,500,520,540,570,600,630,670,700,750,800, !----------------------------------- ! Analyzed grid information: !----------------------------------- NIGRIDS = 1, ! Number of RAMS grids to analyze TOPSIGZ = 20000., ! Sigma-z coordinates to about this height HYBBOT = 4000., ! Bottom (m) of blended sigma-z/isentropic ! layer in varfiles HYBTOP = 6000., ! Top (m) of blended sigma-z/isentropic layr SFCINF = 1000., ! Vert influence of sfc observation analysis SIGZWT = 1., ! Weight for sigma-z data in varfile: ! 0.= no sigz data, ! 1.=full weight from surface to HYBBOT NFEEDVAR = 1, ! 1=feed back nested grid varfile, 0=dont !----------------------------------- ! Observation number limits: !----------------------------------- MAXSTA = 150, ! maximum number of rawindsondes ! (archived + special) MAXSFC = 1000, ! maximum number of surface observations NOTSTA = 0, ! Number of stations to be excluded NOTID = 'r76458', ! Station ID to be excluded ! Prefix with 'r' for rawindsonde, ! 's' for surface IOBSWIN = 1800, STASEP = .1, ! Minimum sfc station separation in degrees. ! Any surface obs within this distance ! of another obs will be thrown out ! unless it has less missing data, ! in which case the other obs will be ! thrown out. IGRIDFL = 3, ! Grid flag=0 if no grid point, only obs ! 1 if all grid point data and obs ! 2 if partial grid point and obs ! 3 if only grid data ! 4 all data... fast GRIDWT = .01,.01, ! Relative weight for the gridded press data ! compared to the observational data in ! the objective analysis GOBSEP = 5., ! Grid-observation separation (degrees) GOBRAD = 5., ! Grid-obs proximity radius (degrees) WVLNTH = 1200.,900., ! Used in S. Barnes objective analysis. ! Wavelength in km to be retained to the ! RESPON % from the data to the upper air ! grids. SWVLNTH = 750.,300., ! Wavelength for surface objective analysis RESPON = .90,.9, ! Percentage of amplitude to be retained. $END $POST NVP = 6, VP = 'u', 'v', 'tempc', 'topo', 'geo', 'w', GPREFIX = './dataout/POS/anl' ANL2GRA = 'ONE', PROJ='YES', MEAN_TYPE ='VMP', LATI = -90.,-90., -90., LATF = +90.,+90., +90., LONI = -180.,-180., -180., LONF = 180.,180., 180., ZLEVMAX = 32,1,1, IPRESSLEV = 0, INPLEVS = 1, IPLEVS = 72, ASCII_DATA ='NO', SITE_LAT =-19.0, SITE_LON =-54.4, $END $DIGITALFILTER applyDigitalFilter = .false., digitalFilterTimeWindow = 43200., $END PK &‰GÜ¥y$445Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/run_testUT èÁU‡ªËUux ééRodada teste do BRAMS_5 $ cd BRAMS/RUN_BRAMS $ gedit RAMSIN_5 altere RUNTYPE = 'INITIAL' para MAKESFC o MAKESFC gera os arquivos de superfície na pasta SFC no scratchin Observe que algumas variáveis PODEM receber dados de entrada que tem que coincidir com a data que você colocou no " Start of simulation" São estes:HFILIN, PASTFN e NUD_HFILE Ovserve também que algumas varíáveis TEM que receber dados de entrada segundo a data que você colocou no " Start of simulation" São estes: USDATA_IN e IAPR Se os dados vierem de arquivos operacionais, isto é do scratchout, estes são apagados a cada 40 dias, logo se for rodar utilizando dados do scratchout há de ser uma data atual. sertifique que será utilizado serial $ gedit run_BRAMS.sh Mude para serial rode o modelo $ ./run_BRAMS.sh dê o comando para ver se está rodando $ qstat -u "seu_nome" Se quiser acompanhar a mensagem de saída digite $ tail -f makevfile.log são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta SFC $ gedit RAMSIN_5 altere RUNTYPE = 'MAKESFC' para MAKEVFILE rode o modelo $ ./run_BRAMS.sh são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta IVAR Foi utilizado os arquivos DPs baseado na data que você escolheu rodar, IYEAR1, se você precisa rodar alguma danta antiga, é necessário arranjar arquivos DPs antigos. $ gedit RAMSIN_5 altere RUNTYPE = 'MAKEVFILE' para INITIAL A faze INITIAL normalmente precisa de muitos processadores, logo, mude o run_brams para paralelo $ gedit run_BRAMS.sh Mude para paralelo rode o modelo $ ./run_BRAMS.sh são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta ANL HIS UMID e POS Na pasta POS há os arquivos .ctl cujo são abertos pelo grads. $cd POS $ grads Possíveis erros que você cometerá no futuro - tem que haver uma proporção entre as variáveis Deltax(y) com a DTlong - dados de entrada NUD_HFILE, HFILIN, PASTFN, USDATA_IN IAPR, ITOPTFN ao NDVIFN, desatualizados, ou não existem. PK {uæFY3CcAA3Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/READMEUT Y¾šUñŸÌUux ééLeia nesta sequência 1 installation_BRAMS_in_tupa 2 run_test PK ŠtæF‚Ilb445Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/xMit5.shUT “¼šUñŸÌUux éé#!/bin/bash # # script to run BRAMS on MPI/OMP mixed mode code at tupa # # usage: Xmit.sh TotMpi OmpMpi MpiNod # where: # TotMpi: total number of MPI ranks # OmpMpi: number of OpenMP threads per MPI rank # MpiNod: number of MPI ranks per node # # # # script arguments # export TotMpi=$1 export OmpMpi=$2 export MpiNod=$3 export walltime=$4 export ccatt=$5 export RamsIn=$6 #export expname=$7 totMpiReal=$(($TotMpi-24)) # # job name # RunName=jules-brams OutName=ccatt-reg${TotMpi}M${OmpMpi}O${MpiNod}CN # # directories # executable full path # export DirBase=`pwd` cd ${DirBase} export executable=${DirBase}/${ccatt} # #xMit.sh #xMit.sh 120 1 24 #xMit.sh 120 1 24 # starts producing queue script file qsub.sh # cat < qsub.sh #!/bin/bash #PBS -l mppwidth=${TotMpi} #PBS -l mppdepth=${OmpMpi} #PBS -l mppnppn=${MpiNod} #PBS -N ${RunName} #PBS -o ${DirBase}/saida.out #PBS -e ${DirBase}/saida.err #PBS -A CPTEC #PBS -q pesq #PBS -l walltime=${walltime} cd ${DirBase} export OMP_NUM_THREADS=${OmpMpi} export TMPDIR=${DirBase}/tmp #export MPICH_UNEX_BUFFER_SIZE=162914560 #export MPICH_PTL_UNEX_EVENTS=655360#327680 #163840 #export MPICH_MAX_SHORT_MSG_SIZE=1024 #export MPICH_FAST_MEMCPY=1 ulimit -s unlimited ulimit -c unlimited #sereal para um processador for makevfile/makesfc time aprun -m 2Mhs -b -ss -n 1 -N 1 ${executable} -f ${RamsIn} > makevfile.log #SERIAL #paralelo for INITIAL #time aprun -n 1 -N 1 ${executable} -f ${RamsIn} : -n ${totMpiReal} -d ${OmpMpi} -N ${MpiNod} ${executable} -f ${RamsIn} > initial.log #PARALEL0 #./xMit5.sh 24 1 24 00:30:00 jules3.0-ccatt-brams-5.0-opt.pgi-cray-RELACS_TUV RAMSIN EOF0 # # finishes producing file qsub.sh and moves to executable directory # # # qsub with variable # PEs per node # export PBS_SERVER=eslogin13 qsub qsub.sh exit PK ˜zðFmÝÝEManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/Ambiente_BRAMS_5_no_tupaUT ö§UñŸÌUux éé#!/bin/bash #Aqui você vai criar o seu ambiente de trabalho BRAMS quinta versão. #o BRAMS tem que ser rodado dentro do scratchin #se você mudar o endereço das pastas aqui, não esqueça de mudar também no RAMSIN #se você irá utilizar os dados SFC e IVAR por pouco tempo, coloca-os no scratchout, o padrão é no scratchout. cd $WORK_HOME mkdir BRAMS cd BRAMS mkdir dataout cd dataout mkdir SFC IVAR #se você precisa utilizar os dados de pré-processamento por muito tempo, comente a linha acima e descomente a criação detas no scratchin. #Por falta e de espaço será utilizado estas pastas no scractchout mkdir ANL HIS UMID POS #na pasta POS fica o pós-processamento, nela há os arquivos .ctl, que são abertos pelo grads #local onde será rodado o modelo cd $SUBMIT_HOME/BRAMS mkdir RUN_BRAMS cd RUN_BRAMS mkdir dataout cd dataout ln -sf $WORK_HOME/BRAMS/dataout/ANL ./ ln -sf $WORK_HOME/BRAMS/dataout/HIS ./ ln -sf $WORK_HOME/BRAMS/dataout/UMID ./ ln -sf $WORK_HOME/BRAMS/dataout/POS ./ ln -sf $WORK_HOME/BRAMS/dataout/SFC ./ ln -sf $WORK_HOME/BRAMS/dataout/IVAR ./ cd $SUBMIT_HOME/BRAMS/RUN_BRAMS mkdir datain cd datain mkdir COND_SRC_TRC mkdir DP #nesta pasta fica os teus DPs caso necessite de DPs que não estejam nos endereços indicados. mkdir obs #pasta com dados de observação mkdir H #no RAMSIN pede que exista esta pasta, que serve para armazenar uma condição histórica de nudging mkdir tmp #arquivos temporários cd $SUBMIT_HOME/BRAMS/RUN_BRAMS ln -sf ../build/jules3.0-ccatt-brams-5.0-opt.pgi-cray-RELACS_TUV ./ #copilador, RELACS_TUV é o copilador padrao ln -sf ../jules.in ./ #Voce ainda deve colocar seu RANSIN_5, xMit5.sh e run_BRAMS.sh nesta pasta mv ../RANSIN_5 xMit5.sh run_BRAMS.sh ./ PK ` G0Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/UT ù°ÌU6±ÌUux ééPK ÀlGp(‹N  OManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/installation_BRAMS_in_tupa_5-01UT hêÀUñŸÌUux éé instalação do BRAMS versão 5.1 ou 5.01 1- logar no eslogin01 comando: ssh eslogin01 -XC 2- entrar no scratchin comando: cd $SUBMIT_HOME 3- baixar o BRAMS, comando: svn export https://svn.cptec.inpe.br/brams/branches/BRAMS-5.01 ou: svn checkout Obs: se você pertence ao grupo de pesquisa BRAMS e irá desenvolver algo novo no modelo, é aconselhavel copiar do trunk para o branch, e após baixar do branch com o comando: svn checkout https:"caminho_do_branch", com este comando é possível manter um vinculo da tua área no tupã com o site, permitindo com que todos trabalhem em um mesmo projeto. 4-comando: module unload hdf5 5-comando: module load hdf5-parallel 6-comando: cd BRAMS-5.01/build 7- escreva o seguinte comando: ./configure --with-fpcomp=ftn --with-cpcomp=ftn --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=$SUBMIT_HOME/RMS/atm/BRAMS-5.01/ --enable-jules 8- depois make 9- depois make install 10- pegar os arquivos RAMSIN_5-01, xMit5.sh, run_BRAMS_5.01.sh, Ambiente_BRAMS_5-01_no_tupa do repositório do assim_dados e coloca-los dentro da pasta bin. *** Para isto entre no site https://projetos.cptec.inpe.br/projects/brams/files Baixe os arquivos RANSIN_5-01, xMit5.sh, run_BRAMS_5.01.sh, Ambiente_BRAMS_5-01_no_tupa entre na pasta bin do BRAMS-5.01 comando: cd $SUBMIT_HOME/BRAMS-5.01/bin crie uma cópia dos arquivos do site comando: gedit RAMSIN_5-01 (copie o RAMSIN_5-01 que você baixou para dentro deste arquivo RAMSIN_5-01, salve e feche) comando: gedit xMit5.sh (copie o xMit5.sh que você baixou para dentro deste arquivo, salve e feche) faça o mesmo com os outros arquivos 13-permita a execução dos arquivos baixados comando:chmod 775 Ambiente_BRAMS_5-01_no_tupa run_BRAMS_5.01.sh xMit5.sh 14- execute o Ambiente_BRAMS_5-01_no_tupa para criar as pastas e links necessários comando:./Ambiente_BRAMS_5-01_no_tupa 15- para fazer uma rodada teste leia run_test Fim das etapas de instalação do BRAMS Qualquer dúvida claudio.pavani@gmail.com possíves erros há de se preparar o ambiente de copilação, escolha PGI, opção 6 preparar o ambiente de copilação, comando:source /usr/bin/development_config verifique se o copilador pgi é atual, verção 12 ou melhor comando: module list Instalando fora da tupa As informações abaixo são úteis caso você deseje instalar em uma outra máquina. Basicamente altere o que é posto na frente do comando "./configure" de acordo com o copilador que há em tua máquina, no tupã foi padronizado o ftn dentro da pasta build siga as instruções abaixo conforme compilador desejado. Mini tutorial de compilação Lembre-se de trocar o caminho de instalação no --prefix Compilação Intel: Usando mpif90 na tupa module swap tupa2 aux ./configure --with-hdf5lib=/scratchin/grupos/catt-brams/shared/libs/intel/hdf5-1.8.8_parallel --with-zlib=/scratchin/grupos/catt-brams/shared/libs/intel/zlib-1.2.8/lib --with-fpcomp=mpif90 --with-cpcomp=mpicc --with-fcomp=/stornext/home/poluicao/intel/composerxe-2011.4.191/bin/intel64/ifort --with-ccomp=gcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install Compilação PGI: Usando mpif90 na tupa module swap tupa2 aux ./configure --with-hdf5lib=/scratchin/ grupos/catt-brams/shared/libs/pgi/hdf5-1.8.11-parallel --with-zlib=/scratchin/grupos/catt-brams/shared/libs/pgi/zlib-1.2.8/lib --with-fpcomp=mpif90 --with-cpcomp=mpicc --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install Usando ftn: module unload hdf5 module load hdf5-parallel ./configure --with-fpcomp=ftn --with-cpcomp=ftn --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install JULES: O default é sem jules, se quiser o jules precisa colocar o --enable-jules PK šRïF…Ê‚¡||AManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/run_BRAMS_5-01.shUT 3^¦UñŸÌUux éé#!/bin/sh export DirBase=`pwd` export TMPDIR=${DirBase}/tmp # versao 5.01 RAMSIN=RAMSIN_5-01 CCATT=brams-5.01-CHEM_RELACS_TUV-jules-3.0 # for initial #paralelo ./xMit5.sh 240 1 24 1:00:00 $CCATT $RAMSIN #./xMit5.sh 240 1 24 1:00:00 brams-5.01-CHEM_RELACS_TUV-jules-3.0 RAMSIN_5-01 # for makevfile/makesfc #serial #./xMit5.sh 24 1 24 00:30:00 $CCATT $RAMSIN exit exit PK }|îF N¸JJ6Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/READMEUT ŽV¥UñŸÌUux ééLeia nesta sequência 1 installation_BRAMS_in_tupa_RMS 2 run_test_5-01 PK ŠtæF‚Ilb448Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/xMit5.shUT “¼šUñŸÌUux éé#!/bin/bash # # script to run BRAMS on MPI/OMP mixed mode code at tupa # # usage: Xmit.sh TotMpi OmpMpi MpiNod # where: # TotMpi: total number of MPI ranks # OmpMpi: number of OpenMP threads per MPI rank # MpiNod: number of MPI ranks per node # # # # script arguments # export TotMpi=$1 export OmpMpi=$2 export MpiNod=$3 export walltime=$4 export ccatt=$5 export RamsIn=$6 #export expname=$7 totMpiReal=$(($TotMpi-24)) # # job name # RunName=jules-brams OutName=ccatt-reg${TotMpi}M${OmpMpi}O${MpiNod}CN # # directories # executable full path # export DirBase=`pwd` cd ${DirBase} export executable=${DirBase}/${ccatt} # #xMit.sh #xMit.sh 120 1 24 #xMit.sh 120 1 24 # starts producing queue script file qsub.sh # cat < qsub.sh #!/bin/bash #PBS -l mppwidth=${TotMpi} #PBS -l mppdepth=${OmpMpi} #PBS -l mppnppn=${MpiNod} #PBS -N ${RunName} #PBS -o ${DirBase}/saida.out #PBS -e ${DirBase}/saida.err #PBS -A CPTEC #PBS -q pesq #PBS -l walltime=${walltime} cd ${DirBase} export OMP_NUM_THREADS=${OmpMpi} export TMPDIR=${DirBase}/tmp #export MPICH_UNEX_BUFFER_SIZE=162914560 #export MPICH_PTL_UNEX_EVENTS=655360#327680 #163840 #export MPICH_MAX_SHORT_MSG_SIZE=1024 #export MPICH_FAST_MEMCPY=1 ulimit -s unlimited ulimit -c unlimited #sereal para um processador for makevfile/makesfc time aprun -m 2Mhs -b -ss -n 1 -N 1 ${executable} -f ${RamsIn} > makevfile.log #SERIAL #paralelo for INITIAL #time aprun -n 1 -N 1 ${executable} -f ${RamsIn} : -n ${totMpiReal} -d ${OmpMpi} -N ${MpiNod} ${executable} -f ${RamsIn} > initial.log #PARALEL0 #./xMit5.sh 24 1 24 00:30:00 jules3.0-ccatt-brams-5.0-opt.pgi-cray-RELACS_TUV RAMSIN EOF0 # # finishes producing file qsub.sh and moves to executable directory # # # qsub with variable # PEs per node # export PBS_SERVER=eslogin13 qsub qsub.sh exit PK ‰GÛï÷oo=Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/run_test_5-01UT ÈÁU‡ªËUux ééRodada teste do BRAMS_5-01 $ cd BRAMS-5.01/bin $ gedit RAMSIN_5-01 altere RUNTYPE = 'INITIAL' para MAKESFC o MAKESFC gera os arquivos de superfície na pasta SFC no dataout Observe que algumas variáveis PODEM receber dados de entrada que tem que coincidir com a data que você colocou no " Start of simulation" São estes:HFILIN, PASTFN e NUD_HFILE Ovserve também que algumas varíáveis TEM que receber dados de entrada segundo a data que você colocou no " Start of simulation" São estes: USDATA_IN e IAPR Se os dados vierem de arquivos operacionais, isto é do scratchout, estes são apagados a cada 40 dias, logo se for rodar utilizando dados do scratchout há de ser uma data atual. sertifique que será utilizado serial $ gedit run_BRAMS_5-01.sh Mude para serial rode o modelo $ ./run_BRAMS_5-01.sh dê o comando para ver se está rodando $ qstat -u "seu_nome" Se quiser acompanhar a mensagem de saída digite $ tail -f makevfile.log são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta SFC $ gedit RAMSIN_5-01 altere RUNTYPE = 'MAKESFC' para MAKEVFILE rode o modelo $ ./run_BRAMS_5-01.sh são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta IVAR Foi utilizado os arquivos DPs baseado na data que você escolheu rodar, IYEAR1, se você precisa rodar alguma danta antiga, é necessário arranjar arquivos DPs antigos. $ gedit RAMSIN_5-01 altere RUNTYPE = 'MAKEVFILE' para INITIAL A faze INITIAL normalmente precisa de muitos processadores, logo, mude o run_brams para paralelo $ gedit run_BRAMS_5-01.sh Mude para paralelo rode o modelo $ ./run_BRAMS_5-01.sh são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta ANL HIS UMIDADE e POSPROCESS Na pasta POSPROCESS há os arquivos .ctl cujo são abertos pelo grads. $cd POSPROCESS $ grads Possíveis erros que você cometerá no futuro - tem que haver uma proporção entre as variáveis Deltax(y) com a DTlong - dados de entrada NUD_HFILE, HFILIN, PASTFN, USDATA_IN IAPR, ITOPTFN ao NDVIFN, desatualizados, ou não existem. PK †uðFp‚/KManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/Ambiente_BRAMS_5-01_no_tupaUT kí§UñŸÌUux éé#!/bin/bash #Aqui você vai criar o seu ambiente de trabalho BRAMS-5.01. #o BRAMS tem que ser rodado dentro do scratchin #se você mudar o endereço das pastas aqui, não esqueça de mudar também no RAMSIN #se você irá utilizar os dados SFC e IVAR por pouco tempo, coloca-os no scratchout, o padrão é no scratchout. cd $WORK_HOME mkdir BRAMS-5.01 cd BRAMS-5.01 mkdir dataout cd dataout mkdir SFC IVAR #se você precisa utilizar os dados de pré-processamento por muito tempo, comente a linha acima e descomente a criação detas no scratchin. #Por falta e de espaço será utilizado estas pastas no scractchout mkdir ANL HIS UMIDADE POSPROCESS #na pasta POSPROCESS fica o pós-processamento, nela há os arquivos .ctl, que são abertos pelo grads #local onde será rodado o modelo cd $SUBMIT_HOME/BRAMS-5.01/bin mkdir dataout cd dataout ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/ANL ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/HIS ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/UMIDADE ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/POSPROCESS ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/SFC ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/IVAR ./ cd $SUBMIT_HOME/BRAMS-5.01/bin mkdir datain cd datain mkdir COND_SRC_TRC mkdir DP #nesta pasta fica os teus DPs caso necessite de DPs que não estejam nos endereços indicados. mkdir obs #pasta com dados de observação mkdir H #no RAMSIN pede que exista esta pasta, que serve para armazenar uma condição histórica de nudging mkdir tmp #arquivos temporários PK qpðF¸ÇhŠŠ;Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/RAMSIN_5-01UT æã§UñŸÌUux éé $MODEL_GRIDS EXPNME = 'BRAMS_5.01', RUNTYPE = 'INITIAL', ! Type of run: MAKESFC, INITIAL, HISTORY, ! MAKEVFILE, or MEMORY TIMEUNIT = 'h', ! 'h','m','s' - Time units of TIMMAX, TIMSTR, VTIME TIMMAX = 48., ! Final time of simulation ! Start of simulation or ISAN processing IMONTH1 =06, ! Month IDATE1 =25, ! Day IYEAR1 =2012, ! Year ITIME1 =0000, ! GMT of model TIME = 0. ! Grid specifications NGRIDS = 1, ! Number of grids to run ! **version 5 of BRAMS only admits 1 grid** NNXP = 110, 318, 154, ! Number of x gridpoints NNYP = 110, 346, 102, ! Number of y gridpoints NNZP = 41, 38, 38, ! Number of z gridpoints NZG = 1, ! Number of soil layers NZS = 1, ! Maximum number of snow layers NXTNEST = 0,1,2,3, ! Grid number which is the next coarser grid ! Coarse grid specifications IF_ADAP = 0, IHTRAN = 1, ! 0-Cartesian, 1-Polar stereo DELTAX = 20000., ! X grid spacing DELTAY = 20000., ! Y grid spacing DELTAZ = 70., ! Z grid spacing (set to 0. to use ZZ) DZRAT = 1.1, ! Vertical grid stretch ratio DZMAX = 1000., ! Maximum delta Z for vertical stretch ZZ = 0.0, 20.0, 46.0, 80.0, 120.0, 165.0, 220.0, 290.0, 380.0, 480.0, 590.0, 720.0, 870.0, 1030.0, 1200.0, 1380.0, 1595.0, 1850.0, 2120.0, 2410.0, 2715.0, 3030.0, 3400.0, 3840.0, 4380.0, 5020.0, 5800.0, 6730.0, 7700.0, 8700.0, 9700.0, 10700., 11700., 12700., 13700., 14700., 15700., 16700., 17700., 18700., 19700., ! Vertical levels if DELTAZ = 0 DTLONG = 30., ! Coarse grid long timestep NACOUST = 3, ! Small timestep ratio IDELTAT = 0, ! =0 - constant timesteps ! >0 - initial computation <0 - variable ! Nest ratios between this grid ! and the next coarser grid. NSTRATX = 1,4,4,4, ! x-direction NSTRATY = 1,4,4,4, ! y-direction NNDTRAT = 1,3,3,3, ! Time NESTZ1 = 0, ! Contort coarser grids if negative NSTRATZ1 = 2,2,2,1, ! NESTZ2 = 0, ! Contort coarser grids if negative NSTRATZ2 = 3,3,2,1, ! POLELAT = -1.25, ! Latitude of pole point POLELON = -62.5, ! Longitude of pole point CENTLAT = -1.25, -23.0, ! Latitude of grid center CENTLON = -62.5, -46.65,! Longitude of grid center ! Grid point on the next coarser ! nest where the lower southwest ! corner of this nest will start. ! If NINEST or NJNEST = 0, use CENTLAT/LON NINEST = 1,0,0,0, ! i-point NJNEST = 1,0,0,0, ! j-point NKNEST = 1,1,1,1, ! k-point NNSTTOP = 1,1,1,1, ! Flag (0-no or 1-yes) if this NNSTBOT = 1,1,1,1, ! Nest goes the top or bottom of the ! coarsest nest. $END $CCATT_INFO CCATT = 0, ! 1 - CCATT environmental model activated ! 0 - OFF CHEMISTRY = -1, ! -1- only atmospheric model ! 0- only tracer transport with atmos. model ! 1- activate the loss/production by kinetic chemical ! and photochemical reactions, with solver 1 ! 2- activate the loss/production by kinetic chemical ! and photochemical reactions, with solver 2 ! 3- Rosenbrock 2nd order - dynamic timestep ! 4- Rosenbrock "RODAS3" 3rd order - dynamic timestep SPLIT_METHOD = 'SYMMETRIC',! Splitting operator method !'SYMMETRIC' = sequential symmetric (D->Q->D) !'SEQUENTIAL'= sequential at right (D->Q ) !'PARALLEL' = original method (D->) ! (Q->) CHEM_TIMESTEP = 80., ! chemistry timestep integration (seconds) ! should be an multiple of dtlong (max 4) CHEMISTRY_AQ = 0, ! 1 - ON ! 0 - OFF aqueous chemistry CHEM_ASSIM = 0, ! 4dda for chemistry species with mocage data ! 0 - off, 1 - on SRCMAPFN = 'NONE', ! Source Map file prefix ! use 'NONE' to turn off emissions ! ./datain/COND_SRC_TRC/Queima_source RECYCLE_TRACERS = 0, DEF_PROC_SRC = 'STOP', ! what to do if src files are not available ! (options: STOP, LAST_SOURCES) DIUR_CYCLE = 1,1,1 ! only works with 1 for all emissions (keep 1). NA_EXTRA2D = 0, ! Number of extras 2d arrays NA_EXTRA3D = 0, ! Number of extras 3d arrays PLUMERISE = 0, ! Plume-rise process for biomass burning emissions ! 0 - off, 1 - on PRFRQ = 7200., ! plume-rise calculation update frequency VOLCANOES = 0, ! Volcanic ASH emission/transport/sedimentation ! 0 - off, 1 - on AEROSOL = 0, ! Simple monodisperse aerosol model ! 0 - off, 1 - on $END $TEB_SPM_INFO TEB_SPM = 0, ! 1-TEB activated 0-off $END $MODEL_FILE_INFO ! Variable initialization input INITIAL = 2, ! Initial fields - 1=horiz.homogeneous, ! ------ Analysis nudging parameters ----------------------------------- NUD_TYPE = 2, ! =1 - nudge from history files(1-way nest) ! =2 - nudge from varfiles ! =0 - no analysis nudging ! 2=variable ! VARFPFX = './dataout/IVAR/ADAPT', ! Varfile initialization file prefix VWAIT1 = 0., ! wait between each VFILE check (s) VWAITTOT = 0., ! total wait befor giving up on a VFILE (s) NUD_HFILE = './dataout/ANL/anal', ! Header file name for history nudging files (only prefix is used) ! /scratchout/oper/tempo/BRAMS/ams_20km/dataout/2012062500/ANL/BRAMS NUDLAT = 25, ! Number of points in lateral bnd region TNUDLAT = 900., ! Nudging time scale(s) at lateral boundary TNUDCENT = 0., ! Nudging time scale(s) in center of domain TNUDTOP = 10800., ! Nudging time scale (s) at top of domain ZNUDTOP = 12000., ! Nudging at top of domain above height(m) WT_NUDGE_GRID = 1., 0.7, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid ! These weights will multiply the base timescales ! to determine full nudging weight. ! (Timescales)/(WT_NUDGE_*) ! must be larger than DTLONG WT_NUDGE_UV = 1., ! Anal nudging weight for u and v WT_NUDGE_TH = 1., ! Anal nudging weight for theta WT_NUDGE_PI = 1., ! Anal nudging weight for pi WT_NUDGE_RT = 1., ! Anal nudging weight for r_tot !------------------------------------------------------------------------- !----------- Condensate nudging ------------------------------------------ NUD_COND = 0, ! Only nudge total water where condensate ! exists (from previous history files, HFILIN) COND_HFILE = ' ', !./datain/H/a-H-2001-07-21-000000-head.txt ! Header file name for cond nudging history files (only prefix is used) TCOND_BEG =0., TCOND_END =21600., ! Model time start and end of cond nudging (sec) T_NUDGE_RC = 3600., ! Cond nudging timescale for r_total WT_NUDGEC_GRID = 1., 0.8, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid !------------------------------------------------------------------------- !--------- Observation Data Assimilation (ODA) --------------------------------- IF_ODA = 0, ! Flag to turn on oda ODA_UPAPREFIX = './datain/obs/dp-r', ! File prefix for upper air obs ODA_SFCPREFIX = './datain/obs/dt-s', ! File prefix for surface obs FRQODA=300., ! Frequency of obs analysis TODABEG=0., TODAEND=99999999., ! Model time start and end of oda (sec) TNUDODA= 900., ! Nudging timescale for each grid WT_ODA_GRID = 1., 0.8, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid WT_ODA_UV = 1., ! ODA nudging weight for u and v WT_ODA_TH = 1., ! ODA nudging weight for theta WT_ODA_PI = 1., ! ODA nudging weight for pi WT_ODA_RT = 1., ! ODA nudging weight for r_tot ! Following are radii that affect the "smoothness" of the analyzed fields ! The SFCE and UPAE are the radii where the affect falls off to e**(-2) ! The SFC0 and UPA0 are the radii where the affect falls off to 0 ! Values are grid dependent. RODA_SFCE = 50000.,100.,100.,100., RODA_SFC0 = 100000.,100000.,100000.,100000., RODA_UPAE = 100000.,200.,200.,200., RODA_UPA0 = 200000.,2000.,2000.,2000., RODA_HGT = 3000.,3000.,3000.,3000., ! Height at which transition from SFC radii ! to UPA radii occurs RODA_ZFACT = 100.,100.,100.,100., ! Vertical factor related to dx/dz ! - Time interpolate limit (TIL)- if the future-past obs time ! is > this limit, do not use to interpolate ! ! - Time extrapolate limit (TEL)- if past/future obs is greater than TIL, ! but less than TEL, use the obs ODA_SFC_TIL=21600., ODA_SFC_TEL=900., ODA_UPA_TIL=43200., ODA_UPA_TEL=21600., !------------------------------------------------------------------------ !----- Cumulus inversion tendency input ----- IF_CUINV = 0, CU_PREFIX = './t5-C-', TNUDCU=900., WT_CU_GRID=1., 1., .5, TCU_BEG =0., TCU_END=7200., CU_TEL=3600., CU_TIL=21600., !------------------------------------------------------------------------ ! History file input TIMSTR = 0., ! Time of history start (see TIMEUNIT) HFILIN = 'NONE', ! Input history file name ! Analysis file input for assimilation (currently LEAF variables) IPASTIN = 0, ! Initialize various fields from analysis file? ! 1=yes, 0=no PASTFN = 'NONE', ! Input analysis file name ! History/analysis file output IPOS = 2, ! 0-no files, 2-grads files, 1-hdf5(not available yet) IOUTPUT = 2, ! 0-no files, 1-hdf5 files, 2-vfm files, 3-mpiio files, 4-binary(not available yet) HFILOUT = './dataout/HIS/ADAPT5.1', ! History file prefix AFILOUT = './dataout/ANL/ADAPT5.1', ! Analysis file prefix ICLOBBER = 1, ! 0=stop if files exist, 1=overwite files IHISTDEL = 1, ! 0=keep all hist files, 1=delete previous FRQHIS = 86400., ! History file frequency FRQANL = 3600., ! Analysis file frequency !----------------------------------------------------------------------- FRQLITE = 0., ! Analysis freq. for "lite" variables ! = 0 : no lite files XLITE = '/0:0/', ! nums>0 are absolute grid indexes YLITE = '/0:0/', ! nums<0 count in from the domain edges ZLITE = '/0:0/', ! nums=0 are domain edges NLITE_VARS=0, LITE_VARS='UP','VP','WP','swdr','THETA', !----------------------------------------------------------------------- AVGTIM = 0., ! Averaging time for analysis variables ! must be abs(AVGTIM) <= FRQANL ! > 0 : averaging is centered at FRQANL ! < 0 : averaging ends at FRQANL ! = 0 : no averaged files FRQMEAN = 0., ! Analysis freq. for "averaged" variables FRQBOTH = 0., ! Analysis freq. for Both "averaged" and ! "lite" variables KWRITE = 0, ! 1-write,0-don't write scalar K's to anal. ! Printed output controls FRQPRT = 21600, ! Printout frequency INITFLD = 0, ! Initial field print flag 0=no prnt,1=prnt ! Input topography variables TOPFILES = './dataout/SFC/top', ! File path and prefix for topo files. SFCFILES = './dataout/SFC/sfc', ! File path and prefix for surface SSTFPFX = './dataout/SFC/sst', ! Path and prefix for sst files NDVIFPFX = './dataout/SFC/ndv', ! Path and prefix for ndvi files ITOPTFLG = 1,1,1,1,0, ! 2 - Fill data in "rsurf" ISSTFLG = 1,1,1,1,0, ! 0 - Interpolate from coarser grid IVEGTFLG = 1,1,1,1,0, ! 1 - Read from standard Lat/Lon data file ISOILFLG = 1,1,1,1,0, ! soil files not yet available: avoid isoilflg=1 NDVIFLG = 1,1,1,1,0, ! !avoid isoilflg=1 NOFILFLG = 2,2,2,2, ! 2 - Fill data in "rsurf" ! 0 - Interpolate from coarser grid IUPDNDVI = 1, ! 0 - No update of NDVI values during run IUPDSST = 1, ! 0 - No update of SST values during run ! 1 - Update SST values during run ! The following only apply for IxxxxFLG=1 ITOPTFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/elev10m/H', '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/topo1km/EL', ISSTFN = '/scratchin/oper/tempo/BRAMS/sst_week/W', IVEGTFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/GL_OGE_INPE/OGE', '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/veg/ogedata/GE', ISOILFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/GL_FAO_INPE/FAO', NDVIFN = '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI-MODIS/N', '/scratchin/oper/io/BRAMS/datafix/ndvi/N', '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI/N', '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI-MODIS_h5/N', ! Topography scheme ITOPSFLG = 0,0,0,1, ! 0 = Average Orography ! 1 = Silhouette Orography ! 2 = Envelope Orography ! 3 = Reflected Envelope Orography TOPTENH = 0.,0.,0.,0., ! For ITOPSFLG=1, Weighting of topo ! silhouette averaging ! For ITOPSFLG=2 or 3, Reflected Envelope ! and Envelope Orography enhancement ! factor TOPTWVL = 7.,2.,2., ! Topo wavelength cutoff in filter ! Surface Roughness scheme IZ0FLG = 0,0,0, ! 0 = Based off vege, bare soil and water surface ! 1 = Based off subgrid scale topography Z0MAX = 5.,5.,5., ! Max zo for IZ0FLG=1 Z0FACT = 0.005, ! Subgrid scale orograhic roughness factor ! Microphysics collection tables MKCOLTAB = 0, ! Make table: 0 = no, 1 = yes COLTABFN = './tables/micro/ct2.0', ! Filename to read or write $END $MODEL_OPTIONS ! Numerical schemes ADVMNT = 0, ! 0 = Forward 2nd order (non-monotonic) ! 1 = Walcek monotonic advection ! 2 = hybrid: forward 2nd order for thetail,microphysics, TKE and ! Walcek scheme for tracers GHOSTZONELENGTH = 3, ! Size of ghostzone, only applicable for ! ADVMNT > 0 NADDSC = 0, ! Number of additional scalar species ICORFLG = 1, ! Coriolis flag/2D v-component - 0=off, 1=on VVELDAMP = 0, IEXEV = 1, ! Exner tendency ! 1- simplest form ! 2- complete, mass conservative, solution ! (works only with sigma-z coordinate) IMASSFLX = 0, ! Output advective and convective mass flux for ! STILT Lagrangian Particle Dispersion Modelling ! 0 = off, 1 = on IBND = 1, ! Lateral boundary condition flags JBND = 1, ! 1-Klemp/Wilhelmson, 2-Klemp/Lilly, 3-Orlanski ! 4-cyclic CPHAS = 20., ! Phase speed if IBND or JBND = 1 LSFLG = 0, ! Large-scale gradient flag for variables other than ! normal velocity: ! 0 = zero gradient inflow and outflow ! 1 = zero gradient inflow, radiative b.c. outflow ! 2 = constant inflow, radiative b.c. outflow ! 3 = constant inflow and outflow NFPT = 0, ! Rayleigh friction - number of points from the top DISTIM = 400., ! - dissipation time scale ! Radiation parameters ISWRTYP = 0, ! Shortwave radiation type ILWRTYP = 0, ! Longwave radiation type ! 0-none, 2-Mahrer/Pielke, 1-Chen, 3-Harrington ! 4- CARMA ! Parameters needed by CARMA radiation scheme RADDATFN = './tables/rad_carma/rad_param.data', RADFRQ = 1200., ! Freq. of radiation tendency update (s) LONRAD = 1, ! Longitudinal variation of shortwave ! (0-no, 1-yes) ! Cumulus parameterization parameters NNQPARM = 0,3,3,2, ! Convective param. flag ! 0- off, ! 1- Tremback formulation ! 2- Grell-Deveny scheme ! 3- Grell-3d formulation ! 4- Grell-Deveny scheme as implemented in FIM/NOAA model ! 5- Grell-Freitas scheme CLOSURE_TYPE = 'EN', ! Closure type (for Grell Param.): ! EN: ensemble (all closures) ! GR: Grell ! LO: low level omega ! MC: moisture convergence ! SC: like Fritsch Chappel or Kain Fritsch ! AS: Arakawa-Schubert G3D_SPREAD = 0,! Lateral spreading of enviromental subsidence (0=off, 1=on) ! only for NNQPARM = 3 and grid spacing < 10km NNSHCU = 0,2,2,1, ! Shallow Cumulus Param. (0-off, 1-Souza scheme, 2-Grell-Deveny scheme) CONFRQ = 600., ! Frequency of conv param. updates (s) SHCUFRQ = 600., ! Frequency of Shallow param. updates (s) WCLDBS = .0005, ! Vertical motion needed at cloud base for ! to trigger convection ! Surface layer and soil parameterization NPATCH = 2, ! Number of patches per grid cell (min=2) NVEGPAT = 1, ! Number of patches per grid cell to be ! filled from ! vegetation files ! (min of 1, max of NPATCH-1) ISFCL = 0, ! Surface layer/soil/veg model ! 0-specified surface layer gradients ! 1-soil/vegetation model LEAF ! 2-soil/vegetation model LEAF & hidrological model ! 3-Reserved ! 4-Reserved ! 5-JULES NVGCON = 7, ! Vegetation type (see below) ! 1 -- Crop/mixed farming 2 -- Short grass ! 3 -- Evergreen needleleaf tree 4 -- Deciduous needleleaf tree ! 5 -- Deciduous broadleaf tree 6 -- Evergreen broadleaf tree ! 7 -- Tall grass 8 -- Desert ! 9 -- Tundra 10 -- Irrigated crop ! 11 -- Semi-desert 12 -- Ice cap/glacier ! 13 -- Bog or marsh 14 -- Inland water ! 15 -- Ocean 16 -- Evergreen shrub ! 17 -- Deciduous shrub 18 -- Mixed woodland PCTLCON = 1., ! Constant land % if for all domain NSLCON = 6, ! Constant soil type if for all domain ! 1 -- sand 2 -- loamy sand 3 -- sandy loam ! 4 -- silt loam 5 -- loam 6 -- sandy clay loam ! 7 -- silty clay loam 8 -- clay loam 9 -- sandy clay ! 10 -- silty clay 11 -- clay 12 -- peat ZROUGH = .05, ! Constant roughness if for all domain ALBEDO = .2, ! Constant albedo if not running soil model SEATMP = 295., ! Constant water surface temperature DTHCON = 0., ! Constant sfc layer temp grad for no soil DRTCON = 0., ! Constant sfc layer moist grad for no soil SOIL_MOIST = 'i', ! n => Homogeneous (standard) ! i,h,a => Heterogenous Soil Moist.Init. ! with file. ! i => INITIAL ! h => HISTORY ! a => INITIAL or HISTORY SOIL_MOIST_FAIL = 'l', ! In case of Heterogenous Soil Moist. ! file was not found, what to do? ! s => STOP the program ! h => Initialize with Homogenous Soil Moist. ! l => Looking for 5 days old files, ! and if not found again then stop. USDATA_IN = '/scratchin/grupos/catt-brams/shared/datain/soil_moisture/2012/GL_SM.GPNR.', ! Soil Moisture File prefix USMODEL_IN = './dataout/UMIDADE/GL_SM.GPNR.', ! File prefix with pre-calculated data by BRAMS SLZ = -12.25, -7.25, -4.250, -2.25, -1.0, -0.35, -0.10, ! soil grid levels SLMSTR = 0.45,0.45,0.30,0.25,0.22, 0.22,0.22, ! initial soil moisture STGOFF = .0, .0, .0, .0, .0, .0, .0, .0, .0, ! Initial soil temperature offset ! from lowest atmospheric level !-------------------------------------------------------------------------- !----- Urban canopy parameterization -------------------------------- IF_URBAN_CANOPY =0, !------------------------------------------------------------------------- !--------- Eddy diffusion coefficient parameters ----------------------- IDIFFK = 1,2,2,2, ! K flag: ! 1 - Horiz deform/Vert Mellor-Yamada ! 2 - Anisotropic deformormation ! (horiz & vert differ) ! 3 - Isotropic deformation ! (horiz and vert same) ! 4 - Deardorff TKE (horiz and vert same) ! 7 - Nakanishi TKE 2.5-level model IHORGRAD = 1, ! 1 - horiz grad frm decomposed sigma grad ! 2 - true horizontal gradient. ! Non-conserving, but allows small DZ CSX = .32,.32, ! Deformation horiz. K's coefficient CSZ = .35,.35, ! Deformation vert. K's coefficient XKHKM = 3.,3., ! Ratio of horiz K_h to K_m for deformation ZKHKM = 3.,3., ! Ratio of vert K_h to K_m for deformation AKMIN = 1.,1., ! Ratio of minimum horizontal eddy ! viscosity coefficientto typical value ! from deformation K !------------------------------------------------------------------------------ ! Microphysics LEVEL = 0, ! Moisture complexity level ICLOUD = 4, ! Microphysics flags IRAIN = 2, !------------------- IPRIS = 5, ! 1 - diagnostic concen. ISNOW = 2, ! 2 - specified mean diameter IAGGR = 2, ! 3 - specified y-intercept IGRAUP = 2, ! 4 - specified concentration IHAIL = 2, ! 5 - prognostic concentration CPARM = .3e9, ! Microphysics parameters RPARM = 1.e-3, !------------------------- PPARM = 0., ! Characteristic diameter, # concentration SPARM = 1.e-3, ! or y-intercept APARM = 1.e-3, GPARM = 1.e-3, HPARM = 3.e-3, GNU = 2.,2.,2.,2.,2.,2.,2., ! Gamma shape parms for ! cld rain pris snow aggr graup hail !----------------------------------------------------------------------------- $END $MODEL_SOUND !----------------------------------- ! Sounding specification !----------------------------------- ! Flags for how sounding is specified IPSFLG = 1, ! Specifies what is in PS array ! 0-pressure(mb) 1-heights(m) ! PS(1)=sfc press(mb) ITSFLG = 0, ! Specifies what is in TS array ! 0-temp(C) 1-temp(K) 2-pot. temp(K) IRTSFLG = 3, ! Specifies what is in RTS array ! 0-dew pnt.(C) 1-dew pnt.(K) ! 2-mix rat(g/kg) ! 3-relative humidity in %, ! 4-dew pnt depression(K) IUSFLG = 0, ! Specifies what is in US and VS arrays ! 0-u,v component(m/s) ! 1-umoms-direction, vmoms-speed HS = 0., PS = 1010.,1000.,2000.,3000.,4000.,6000.,8000.,11000.,15000.,20000., 25000., TS = 25.,18.5,12.,4.5,-11.,-24.,-37.,-56.5,-56.5,-56.5,-56.5, RTS = 70.,70.,70.,70.,20.,20.,20.,20.,10.,10.,10., US = 10.,10.,10.,10.,10.,10.,10.,10.,10.,10.,10., VS = 0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0., $END $MODEL_PRINT !----------------------------------- ! Specifies the fields to be printed during the simulation !----------------------------------- NPLT = 0, ! Number of fields printed at each time ! for various cross-sections (limit of 50) IPLFLD = 'UP','VP','WP','PP','THP','RT', ! Field names - see table below ! PLFMT(6) = '0PF7.2', ! Format spec. if default is unacceptable IXSCTN = 3,3,3,3,3,3,3,3, ! Cross-section type (1=XZ, 2=YZ, 3=XY) ISBVAL = 2,2,2,2,2,2,2,2, ! Grid-point slab value for third direction ! The following variables can also be set in the namelist: IAA, ! IAB, JOA, JOB, NAAVG, NOAVG, PLTIT, PLCONLO, PLCONHI, and PLCONIN. ! 'UP' - UP(M/S) 'RC' - RC(G/KG) 'PCPT' - TOTPRE ! 'VP' - VP(M/S) 'RR' - RR(G/KG) 'TKE' - TKE ! 'WP' - WP(CM/S) 'RP' - RP(G/KG) 'HSCL' - HL(M) ! 'PP' - PRS(MB) 'RA' - RA(G/KG) 'VSCL' - VL(M) ! 'THP' - THP(K) ! 'THETA'- THETA(K) 'RL' - RL(G/KG) 'TG' - TG (K) ! 'THVP' - THV(K) 'RI' - RI(G/KG) 'SLM' - SLM (PCT) ! 'TV' - TV(K) 'RCOND'- RD(G/KG) 'CONPR'- CON RATE ! 'RT' - RT(G/KG) 'CP' - NPRIS 'CONP' - CON PCP ! 'RV' - RV(G/KG) 'RTP' - RT'(G/KG) 'CONH' - CON HEAT ! 'CONM' - CON MOIS ! 'THIL' - Theta-il (K) 'TEMP' - temperature (K) ! 'TVP' - Tv' (K) 'THV' - Theta-v (K) ! 'RELHUM'-relative humidity (%) 'SPEED'- wind speed (m/s) ! 'FTHRD'- radiative flux convergence (??) ! 'MICRO'- GASPRC ! 'Z0' - Z0 (M) 'ZI' - ZI (M) 'ZMAT' - ZMAT (M) ! 'USTARL'-USTARL(M/S) 'USTARW'-USTARW(M/S) 'TSTARL'-TSTARL (K) ! 'TSTARW'-TSTARW(K) 'RSTARL'-RSTARL(G/G) 'RSTARW'-RSTARW(G/G) ! 'UW' - UW (M*M/S*S) 'VW' - VW (M*M/S*S) ! 'WFZ' - WFZ (M*M/S*S) 'TFZ' - TFZ (K*M/S) ! 'QFZ' - QFZ (G*M/G*S) 'RLONG'- RLONG ! 'RSHORT'-RSHORT $END $ISAN_CONTROL !----------------------------------- ! Isentropic control !----------------------------------- ISZSTAGE = 1, ! Main switches for isentropic-sigz IVRSTAGE = 1, ! "varfile" processing ISAN_INC = 0600, ! ISAN processing increment (hhmm) ! range controlled by TIMMAX, ! IYEAR1,...,ITIME1 GUESS1ST = 'PRESS', ! Type of first guess input- 'PRESS', 'RAMS' I1ST_FLG = 1, ! What to do if first guess file should be ! used but does not exist. ! 1=I know it may not be there, ! skip this data time ! 2=I screwed up, stop the run ! 3=interpolate first guess file from ! nearest surrounding times, stop if unable ! (not yet available) IUPA_FLG = 3, ! UPA-upper air, SFC-surface ISFC_FLG = 3, ! What to do if other data files should be ! uesed, but does not exist. ! 1 = I know it may not be there, ! skip this data time ! 2 = I screwed up, stop the run ! 3 = Try to continue processing anyway ! Input data file prefixes IAPR = '/scratchin/grupos/catt-brams/shared/datain/ATMOS_DATA/GLOBAL/GAMRAMT126/DP/2012/dp' , ! Input press level dataset ! Há também os DPs em /scratchin/grupos/catt-brams/shared/datain/ATMOS_DATA/GLOBAL/GAMRAMT126/DP !apenas os anos de 2004 a 2012 ! Há DPs em '/scratchout/oper/tempo/BRAMS/ams_05km/datain/2015071400/COND_CPT/dp' !porem apenas os ultimos 20 dias atuais ! Caso voce venha a utilizar previsao eles estao zipados em /stornext/oper/tempo/BRAMS/ams_20km e ams_05km ! Voce deve escolher da data e coloca-los des-zipados em tua pasta DP no scratchin IARAWI = '', ! Archived rawindsonde file name IASRFCE = '', ! Archived surface obs file name ! File names and dispose flags VARPFX = './dataout/IVAR/ADAPT', ! isan file names prefix IOFLGISZ = 0, ! Isen-sigz file flag: 0 = no write, 1 = write IOFLGVAR = 1, ! Var file flag: 0 = no write, 1 = write $END $ISAN_ISENTROPIC !----------------------------------- ! Isentropic and sigma-z processing !----------------------------------- !----------------------------------- ! Specify isentropic levels !----------------------------------- NISN = 43, ! Number of isentropic levels LEVTH = 280,282,284,286,288,290,292,294,296,298,300,303,306,309,312, 315,318,321,324,327,330,335,340,345,350,355,360,380,400,420, 440,460,480,500,520,540,570,600,630,670,700,750,800, !----------------------------------- ! Analyzed grid information: !----------------------------------- NIGRIDS = 1, ! Number of RAMS grids to analyze TOPSIGZ = 20000., ! Sigma-z coordinates to about this height HYBBOT = 4000., ! Bottom (m) of blended sigma-z/isentropic ! layer in varfiles HYBTOP = 6000., ! Top (m) of blended sigma-z/isentropic layr SFCINF = 1000., ! Vert influence of sfc observation analysis SIGZWT = 1., ! Weight for sigma-z data in varfile: ! 0.= no sigz data, ! 1.=full weight from surface to HYBBOT NFEEDVAR = 1, ! 1=feed back nested grid varfile, 0=dont !----------------------------------- ! Observation number limits: !----------------------------------- MAXSTA = 150, ! maximum number of rawindsondes ! (archived + special) MAXSFC = 1000, ! maximum number of surface observations NOTSTA = 0, ! Number of stations to be excluded NOTID = 'r76458', ! Station ID to be excluded ! Prefix with 'r' for rawindsonde, ! 's' for surface IOBSWIN = 1800, STASEP = .1, ! Minimum sfc station separation in degrees. ! Any surface obs within this distance ! of another obs will be thrown out ! unless it has less missing data, ! in which case the other obs will be ! thrown out. IGRIDFL = 3, ! Grid flag=0 if no grid point, only obs ! 1 if all grid point data and obs ! 2 if partial grid point and obs ! 3 if only grid data ! 4 all data... fast GRIDWT = .01,.01, ! Relative weight for the gridded press data ! compared to the observational data in ! the objective analysis GOBSEP = 5., ! Grid-observation separation (degrees) GOBRAD = 5., ! Grid-obs proximity radius (degrees) WVLNTH = 1200.,900., ! Used in S. Barnes objective analysis. ! Wavelength in km to be retained to the ! RESPON % from the data to the upper air ! grids. SWVLNTH = 750.,300., ! Wavelength for surface objective analysis RESPON = .90,.9, ! Percentage of amplitude to be retained. $END $POST NVP = 6, VP = 'u', 'v', 'tempc', 'topo', 'geo', 'w', GPREFIX = './dataout/POSPROCESS/ADAPTx5.1' ANL2GRA = 'ONE', PROJ='YES', MEAN_TYPE ='VMP', LATI = -90., -90., LATF = +90., +90., LONI = -180., -180., LONF = +180., 180., ZLEVMAX = 32,1,1, IPRESSLEV = 1, INPLEVS = 13, IPLEVS = 1000,975,950,925,900,850,800,750,700,500,300,200,100, ASCII_DATA ='NO', SITE_LAT =-10.76, SITE_LON =-62.36, $END $DIGITALFILTER applyDigitalFilter = .false., digitalFilterTimeWindow = 43200., $END $METEOGRAM applyMeteogram = .false., meteogramFreq = 1800., meteogramMap = './tables/meteogram/citiesBr.txt', meteogramDir = '/scratchout/oper/io/BRAMS/ams_05km/dataout/2015062512/HST/HST2012062512' $END PK œ‚ðFÀ?G««%Manual_de_instalacao_do_BRAMS/leia-meUT ¨UøœÌUux ééO Padrao BRAMS_5 - auxilia a um usuário Tupã à instalar e rodar o modelo BRAMS quinta versão que se encontra em https://svn.cptec.inpe.br/brams/trunk/BRAMS O Padrao BRAMS_5-01 - auxilia a um usuário Tupã à instalar e rodar o modelo BRAMS versão 5-01 que se encontra em https://svn.cptec.inpe.br/brams/branches/BRAMS-5.01 O Padrao BRAMS_5-01 dentro do RMS - auxilia a um usuário Tupã à instalar e rodar o modelo BRAMS versão 5-01 dentro do diretório do RMS. A versão se encontra em https://svn.cptec.inpe.br/brams/branches/BRAMS-5.01 O modelo da forma que se encontra no repositório do BRAMS não roda, sendo nescessário utilizar o RAMSIN que há nas pastas. PK g_ G>Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/UT Á°ÌUðÌUux ééPK îkGåëTÖ——]Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/installation_BRAMS_in_tupa_5-01UT àèÀU‡ªËUux éé instalação do BRAMS versão 5.1 ou 5.01 Dentro do RMS 1- logar no eslogin01 comando: ssh eslogin01 -XC 2- entrar no scratchin comando: cd $SUBMIT_HOME 3- entrar no local que será instalado o BRAMS, comando: cd RMS/atm 4- remove a pasta vazia BRAMS: rm -rf BRAMS 5- baixar o BRAMS, comando: svn export https://svn.cptec.inpe.br/brams/branches/BRAMS-5.01 ou: svn checkout Obs: se você pertence ao grupo de pesquisa BRAMS e irá desenvolver algo novo no modelo, é aconselhavel copiar do trunk para o branch, e após baixar do branch com o comando: svn checkout https:"caminho_do_branch", com este comando é possível manter um vinculo da tua área no tupã com o site, permitindo com que todos trabalhem em um mesmo projeto. 6-comando: module unload hdf5 7-comando: module load hdf5-parallel 8-comando: cd BRAMS-5.01/build 9- escreva o seguinte comando: ./configure --with-fpcomp=ftn --with-cpcomp=ftn --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=$SUBMIT_HOME/RMS/atm/BRAMS-5.01/ --enable-jules 10- depois make 11- depois make install 12- pegar os arquivos RAMSIN_5-01, xMit5.sh, run_BRAMS_5.01.sh, Ambiente_BRAMS_5-01_no_tupa_RMS do repositório do assim_dados e coloca-los dentro da pasta bin. *** Para isto entre no site https://projetos.cptec.inpe.br/projects/brams/files Baixe os arquivos RANSIN_5-01, xMit5.sh, run_BRAMS_5.01.sh, Ambiente_BRAMS_5-01_no_tupa_RMS entre na pasta bin do BRAMS-5.01 comando: cd $SUBMIT_HOME/RMS/atm/BRAMS-5.01/bin crie uma cópia dos arquivos do site comando: gedit RAMSIN_5-01 (copie o RAMSIN_5-01 que você baixou para dentro deste arquivo RAMSIN_5-01, salve e feche) comando: gedit xMit5.sh (copie o xMit5.sh que você baixou para dentro deste arquivo, salve e feche) faça o mesmo com os outros arquivos 13-permita a execução dos arquivos baixados comando:chmod 775 Ambiente_BRAMS_5-01_no_tupa_RMS run_BRAMS_5.01.sh xMit5.sh 14- execute o Ambiente_BRAMS_5-01_no_tupa_RMS para criar as pastas e links necessários comando:./Ambiente_BRAMS_5-01_no_tupa_RMS 15- para fazer uma rodada teste leia run_test Fim das etapas de instalação do BRAMS Qualquer dúvida claudio.pavani@gmail.com possíves erros há de se preparar o ambiente de copilação, escolha PGI, opção 6 preparar o ambiente de copilação, comando:source /usr/bin/development_config verifique se o copilador pgi é atual, verção 12 ou melhor comando: module list Instalando fora da tupa As informações abaixo são úteis caso você deseje instalar em uma outra máquina. Basicamente altere o que é posto na frente do comando "./configure" de acordo com o copilador que há em tua máquina, no tupã foi padronizado o ftn dentro da pasta build siga as instruções abaixo conforme compilador desejado. Mini tutorial de compilação Lembre-se de trocar o caminho de instalação no --prefix Compilação Intel: Usando mpif90 na tupa module swap tupa2 aux ./configure --with-hdf5lib=/scratchin/grupos/catt-brams/shared/libs/intel/hdf5-1.8.8_parallel --with-zlib=/scratchin/grupos/catt-brams/shared/libs/intel/zlib-1.2.8/lib --with-fpcomp=mpif90 --with-cpcomp=mpicc --with-fcomp=/stornext/home/poluicao/intel/composerxe-2011.4.191/bin/intel64/ifort --with-ccomp=gcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install Compilação PGI: Usando mpif90 na tupa module swap tupa2 aux ./configure --with-hdf5lib=/scratchin/ grupos/catt-brams/shared/libs/pgi/hdf5-1.8.11-parallel --with-zlib=/scratchin/grupos/catt-brams/shared/libs/pgi/zlib-1.2.8/lib --with-fpcomp=mpif90 --with-cpcomp=mpicc --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install Usando ftn: module unload hdf5 module load hdf5-parallel ./configure --with-fpcomp=ftn --with-cpcomp=ftn --with-fcomp=pgf90 --with-ccomp=pgcc --prefix=/scratchin/grupos/brams/home/rafael.stockler/teste/brams-5.0.1 --enable-jules make make install JULES: O default é sem jules, se quiser o jules precisa colocar o --enable-jules PK O€ðF @OªBBIManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/leia-me-RMSUT Æÿ§UþœÌUux ééO BRMAS funciona no scratchin vá para cd $SUBMIT_HOME/RMS/atm/ PK šRïF…Ê‚¡||OManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/run_BRAMS_5-01.shUT 3^¦UñŸÌUux éé#!/bin/sh export DirBase=`pwd` export TMPDIR=${DirBase}/tmp # versao 5.01 RAMSIN=RAMSIN_5-01 CCATT=brams-5.01-CHEM_RELACS_TUV-jules-3.0 # for initial #paralelo ./xMit5.sh 240 1 24 1:00:00 $CCATT $RAMSIN #./xMit5.sh 240 1 24 1:00:00 brams-5.01-CHEM_RELACS_TUV-jules-3.0 RAMSIN_5-01 # for makevfile/makesfc #serial #./xMit5.sh 24 1 24 00:30:00 $CCATT $RAMSIN exit exit PK ðFàò¼eÏÏ]Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/Ambiente_BRAMS_5-01_no_tupa_RMSUT ¨UñŸÌUux éé#!/bin/bash #Aqui você vai criar o seu ambiente de trabalho BRAMS-5.01 dentro do RMS. #o BRAMS tem que ser rodado dentro do scratchin #se você mudar o endereço das pastas aqui, não esqueça de mudar também no RAMSIN #se você irá utilizar os dados SFC e IVAR por pouco tempo, coloca-os no scratchout, o padrão é no scratchout. cd $WORK_HOME/RMS/atm mkdir BRAMS-5.01 cd BRAMS-5.01 mkdir dataout cd dataout mkdir SFC IVAR #se você precisa utilizar os dados de pré-processamento por muito tempo, comente a linha acima e descomente a criação detas no scratchin. #Por falta e de espaço será utilizado estas pastas no scractchout mkdir ANL HIS UMIDADE POSPROCESS #na pasta POSPROCESS fica o pós-processamento, nela há os arquivos .ctl, que são abertos pelo grads #local onde será rodado o modelo cd $SUBMIT_HOME/RMS/atm/BRAMS-5.01/bin mkdir dataout cd dataout ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/ANL ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/HIS ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/UMIDADE ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/POSPROCESS ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/SFC ./ ln -sf $WORK_HOME/RMS/atm/BRAMS-5.01/dataout/IVAR ./ cd $SUBMIT_HOME/RMS/atm/BRAMS-5.01/bin mkdir datain cd datain mkdir COND_SRC_TRC mkdir DP #nesta pasta fica os teus DPs caso necessite de DPs que não estejam nos endereços indicados. mkdir obs #pasta com dados de observação mkdir H #no RAMSIN pede que exista esta pasta, que serve para armazenar uma condição histórica de nudging mkdir tmp #arquivos temporários #atualizando a pasta HOME cd $HOME/RMS/atm rm -rf BRAMS mkdir BRAMS-5.01 cd $SUBMIT_HOME/RMS/atm/BRAMS-5.01/bin mv leia-me-RMS $HOME/RMS/atm/BRAMS-5.01 PK }|îF N¸JJDManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/READMEUT ŽV¥U‡ªËUux ééLeia nesta sequência 1 installation_BRAMS_in_tupa_RMS 2 run_test_5-01 PK ŠtæF‚Ilb44FManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/xMit5.shUT “¼šUñŸÌUux éé#!/bin/bash # # script to run BRAMS on MPI/OMP mixed mode code at tupa # # usage: Xmit.sh TotMpi OmpMpi MpiNod # where: # TotMpi: total number of MPI ranks # OmpMpi: number of OpenMP threads per MPI rank # MpiNod: number of MPI ranks per node # # # # script arguments # export TotMpi=$1 export OmpMpi=$2 export MpiNod=$3 export walltime=$4 export ccatt=$5 export RamsIn=$6 #export expname=$7 totMpiReal=$(($TotMpi-24)) # # job name # RunName=jules-brams OutName=ccatt-reg${TotMpi}M${OmpMpi}O${MpiNod}CN # # directories # executable full path # export DirBase=`pwd` cd ${DirBase} export executable=${DirBase}/${ccatt} # #xMit.sh #xMit.sh 120 1 24 #xMit.sh 120 1 24 # starts producing queue script file qsub.sh # cat < qsub.sh #!/bin/bash #PBS -l mppwidth=${TotMpi} #PBS -l mppdepth=${OmpMpi} #PBS -l mppnppn=${MpiNod} #PBS -N ${RunName} #PBS -o ${DirBase}/saida.out #PBS -e ${DirBase}/saida.err #PBS -A CPTEC #PBS -q pesq #PBS -l walltime=${walltime} cd ${DirBase} export OMP_NUM_THREADS=${OmpMpi} export TMPDIR=${DirBase}/tmp #export MPICH_UNEX_BUFFER_SIZE=162914560 #export MPICH_PTL_UNEX_EVENTS=655360#327680 #163840 #export MPICH_MAX_SHORT_MSG_SIZE=1024 #export MPICH_FAST_MEMCPY=1 ulimit -s unlimited ulimit -c unlimited #sereal para um processador for makevfile/makesfc time aprun -m 2Mhs -b -ss -n 1 -N 1 ${executable} -f ${RamsIn} > makevfile.log #SERIAL #paralelo for INITIAL #time aprun -n 1 -N 1 ${executable} -f ${RamsIn} : -n ${totMpiReal} -d ${OmpMpi} -N ${MpiNod} ${executable} -f ${RamsIn} > initial.log #PARALEL0 #./xMit5.sh 24 1 24 00:30:00 jules3.0-ccatt-brams-5.0-opt.pgi-cray-RELACS_TUV RAMSIN EOF0 # # finishes producing file qsub.sh and moves to executable directory # # # qsub with variable # PEs per node # export PBS_SERVER=eslogin13 qsub qsub.sh exit PK ‰Gé5Áš““KManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/run_test_5-01UT §ÁU‡ªËUux ééRodada teste do BRAMS_5-01 dentro do RMS $ cd $SUBMIT_HOME/RMS/atm/BRAMS-5.01/bin $ gedit RAMSIN_5-01 altere RUNTYPE = 'INITIAL' para MAKESFC o MAKESFC gera os arquivos de superfície na pasta SFC no dataout Observe que algumas variáveis PODEM receber dados de entrada que tem que coincidir com a data que você colocou no " Start of simulation" São estes:HFILIN, PASTFN e NUD_HFILE Ovserve também que algumas varíáveis TEM que receber dados de entrada segundo a data que você colocou no " Start of simulation" São estes: USDATA_IN e IAPR Se os dados vierem de arquivos operacionais, isto é do scratchout, estes são apagados a cada 40 dias, logo se for rodar utilizando dados do scratchout há de ser uma data atual. sertifique que será utilizado serial $ gedit run_BRAMS_5-01.sh Mude para serial rode o modelo $ ./run_BRAMS_5-01.sh dê o comando para ver se está rodando $ qstat -u "seu_nome" Se quiser acompanhar a mensagem de saída digite $ tail -f makevfile.log são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta SFC $ gedit RAMSIN_5-01 altere RUNTYPE = 'MAKESFC' para MAKEVFILE rode o modelo $ ./run_BRAMS_5-01.sh são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta IVAR Foi utilizado os arquivos DPs baseado na data que você escolheu rodar, IYEAR1, se você precisa rodar alguma danta antiga, é necessário arranjar arquivos DPs antigos. $ gedit RAMSIN_5-01 altere RUNTYPE = 'MAKEVFILE' para INITIAL A faze INITIAL normalmente precisa de muitos processadores, logo, mude o run_brams para paralelo $ gedit run_BRAMS_5-01.sh Mude para paralelo rode o modelo $ ./run_BRAMS_5-01.sh são gerados as mensagens saida.out, saida.err e makvfile.log são criados os arquivos na pasta ANL HIS UMIDADE e POSPROCESS Na pasta POSPROCESS há os arquivos .ctl cujo são abertos pelo grads. $cd POSPROCESS $ grads Possíveis erros que você cometerá no futuro - tem que haver uma proporção entre as variáveis Deltax(y) com a DTlong - dados de entrada NUD_HFILE, HFILIN, PASTFN, USDATA_IN IAPR, ITOPTFN ao NDVIFN, desatualizados, ou não existem. PK ÐrðF¸ÇhŠŠIManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/RAMSIN_5-01UT Wè§U‡ªËUux éé $MODEL_GRIDS EXPNME = 'BRAMS_5.01', RUNTYPE = 'INITIAL', ! Type of run: MAKESFC, INITIAL, HISTORY, ! MAKEVFILE, or MEMORY TIMEUNIT = 'h', ! 'h','m','s' - Time units of TIMMAX, TIMSTR, VTIME TIMMAX = 48., ! Final time of simulation ! Start of simulation or ISAN processing IMONTH1 =06, ! Month IDATE1 =25, ! Day IYEAR1 =2012, ! Year ITIME1 =0000, ! GMT of model TIME = 0. ! Grid specifications NGRIDS = 1, ! Number of grids to run ! **version 5 of BRAMS only admits 1 grid** NNXP = 110, 318, 154, ! Number of x gridpoints NNYP = 110, 346, 102, ! Number of y gridpoints NNZP = 41, 38, 38, ! Number of z gridpoints NZG = 1, ! Number of soil layers NZS = 1, ! Maximum number of snow layers NXTNEST = 0,1,2,3, ! Grid number which is the next coarser grid ! Coarse grid specifications IF_ADAP = 0, IHTRAN = 1, ! 0-Cartesian, 1-Polar stereo DELTAX = 20000., ! X grid spacing DELTAY = 20000., ! Y grid spacing DELTAZ = 70., ! Z grid spacing (set to 0. to use ZZ) DZRAT = 1.1, ! Vertical grid stretch ratio DZMAX = 1000., ! Maximum delta Z for vertical stretch ZZ = 0.0, 20.0, 46.0, 80.0, 120.0, 165.0, 220.0, 290.0, 380.0, 480.0, 590.0, 720.0, 870.0, 1030.0, 1200.0, 1380.0, 1595.0, 1850.0, 2120.0, 2410.0, 2715.0, 3030.0, 3400.0, 3840.0, 4380.0, 5020.0, 5800.0, 6730.0, 7700.0, 8700.0, 9700.0, 10700., 11700., 12700., 13700., 14700., 15700., 16700., 17700., 18700., 19700., ! Vertical levels if DELTAZ = 0 DTLONG = 30., ! Coarse grid long timestep NACOUST = 3, ! Small timestep ratio IDELTAT = 0, ! =0 - constant timesteps ! >0 - initial computation <0 - variable ! Nest ratios between this grid ! and the next coarser grid. NSTRATX = 1,4,4,4, ! x-direction NSTRATY = 1,4,4,4, ! y-direction NNDTRAT = 1,3,3,3, ! Time NESTZ1 = 0, ! Contort coarser grids if negative NSTRATZ1 = 2,2,2,1, ! NESTZ2 = 0, ! Contort coarser grids if negative NSTRATZ2 = 3,3,2,1, ! POLELAT = -1.25, ! Latitude of pole point POLELON = -62.5, ! Longitude of pole point CENTLAT = -1.25, -23.0, ! Latitude of grid center CENTLON = -62.5, -46.65,! Longitude of grid center ! Grid point on the next coarser ! nest where the lower southwest ! corner of this nest will start. ! If NINEST or NJNEST = 0, use CENTLAT/LON NINEST = 1,0,0,0, ! i-point NJNEST = 1,0,0,0, ! j-point NKNEST = 1,1,1,1, ! k-point NNSTTOP = 1,1,1,1, ! Flag (0-no or 1-yes) if this NNSTBOT = 1,1,1,1, ! Nest goes the top or bottom of the ! coarsest nest. $END $CCATT_INFO CCATT = 0, ! 1 - CCATT environmental model activated ! 0 - OFF CHEMISTRY = -1, ! -1- only atmospheric model ! 0- only tracer transport with atmos. model ! 1- activate the loss/production by kinetic chemical ! and photochemical reactions, with solver 1 ! 2- activate the loss/production by kinetic chemical ! and photochemical reactions, with solver 2 ! 3- Rosenbrock 2nd order - dynamic timestep ! 4- Rosenbrock "RODAS3" 3rd order - dynamic timestep SPLIT_METHOD = 'SYMMETRIC',! Splitting operator method !'SYMMETRIC' = sequential symmetric (D->Q->D) !'SEQUENTIAL'= sequential at right (D->Q ) !'PARALLEL' = original method (D->) ! (Q->) CHEM_TIMESTEP = 80., ! chemistry timestep integration (seconds) ! should be an multiple of dtlong (max 4) CHEMISTRY_AQ = 0, ! 1 - ON ! 0 - OFF aqueous chemistry CHEM_ASSIM = 0, ! 4dda for chemistry species with mocage data ! 0 - off, 1 - on SRCMAPFN = 'NONE', ! Source Map file prefix ! use 'NONE' to turn off emissions ! ./datain/COND_SRC_TRC/Queima_source RECYCLE_TRACERS = 0, DEF_PROC_SRC = 'STOP', ! what to do if src files are not available ! (options: STOP, LAST_SOURCES) DIUR_CYCLE = 1,1,1 ! only works with 1 for all emissions (keep 1). NA_EXTRA2D = 0, ! Number of extras 2d arrays NA_EXTRA3D = 0, ! Number of extras 3d arrays PLUMERISE = 0, ! Plume-rise process for biomass burning emissions ! 0 - off, 1 - on PRFRQ = 7200., ! plume-rise calculation update frequency VOLCANOES = 0, ! Volcanic ASH emission/transport/sedimentation ! 0 - off, 1 - on AEROSOL = 0, ! Simple monodisperse aerosol model ! 0 - off, 1 - on $END $TEB_SPM_INFO TEB_SPM = 0, ! 1-TEB activated 0-off $END $MODEL_FILE_INFO ! Variable initialization input INITIAL = 2, ! Initial fields - 1=horiz.homogeneous, ! ------ Analysis nudging parameters ----------------------------------- NUD_TYPE = 2, ! =1 - nudge from history files(1-way nest) ! =2 - nudge from varfiles ! =0 - no analysis nudging ! 2=variable ! VARFPFX = './dataout/IVAR/ADAPT', ! Varfile initialization file prefix VWAIT1 = 0., ! wait between each VFILE check (s) VWAITTOT = 0., ! total wait befor giving up on a VFILE (s) NUD_HFILE = './dataout/ANL/anal', ! Header file name for history nudging files (only prefix is used) ! /scratchout/oper/tempo/BRAMS/ams_20km/dataout/2012062500/ANL/BRAMS NUDLAT = 25, ! Number of points in lateral bnd region TNUDLAT = 900., ! Nudging time scale(s) at lateral boundary TNUDCENT = 0., ! Nudging time scale(s) in center of domain TNUDTOP = 10800., ! Nudging time scale (s) at top of domain ZNUDTOP = 12000., ! Nudging at top of domain above height(m) WT_NUDGE_GRID = 1., 0.7, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid ! These weights will multiply the base timescales ! to determine full nudging weight. ! (Timescales)/(WT_NUDGE_*) ! must be larger than DTLONG WT_NUDGE_UV = 1., ! Anal nudging weight for u and v WT_NUDGE_TH = 1., ! Anal nudging weight for theta WT_NUDGE_PI = 1., ! Anal nudging weight for pi WT_NUDGE_RT = 1., ! Anal nudging weight for r_tot !------------------------------------------------------------------------- !----------- Condensate nudging ------------------------------------------ NUD_COND = 0, ! Only nudge total water where condensate ! exists (from previous history files, HFILIN) COND_HFILE = ' ', !./datain/H/a-H-2001-07-21-000000-head.txt ! Header file name for cond nudging history files (only prefix is used) TCOND_BEG =0., TCOND_END =21600., ! Model time start and end of cond nudging (sec) T_NUDGE_RC = 3600., ! Cond nudging timescale for r_total WT_NUDGEC_GRID = 1., 0.8, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid !------------------------------------------------------------------------- !--------- Observation Data Assimilation (ODA) --------------------------------- IF_ODA = 0, ! Flag to turn on oda ODA_UPAPREFIX = './datain/obs/dp-r', ! File prefix for upper air obs ODA_SFCPREFIX = './datain/obs/dt-s', ! File prefix for surface obs FRQODA=300., ! Frequency of obs analysis TODABEG=0., TODAEND=99999999., ! Model time start and end of oda (sec) TNUDODA= 900., ! Nudging timescale for each grid WT_ODA_GRID = 1., 0.8, 0.7, 0.5, ! Relative nudging weights for active grids ! =0., turns off nudging for that grid WT_ODA_UV = 1., ! ODA nudging weight for u and v WT_ODA_TH = 1., ! ODA nudging weight for theta WT_ODA_PI = 1., ! ODA nudging weight for pi WT_ODA_RT = 1., ! ODA nudging weight for r_tot ! Following are radii that affect the "smoothness" of the analyzed fields ! The SFCE and UPAE are the radii where the affect falls off to e**(-2) ! The SFC0 and UPA0 are the radii where the affect falls off to 0 ! Values are grid dependent. RODA_SFCE = 50000.,100.,100.,100., RODA_SFC0 = 100000.,100000.,100000.,100000., RODA_UPAE = 100000.,200.,200.,200., RODA_UPA0 = 200000.,2000.,2000.,2000., RODA_HGT = 3000.,3000.,3000.,3000., ! Height at which transition from SFC radii ! to UPA radii occurs RODA_ZFACT = 100.,100.,100.,100., ! Vertical factor related to dx/dz ! - Time interpolate limit (TIL)- if the future-past obs time ! is > this limit, do not use to interpolate ! ! - Time extrapolate limit (TEL)- if past/future obs is greater than TIL, ! but less than TEL, use the obs ODA_SFC_TIL=21600., ODA_SFC_TEL=900., ODA_UPA_TIL=43200., ODA_UPA_TEL=21600., !------------------------------------------------------------------------ !----- Cumulus inversion tendency input ----- IF_CUINV = 0, CU_PREFIX = './t5-C-', TNUDCU=900., WT_CU_GRID=1., 1., .5, TCU_BEG =0., TCU_END=7200., CU_TEL=3600., CU_TIL=21600., !------------------------------------------------------------------------ ! History file input TIMSTR = 0., ! Time of history start (see TIMEUNIT) HFILIN = 'NONE', ! Input history file name ! Analysis file input for assimilation (currently LEAF variables) IPASTIN = 0, ! Initialize various fields from analysis file? ! 1=yes, 0=no PASTFN = 'NONE', ! Input analysis file name ! History/analysis file output IPOS = 2, ! 0-no files, 2-grads files, 1-hdf5(not available yet) IOUTPUT = 2, ! 0-no files, 1-hdf5 files, 2-vfm files, 3-mpiio files, 4-binary(not available yet) HFILOUT = './dataout/HIS/ADAPT5.1', ! History file prefix AFILOUT = './dataout/ANL/ADAPT5.1', ! Analysis file prefix ICLOBBER = 1, ! 0=stop if files exist, 1=overwite files IHISTDEL = 1, ! 0=keep all hist files, 1=delete previous FRQHIS = 86400., ! History file frequency FRQANL = 3600., ! Analysis file frequency !----------------------------------------------------------------------- FRQLITE = 0., ! Analysis freq. for "lite" variables ! = 0 : no lite files XLITE = '/0:0/', ! nums>0 are absolute grid indexes YLITE = '/0:0/', ! nums<0 count in from the domain edges ZLITE = '/0:0/', ! nums=0 are domain edges NLITE_VARS=0, LITE_VARS='UP','VP','WP','swdr','THETA', !----------------------------------------------------------------------- AVGTIM = 0., ! Averaging time for analysis variables ! must be abs(AVGTIM) <= FRQANL ! > 0 : averaging is centered at FRQANL ! < 0 : averaging ends at FRQANL ! = 0 : no averaged files FRQMEAN = 0., ! Analysis freq. for "averaged" variables FRQBOTH = 0., ! Analysis freq. for Both "averaged" and ! "lite" variables KWRITE = 0, ! 1-write,0-don't write scalar K's to anal. ! Printed output controls FRQPRT = 21600, ! Printout frequency INITFLD = 0, ! Initial field print flag 0=no prnt,1=prnt ! Input topography variables TOPFILES = './dataout/SFC/top', ! File path and prefix for topo files. SFCFILES = './dataout/SFC/sfc', ! File path and prefix for surface SSTFPFX = './dataout/SFC/sst', ! Path and prefix for sst files NDVIFPFX = './dataout/SFC/ndv', ! Path and prefix for ndvi files ITOPTFLG = 1,1,1,1,0, ! 2 - Fill data in "rsurf" ISSTFLG = 1,1,1,1,0, ! 0 - Interpolate from coarser grid IVEGTFLG = 1,1,1,1,0, ! 1 - Read from standard Lat/Lon data file ISOILFLG = 1,1,1,1,0, ! soil files not yet available: avoid isoilflg=1 NDVIFLG = 1,1,1,1,0, ! !avoid isoilflg=1 NOFILFLG = 2,2,2,2, ! 2 - Fill data in "rsurf" ! 0 - Interpolate from coarser grid IUPDNDVI = 1, ! 0 - No update of NDVI values during run IUPDSST = 1, ! 0 - No update of SST values during run ! 1 - Update SST values during run ! The following only apply for IxxxxFLG=1 ITOPTFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/elev10m/H', '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/topo1km/EL', ISSTFN = '/scratchin/oper/tempo/BRAMS/sst_week/W', IVEGTFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/GL_OGE_INPE/OGE', '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/veg/ogedata/GE', ISOILFN = '/scratchin/oper/tempo/BRAMS/datafix/sfcdata/GL_FAO_INPE/FAO', NDVIFN = '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI-MODIS/N', '/scratchin/oper/io/BRAMS/datafix/ndvi/N', '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI/N', '/scratchin/oper/io/BRAMS/datafix/sfcdata/NDVI-MODIS_h5/N', ! Topography scheme ITOPSFLG = 0,0,0,1, ! 0 = Average Orography ! 1 = Silhouette Orography ! 2 = Envelope Orography ! 3 = Reflected Envelope Orography TOPTENH = 0.,0.,0.,0., ! For ITOPSFLG=1, Weighting of topo ! silhouette averaging ! For ITOPSFLG=2 or 3, Reflected Envelope ! and Envelope Orography enhancement ! factor TOPTWVL = 7.,2.,2., ! Topo wavelength cutoff in filter ! Surface Roughness scheme IZ0FLG = 0,0,0, ! 0 = Based off vege, bare soil and water surface ! 1 = Based off subgrid scale topography Z0MAX = 5.,5.,5., ! Max zo for IZ0FLG=1 Z0FACT = 0.005, ! Subgrid scale orograhic roughness factor ! Microphysics collection tables MKCOLTAB = 0, ! Make table: 0 = no, 1 = yes COLTABFN = './tables/micro/ct2.0', ! Filename to read or write $END $MODEL_OPTIONS ! Numerical schemes ADVMNT = 0, ! 0 = Forward 2nd order (non-monotonic) ! 1 = Walcek monotonic advection ! 2 = hybrid: forward 2nd order for thetail,microphysics, TKE and ! Walcek scheme for tracers GHOSTZONELENGTH = 3, ! Size of ghostzone, only applicable for ! ADVMNT > 0 NADDSC = 0, ! Number of additional scalar species ICORFLG = 1, ! Coriolis flag/2D v-component - 0=off, 1=on VVELDAMP = 0, IEXEV = 1, ! Exner tendency ! 1- simplest form ! 2- complete, mass conservative, solution ! (works only with sigma-z coordinate) IMASSFLX = 0, ! Output advective and convective mass flux for ! STILT Lagrangian Particle Dispersion Modelling ! 0 = off, 1 = on IBND = 1, ! Lateral boundary condition flags JBND = 1, ! 1-Klemp/Wilhelmson, 2-Klemp/Lilly, 3-Orlanski ! 4-cyclic CPHAS = 20., ! Phase speed if IBND or JBND = 1 LSFLG = 0, ! Large-scale gradient flag for variables other than ! normal velocity: ! 0 = zero gradient inflow and outflow ! 1 = zero gradient inflow, radiative b.c. outflow ! 2 = constant inflow, radiative b.c. outflow ! 3 = constant inflow and outflow NFPT = 0, ! Rayleigh friction - number of points from the top DISTIM = 400., ! - dissipation time scale ! Radiation parameters ISWRTYP = 0, ! Shortwave radiation type ILWRTYP = 0, ! Longwave radiation type ! 0-none, 2-Mahrer/Pielke, 1-Chen, 3-Harrington ! 4- CARMA ! Parameters needed by CARMA radiation scheme RADDATFN = './tables/rad_carma/rad_param.data', RADFRQ = 1200., ! Freq. of radiation tendency update (s) LONRAD = 1, ! Longitudinal variation of shortwave ! (0-no, 1-yes) ! Cumulus parameterization parameters NNQPARM = 0,3,3,2, ! Convective param. flag ! 0- off, ! 1- Tremback formulation ! 2- Grell-Deveny scheme ! 3- Grell-3d formulation ! 4- Grell-Deveny scheme as implemented in FIM/NOAA model ! 5- Grell-Freitas scheme CLOSURE_TYPE = 'EN', ! Closure type (for Grell Param.): ! EN: ensemble (all closures) ! GR: Grell ! LO: low level omega ! MC: moisture convergence ! SC: like Fritsch Chappel or Kain Fritsch ! AS: Arakawa-Schubert G3D_SPREAD = 0,! Lateral spreading of enviromental subsidence (0=off, 1=on) ! only for NNQPARM = 3 and grid spacing < 10km NNSHCU = 0,2,2,1, ! Shallow Cumulus Param. (0-off, 1-Souza scheme, 2-Grell-Deveny scheme) CONFRQ = 600., ! Frequency of conv param. updates (s) SHCUFRQ = 600., ! Frequency of Shallow param. updates (s) WCLDBS = .0005, ! Vertical motion needed at cloud base for ! to trigger convection ! Surface layer and soil parameterization NPATCH = 2, ! Number of patches per grid cell (min=2) NVEGPAT = 1, ! Number of patches per grid cell to be ! filled from ! vegetation files ! (min of 1, max of NPATCH-1) ISFCL = 0, ! Surface layer/soil/veg model ! 0-specified surface layer gradients ! 1-soil/vegetation model LEAF ! 2-soil/vegetation model LEAF & hidrological model ! 3-Reserved ! 4-Reserved ! 5-JULES NVGCON = 7, ! Vegetation type (see below) ! 1 -- Crop/mixed farming 2 -- Short grass ! 3 -- Evergreen needleleaf tree 4 -- Deciduous needleleaf tree ! 5 -- Deciduous broadleaf tree 6 -- Evergreen broadleaf tree ! 7 -- Tall grass 8 -- Desert ! 9 -- Tundra 10 -- Irrigated crop ! 11 -- Semi-desert 12 -- Ice cap/glacier ! 13 -- Bog or marsh 14 -- Inland water ! 15 -- Ocean 16 -- Evergreen shrub ! 17 -- Deciduous shrub 18 -- Mixed woodland PCTLCON = 1., ! Constant land % if for all domain NSLCON = 6, ! Constant soil type if for all domain ! 1 -- sand 2 -- loamy sand 3 -- sandy loam ! 4 -- silt loam 5 -- loam 6 -- sandy clay loam ! 7 -- silty clay loam 8 -- clay loam 9 -- sandy clay ! 10 -- silty clay 11 -- clay 12 -- peat ZROUGH = .05, ! Constant roughness if for all domain ALBEDO = .2, ! Constant albedo if not running soil model SEATMP = 295., ! Constant water surface temperature DTHCON = 0., ! Constant sfc layer temp grad for no soil DRTCON = 0., ! Constant sfc layer moist grad for no soil SOIL_MOIST = 'i', ! n => Homogeneous (standard) ! i,h,a => Heterogenous Soil Moist.Init. ! with file. ! i => INITIAL ! h => HISTORY ! a => INITIAL or HISTORY SOIL_MOIST_FAIL = 'l', ! In case of Heterogenous Soil Moist. ! file was not found, what to do? ! s => STOP the program ! h => Initialize with Homogenous Soil Moist. ! l => Looking for 5 days old files, ! and if not found again then stop. USDATA_IN = '/scratchin/grupos/catt-brams/shared/datain/soil_moisture/2012/GL_SM.GPNR.', ! Soil Moisture File prefix USMODEL_IN = './dataout/UMIDADE/GL_SM.GPNR.', ! File prefix with pre-calculated data by BRAMS SLZ = -12.25, -7.25, -4.250, -2.25, -1.0, -0.35, -0.10, ! soil grid levels SLMSTR = 0.45,0.45,0.30,0.25,0.22, 0.22,0.22, ! initial soil moisture STGOFF = .0, .0, .0, .0, .0, .0, .0, .0, .0, ! Initial soil temperature offset ! from lowest atmospheric level !-------------------------------------------------------------------------- !----- Urban canopy parameterization -------------------------------- IF_URBAN_CANOPY =0, !------------------------------------------------------------------------- !--------- Eddy diffusion coefficient parameters ----------------------- IDIFFK = 1,2,2,2, ! K flag: ! 1 - Horiz deform/Vert Mellor-Yamada ! 2 - Anisotropic deformormation ! (horiz & vert differ) ! 3 - Isotropic deformation ! (horiz and vert same) ! 4 - Deardorff TKE (horiz and vert same) ! 7 - Nakanishi TKE 2.5-level model IHORGRAD = 1, ! 1 - horiz grad frm decomposed sigma grad ! 2 - true horizontal gradient. ! Non-conserving, but allows small DZ CSX = .32,.32, ! Deformation horiz. K's coefficient CSZ = .35,.35, ! Deformation vert. K's coefficient XKHKM = 3.,3., ! Ratio of horiz K_h to K_m for deformation ZKHKM = 3.,3., ! Ratio of vert K_h to K_m for deformation AKMIN = 1.,1., ! Ratio of minimum horizontal eddy ! viscosity coefficientto typical value ! from deformation K !------------------------------------------------------------------------------ ! Microphysics LEVEL = 0, ! Moisture complexity level ICLOUD = 4, ! Microphysics flags IRAIN = 2, !------------------- IPRIS = 5, ! 1 - diagnostic concen. ISNOW = 2, ! 2 - specified mean diameter IAGGR = 2, ! 3 - specified y-intercept IGRAUP = 2, ! 4 - specified concentration IHAIL = 2, ! 5 - prognostic concentration CPARM = .3e9, ! Microphysics parameters RPARM = 1.e-3, !------------------------- PPARM = 0., ! Characteristic diameter, # concentration SPARM = 1.e-3, ! or y-intercept APARM = 1.e-3, GPARM = 1.e-3, HPARM = 3.e-3, GNU = 2.,2.,2.,2.,2.,2.,2., ! Gamma shape parms for ! cld rain pris snow aggr graup hail !----------------------------------------------------------------------------- $END $MODEL_SOUND !----------------------------------- ! Sounding specification !----------------------------------- ! Flags for how sounding is specified IPSFLG = 1, ! Specifies what is in PS array ! 0-pressure(mb) 1-heights(m) ! PS(1)=sfc press(mb) ITSFLG = 0, ! Specifies what is in TS array ! 0-temp(C) 1-temp(K) 2-pot. temp(K) IRTSFLG = 3, ! Specifies what is in RTS array ! 0-dew pnt.(C) 1-dew pnt.(K) ! 2-mix rat(g/kg) ! 3-relative humidity in %, ! 4-dew pnt depression(K) IUSFLG = 0, ! Specifies what is in US and VS arrays ! 0-u,v component(m/s) ! 1-umoms-direction, vmoms-speed HS = 0., PS = 1010.,1000.,2000.,3000.,4000.,6000.,8000.,11000.,15000.,20000., 25000., TS = 25.,18.5,12.,4.5,-11.,-24.,-37.,-56.5,-56.5,-56.5,-56.5, RTS = 70.,70.,70.,70.,20.,20.,20.,20.,10.,10.,10., US = 10.,10.,10.,10.,10.,10.,10.,10.,10.,10.,10., VS = 0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0., $END $MODEL_PRINT !----------------------------------- ! Specifies the fields to be printed during the simulation !----------------------------------- NPLT = 0, ! Number of fields printed at each time ! for various cross-sections (limit of 50) IPLFLD = 'UP','VP','WP','PP','THP','RT', ! Field names - see table below ! PLFMT(6) = '0PF7.2', ! Format spec. if default is unacceptable IXSCTN = 3,3,3,3,3,3,3,3, ! Cross-section type (1=XZ, 2=YZ, 3=XY) ISBVAL = 2,2,2,2,2,2,2,2, ! Grid-point slab value for third direction ! The following variables can also be set in the namelist: IAA, ! IAB, JOA, JOB, NAAVG, NOAVG, PLTIT, PLCONLO, PLCONHI, and PLCONIN. ! 'UP' - UP(M/S) 'RC' - RC(G/KG) 'PCPT' - TOTPRE ! 'VP' - VP(M/S) 'RR' - RR(G/KG) 'TKE' - TKE ! 'WP' - WP(CM/S) 'RP' - RP(G/KG) 'HSCL' - HL(M) ! 'PP' - PRS(MB) 'RA' - RA(G/KG) 'VSCL' - VL(M) ! 'THP' - THP(K) ! 'THETA'- THETA(K) 'RL' - RL(G/KG) 'TG' - TG (K) ! 'THVP' - THV(K) 'RI' - RI(G/KG) 'SLM' - SLM (PCT) ! 'TV' - TV(K) 'RCOND'- RD(G/KG) 'CONPR'- CON RATE ! 'RT' - RT(G/KG) 'CP' - NPRIS 'CONP' - CON PCP ! 'RV' - RV(G/KG) 'RTP' - RT'(G/KG) 'CONH' - CON HEAT ! 'CONM' - CON MOIS ! 'THIL' - Theta-il (K) 'TEMP' - temperature (K) ! 'TVP' - Tv' (K) 'THV' - Theta-v (K) ! 'RELHUM'-relative humidity (%) 'SPEED'- wind speed (m/s) ! 'FTHRD'- radiative flux convergence (??) ! 'MICRO'- GASPRC ! 'Z0' - Z0 (M) 'ZI' - ZI (M) 'ZMAT' - ZMAT (M) ! 'USTARL'-USTARL(M/S) 'USTARW'-USTARW(M/S) 'TSTARL'-TSTARL (K) ! 'TSTARW'-TSTARW(K) 'RSTARL'-RSTARL(G/G) 'RSTARW'-RSTARW(G/G) ! 'UW' - UW (M*M/S*S) 'VW' - VW (M*M/S*S) ! 'WFZ' - WFZ (M*M/S*S) 'TFZ' - TFZ (K*M/S) ! 'QFZ' - QFZ (G*M/G*S) 'RLONG'- RLONG ! 'RSHORT'-RSHORT $END $ISAN_CONTROL !----------------------------------- ! Isentropic control !----------------------------------- ISZSTAGE = 1, ! Main switches for isentropic-sigz IVRSTAGE = 1, ! "varfile" processing ISAN_INC = 0600, ! ISAN processing increment (hhmm) ! range controlled by TIMMAX, ! IYEAR1,...,ITIME1 GUESS1ST = 'PRESS', ! Type of first guess input- 'PRESS', 'RAMS' I1ST_FLG = 1, ! What to do if first guess file should be ! used but does not exist. ! 1=I know it may not be there, ! skip this data time ! 2=I screwed up, stop the run ! 3=interpolate first guess file from ! nearest surrounding times, stop if unable ! (not yet available) IUPA_FLG = 3, ! UPA-upper air, SFC-surface ISFC_FLG = 3, ! What to do if other data files should be ! uesed, but does not exist. ! 1 = I know it may not be there, ! skip this data time ! 2 = I screwed up, stop the run ! 3 = Try to continue processing anyway ! Input data file prefixes IAPR = '/scratchin/grupos/catt-brams/shared/datain/ATMOS_DATA/GLOBAL/GAMRAMT126/DP/2012/dp' , ! Input press level dataset ! Há também os DPs em /scratchin/grupos/catt-brams/shared/datain/ATMOS_DATA/GLOBAL/GAMRAMT126/DP !apenas os anos de 2004 a 2012 ! Há DPs em '/scratchout/oper/tempo/BRAMS/ams_05km/datain/2015071400/COND_CPT/dp' !porem apenas os ultimos 20 dias atuais ! Caso voce venha a utilizar previsao eles estao zipados em /stornext/oper/tempo/BRAMS/ams_20km e ams_05km ! Voce deve escolher da data e coloca-los des-zipados em tua pasta DP no scratchin IARAWI = '', ! Archived rawindsonde file name IASRFCE = '', ! Archived surface obs file name ! File names and dispose flags VARPFX = './dataout/IVAR/ADAPT', ! isan file names prefix IOFLGISZ = 0, ! Isen-sigz file flag: 0 = no write, 1 = write IOFLGVAR = 1, ! Var file flag: 0 = no write, 1 = write $END $ISAN_ISENTROPIC !----------------------------------- ! Isentropic and sigma-z processing !----------------------------------- !----------------------------------- ! Specify isentropic levels !----------------------------------- NISN = 43, ! Number of isentropic levels LEVTH = 280,282,284,286,288,290,292,294,296,298,300,303,306,309,312, 315,318,321,324,327,330,335,340,345,350,355,360,380,400,420, 440,460,480,500,520,540,570,600,630,670,700,750,800, !----------------------------------- ! Analyzed grid information: !----------------------------------- NIGRIDS = 1, ! Number of RAMS grids to analyze TOPSIGZ = 20000., ! Sigma-z coordinates to about this height HYBBOT = 4000., ! Bottom (m) of blended sigma-z/isentropic ! layer in varfiles HYBTOP = 6000., ! Top (m) of blended sigma-z/isentropic layr SFCINF = 1000., ! Vert influence of sfc observation analysis SIGZWT = 1., ! Weight for sigma-z data in varfile: ! 0.= no sigz data, ! 1.=full weight from surface to HYBBOT NFEEDVAR = 1, ! 1=feed back nested grid varfile, 0=dont !----------------------------------- ! Observation number limits: !----------------------------------- MAXSTA = 150, ! maximum number of rawindsondes ! (archived + special) MAXSFC = 1000, ! maximum number of surface observations NOTSTA = 0, ! Number of stations to be excluded NOTID = 'r76458', ! Station ID to be excluded ! Prefix with 'r' for rawindsonde, ! 's' for surface IOBSWIN = 1800, STASEP = .1, ! Minimum sfc station separation in degrees. ! Any surface obs within this distance ! of another obs will be thrown out ! unless it has less missing data, ! in which case the other obs will be ! thrown out. IGRIDFL = 3, ! Grid flag=0 if no grid point, only obs ! 1 if all grid point data and obs ! 2 if partial grid point and obs ! 3 if only grid data ! 4 all data... fast GRIDWT = .01,.01, ! Relative weight for the gridded press data ! compared to the observational data in ! the objective analysis GOBSEP = 5., ! Grid-observation separation (degrees) GOBRAD = 5., ! Grid-obs proximity radius (degrees) WVLNTH = 1200.,900., ! Used in S. Barnes objective analysis. ! Wavelength in km to be retained to the ! RESPON % from the data to the upper air ! grids. SWVLNTH = 750.,300., ! Wavelength for surface objective analysis RESPON = .90,.9, ! Percentage of amplitude to be retained. $END $POST NVP = 6, VP = 'u', 'v', 'tempc', 'topo', 'geo', 'w', GPREFIX = './dataout/POSPROCESS/ADAPTx5.1' ANL2GRA = 'ONE', PROJ='YES', MEAN_TYPE ='VMP', LATI = -90., -90., LATF = +90., +90., LONI = -180., -180., LONF = +180., 180., ZLEVMAX = 32,1,1, IPRESSLEV = 1, INPLEVS = 13, IPLEVS = 1000,975,950,925,900,850,800,750,700,500,300,200,100, ASCII_DATA ='NO', SITE_LAT =-10.76, SITE_LON =-62.36, $END $DIGITALFILTER applyDigitalFilter = .false., digitalFilterTimeWindow = 43200., $END $METEOGRAM applyMeteogram = .false., meteogramFreq = 1800., meteogramMap = './tables/meteogram/citiesBr.txt', meteogramDir = '/scratchout/oper/io/BRAMS/ams_05km/dataout/2015062512/HST/HST2012062512' $END PK ¥„GýAManual_de_instalacao_do_BRAMS/UTfÁUux ééPK ` G-ýAXManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/UT±ÌUux ééPK ‡}ðF%­LG´¿Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/installation_BRAMS_in_tupaUT}û§Uux ééPK uæFÇþGi9ýVManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/run_BRAMS.shUT—½šUux ééPK ÏrðFt¶éB±‰±‰5¤VManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/RAMSIN_5UTUè§Uux ééPK &‰GÜ¥y$445´vœManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/run_testUTèÁUux ééPK {uæFY3CcAA3´¥Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/READMEUTY¾šUux ééPK ŠtæF‚Ilb445íÇ¥Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/xMit5.shUT“¼šUux ééPK ˜zðFmÝÝE´j­Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5/Ambiente_BRAMS_5_no_tupaUTö§Uux ééPK ` G0ýAÆ´Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/UTù°ÌUux ééPK ÀlGp(‹N  O´0µManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/installation_BRAMS_in_tupa_5-01UThêÀUux ééPK šRïF…Ê‚¡||AýÃÅManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/run_BRAMS_5-01.shUT3^¦Uux ééPK }|îF N¸JJ6´ºÇManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/READMEUTŽV¥Uux ééPK ŠtæF‚Ilb448ítÈManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/xMit5.shUT“¼šUux ééPK ‰GÛï÷oo=´ÐManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/run_test_5-01UTÈÁUux ééPK †uðFp‚/K´ÙManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/Ambiente_BRAMS_5-01_no_tupaUTkí§Uux ééPK qpðF¸ÇhŠŠ;¤“ßManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01/RAMSIN_5-01UTæã§Uux ééPK œ‚ðFÀ?G««%´jManual_de_instalacao_do_BRAMS/leia-meUT¨Uux ééPK g_ G>ýA$mManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/UTÁ°ÌUux ééPK îkGåëTÖ——]´œmManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/installation_BRAMS_in_tupa_5-01UTàèÀUux ééPK O€ðF @OªBBI´Ê~Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/leia-me-RMSUTÆÿ§Uux ééPK šRïF…Ê‚¡||OýManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/run_BRAMS_5-01.shUT3^¦Uux ééPK ðFàò¼eÏÏ]´”Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/Ambiente_BRAMS_5-01_no_tupa_RMSUT¨Uux ééPK }|îF N¸JJD´úˆManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/READMEUTŽV¥Uux ééPK ŠtæF‚Ilb44Fí‰Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/xMit5.shUT“¼šUux ééPK ‰Gé5Áš““K´v‘Manual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/run_test_5-01UT§ÁUux ééPK ÐrðF¸ÇhŠŠI¤ŽšManual_de_instalacao_do_BRAMS/Padrao_BRAMS_5-01_dentro_do_RMS/RAMSIN_5-01UTWè§Uux ééPK#%