-
Notifications
You must be signed in to change notification settings - Fork 0
/
runwrf.sh
executable file
·2493 lines (1910 loc) · 104 KB
/
runwrf.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/bash
#
# Encoding UTF-8
# Last revision: 2023-02-22
# runwrf.sh: this is the main script that executes the routines for the WRF model.
#
# ----------------------------------------
# Command line parameters (basic info; more in Readme.md)
# ./runwrf.sh -conf A -ts 2022-01-01-12 -ti 24 -gtr 3 -np 4 -gd gfs0p50
# -conf A : domain configuration A
# -ts 2022-01-01-12 : date-time of start of simulation
# -ti 24 : integration time in hours (24 hours)
# OPTIONAL
# -tiout 3 | 6 :(H) time interval of output (default:3h) (OPTIONAL)"
# -gd gfs1p00 | gfs0p50 | gfs0p25 | cptec_wrf_5km :global data NCEP-GFS (1|0,5|0,25 degree - default:gfs1p00) OR WRF from CPTEC (5km)"
# -gti 1 | 3 | 6 :(H) time interval (hours) of global input data (time resolution): 1 for cptec_wrf_5km and 3/6 for gfs (defaults are: 1h for cptec_wrf_5km and 3h for gfs)"
# -np 1 :number of processes to be use: (default=1)"
# --wrf-time-step 20 :value (in s) of WRF time step (default:each configuration has been defined with s
# Or call for help: ./runwrf.sh --help
# ----------------------------------------
# ----------------------------------------
# Versions and changelogs (more detailed in the Readme.md):
# 0.1 (2009): this script was aimed to automatize the WRF
# model routines; this was based on the script
# that executed the MM5 model.
# 4.0 (2021-10-12): this script enters in revision.
# 4.1 (2022-02-10): the model is running now, but there is
# still more development and testing to go
# ----------------------------------------
# Set debugging messages (variable tracking)
# DEBUG=1 # debug ON
DEBUG=0 # debug OFF
## TODO TODO TODO permanente
# More in README.md
###############################################################
###############################################################
#
# Basic and Global DEFINITIONS
#
###############################################################
###############################################################
# This is the directory from the scripts were called
CURRENT_DIR=/home/$(id -un)/model-wrf
# String that contains the letters of all domains configured
CONFIG_VALUES="ABCDEFGHIJKL"
declare -u CONFIG="A" # receives only uppercase letters
# What scripts epends on this:
# model-wrf/post_processing/process_ARWpost.sh
# model-wrf/post_processing/generate_output_graphics.sh
# This is for AFWA diagnostics output
declare -i GEN_WRFOUT_DIAGS_AFWA=0
COMPILADOR=GFORTRAN
# This variable will track the parameters supplied by user
NUM_PARAM=0
# This defines the MANDATORY parameters (number) for calling
# this script.
NUM_ARGUMENTOS=3 # conf ts ti
# ./runwrf.sh -conf A -ts 2021-06-10-00 -ti 24 -gd gfs0p25 -gtr 6
# Optional parameters
# gd: gfs1p00 | gfs0p50 | gfs0p25 | cptec_wrf_5km
# gtr: 3 or 6 hours
# Some default arguments/parameters
NUM_PROC=1 # number of process
WRF_PARAM_FOR_MPI_1="" # option to mpirun: --use-hwthread-cpus
RES_G_NCEP="1p00" # global data: resolution
RUN_TIME_HOURS=24 # integration time
# Variable to define where the global met data come from
# GFS, CPTEC (from WRF model), etc
# ATTENTION: this choice is determined by the domain configuration (for best config and results)
GLOBAL_DATA_SOURCE=gfs
# GLOBAL_DATA="gfs1p00" This var contain the resolution of input data for the GLOBAL_DATA_SOURCE
# If user use the command line --use-alternate-data then the function
# will read the global data dir from user and set the variable
USE_ALTERNATE_DATA="no" # Default
# This option can be used to create new run [wrf-a -> wrf-b, e.g.], independently
# of the previous configuration (wrf-a, for example).
USE_NEW_RUN="no" # Tried to execute the last configuration (wrf-a, e.g.)
# Setting as a global variables
DIR_WRF_OUTPUT=""
DIR_WPS_INPUT=""
# This variable will be used by user to provide some specific value.
# This will be copied to the global var _WRF_TIME_STEP that will be exported.
WRF_TIME_STEP=0
# -------- Settings that modify the path of execution
# 20220422: to use or not the geogrid file provided by this scripts
# Default=no -> geo_em.d0? will be generated by program geogrid.exe
# Changed the name of variable
USE_STATIC_GEOGRID="no"
# 20220309: how will the previous execution be handled?
# Two type of configurations:
# - Domain and date-hour and length of simulation
# - Physics, dynamics, and other relative to wrf execution
# a) Discard the state of previous execution and starts a new (can use the same configuration
# or a manual editing of the namelist files (WPS,WRF): bin/WPS/namelist.wps and bin/WRF/namelist.input
# USE_STATIC_NAMELIST_FILES="yes"
# b) Or, the normal execution with parameters defined in command line and in the config files.
USE_STATIC_NAMELIST_FILES="no" # Default
# --------
# ------- Setting to enable manual or automatic (via cron) execution
# Para rodar via cron ajustar manualmente o diretório CURRENT_DIR no início do
# processamento do modelo.
# Em 08nov06: variavel para indicar que se quer ou
# nao inicilizar interativamente o grupo data-hora.
# Em 15ago10: tipos de inicializações do grupo data-hora
# AUTOMATIC=data do dia de hoje; hora=12
# INTERACTIVE=o script solicita os valores via questionamentos.
#DH_HOW_RUN_SCRIPT=AUTOMATIC
DH_HOW_RUN_SCRIPT=INTERACTIVE
#############################################################
#############################################################
#
# General Functions
#
#############################################################
#############################################################
# Show debug messages for depuration
f_debug ()
{
[ ${DEBUG} == 1 ] && echo -e "\033[33;1m DEBUG (${1}):${2}=${3}\033[m \n"
}
# terminar_script () {
shutdown_execution () {
echo -e "\n\n $1 \n\n" ; exit $2
}
mensagem () {
echo -e "\n $1 \n" ;
}
# -------------------------------------------------------------
# Funcao de AJUDA para parametros de linha de comando
# -------------------------------------------------------------
function help
{
echo -e " Use: \$ ./$(basename "$0") parameters options\n"
echo -e "-- MANDATORY parameters--"
echo " -conf A | B | ... Z :domain configuration"
echo " -ts 2021-06-01-12 :(yyyy-mm-dd-HH) date-time of start data/hora inicial da integração"
echo " -ti 24 | 48 | 72 :(HH) integration time in hours (run time forecast) (default:24h)"
echo -e "\n-- OPTIONAL parameters--"
echo " -tiout 3 | 6 :(H) time interval of output (default:3h)"
echo " -gd gfs1p00 | gfs0p50 | gfs0p25 | cptec_wrf_5km :global data NCEP-GFS (1|0.5|0.25 degree - default:gfs1p00) OR WRF from CPTEC (5km)"
echo " -gti 1 | 3 | 6 :(H) time interval (hours) of global input data (time resolution): 1 for cptec_wrf_5km and 3/6 for gfs (defaults are: 1h for cptec_wrf_5km and 3h for gfs)"
echo -e "\n"
echo " -np 1 :number of processes to be use: (default=1)"
echo " --wrf-time-step 20 :value (in s) of WRF time step (default:each configuration has been defined with some default time step)"
echo -e "\n-- OPTIONS --"
echo " [--use-hwthread-cpus ] : use hardware threads as independent cpus (default:empty)"
echo " [--use-generated-geogrid ] : use file geo_em.d0[03] (geogrid output) generated previously and available in model scripts directory (default: use the program geogrid.exe to generate)"
echo " [--use-static-config ] : the script will use the namelist files in their directories. Only need provide the mandatory parameters to verify DIR and INPUT DATA - default: use dynamic generation of the namelist files."
# TODO TODO
echo " [--use-alternate-date : use alternate data: the user must indicate the input data dir. ]"
echo " [--new-run : new config run (wrf-*) where * is a letter for the next, independently of the result of last run. ]"
echo " "
echo " -h|--help : for help"
echo " -conf -h : for help about domain configurations (not yet implemented)"
echo "Observations:\n"
echo " a) The parameter \"tiout\" is for the coarse domain (domain 1). The domain 2 and 3 (if configured) will output data in time interval of 1 hour"
echo " b) There are no guarantee that using virtual processors (hyperthreading) will upgrade performance. Recommendation is one process per core."
echo -e "\n-- EXAMPLE --"
echo "./runwrf.sh -conf G -ts 2022-01-01-12 -ti 24 -gti 3 -np 4 -gd gfs0p50 --use-generated-geogrid"
echo "Configuration G: r_sudeste-SP-MG-PR-MS-2d"
echo "Start of simulation: 2022, 1st january at 12 UTC"
echo "Time of forecast: 24 hours"
echo "Time step of global data: 3 hours"
echo "Type and resolution of global data: GFS from NCEP - 0.5 degrees"
echo "Use domain configuration (physical) from geogrid.exe"
shutdown_execution " " 0
}
# -------------------------------------------------------------
# Funcao de AJUDA para parametros de linha de comando
# -------------------------------------------------------------
# TODO TODO
function help_for_config_domain
{
shutdown_execution "TODO-> help about config domains " 0
}
# -------------------------------------------------------------
# Function: set dir variables
# -------------------------------------------------------------
# TODO TODO TODO TODO These data need to come from an external file
function f_set_or_create_dir
{
# Em 27abr05: modificação dos diretórios.
# Em 31out05: modificação do diretório GFS (do sítio NCEP).
# Em 31dez21: new model data dir
# Example:
# model-data-input-global/2021-12-31-12-gfs
# DIR_DATA_INPUT=model-data-input-global THIS FUNCTION
# 2021-12-31-12-gfs
# model-data-output/2021-12-31-12_dom_A-SC/wrf-1
# DIR_DATA_OUTPUT=model-data-output THIS FUNCTION
# DIR_DOMAIN_OUTPUT=2021-12-31-12_dom_A-SC FUNCTION:
# DIR_WRF_OUTPUT=$DIR_DATA_OUTPUT/$DIR_DOMAIN_OUTPUT/wrf-[a-z] main processing
# DIR_DATA_OUTPUT/DIR_DOMAIN_OUTPUT/DIR_WRF_OUTPUT
# model-data-output/2021-12-31-12_dom_A-SC/wrf-1
# DIR_WRF_OUTPUT=${DIR_DATA_OUTPUT}/${DIR_DOMAIN_OUTPUT}/wrf-$retorno
# subdir: `yyyy-mm-dd-HH-gfs` (for GFS) yyyy-mm-dd-HH-cptec-wrf (for WRF from CPTEC)
# Directory for the OUTPUT data from the model: `model-data-output`
# subdir: `yyyy-mm-dd-HH_dom_A-SC` `yyyy-mm-dd-HH_dom_F-SP`
# Each is for some domain and data-time of initialization. If there a need more than once specific configuration (for example, diferent physics), each one outputs in diferent directory
# subdir: `yyyy-mm-dd-HH_dom_A-SC/wrf-1...10` and so on
# DIR_DATA_OUTPUT/DIR_DOMAIN_OUTPUT/DIR_WRF_OUTPUT
# model-data-output/2021-12-31-12_dom_A-SC/wrf-1
# Diretório PRINCIPAL => diretório do USUÁRIO
export USER_PATH=$HOME
# Diretório dos arquivos executáveis (pgi, gradsc, mm5)
export BIN_PATH=$USER_PATH/bin
# Diretório dos binários
BINARIOS_PATH=$USER_PATH/binarios
# Diretório de TRABALHO. Em 03jul10: diretórios de trabalho para o WRF.
WRF_PATH=$USER_PATH/bin/WRF
# Em 06jul10: será exportada para ser usada pelos scripts do WPS.
export WPS_PATH=$USER_PATH/bin/WPS
# Diretório dos arquivos de terreno. O nome do diretório é aquele da descompactação.
GEODATA_PATH=$USER_PATH/bin/WPS_GEOG
# Diretório backup dos arquivos de dados da rodada corrente.
# 06jul10: será exportado em função do wps.
# 23dez21: the organization of directories will change. Vide Readme
#
DIR_DATA_INPUT=$USER_PATH/model-data-input-global
DIR_DATA_OUTPUT=$USER_PATH/model-data-output
# If dirs do not exist, create it.
if [ ! -d ${DIR_DATA_INPUT} ]; then
mkdir -p ${DIR_DATA_INPUT}
[ $? -ne 0 ] && shutdown_execution "ERROR: problem in creating dir ${DIR_DATA_INPUT}" 1
fi
if [ ! -d ${DIR_DATA_OUTPUT} ]; then
mkdir -p ${DIR_DATA_OUTPUT}
[ $? -ne 0 ] && shutdown_execution "ERROR: problem in creating dir ${DIR_DATA_OUTPUT}" 1
fi
}
# Em 02jan22: set the variable that will contain the CONFIGURATION (DOMAIN config)
# and the origin of global data (that is dependent from configuration)
function f_config_of_domain
{
if [ ! -z $1 ]; then
if [ $1 = "-h" ] -o [ $1 = "-H" ]; then
ajuda_configuracoes
fi
else
shutdown_execution 1
fi
}
# Time (DATE-HOUR) of the start of integration
function t_start
{
# Test the format: 2022-01-01-00
grep -E '^20[1-2][0-9]-[0-1][0-9]-[0-3][0-9]-(00|06|12|18)' <<< $1 > /dev/null
[[ $? -ne 0 ]] && mensagem "ERROR in the parameter ts:$1 " && return 1
START_YEAR=$(cut -d- -f 1 <<< $1)
START_MONTH=$(cut -d- -f 2 <<< $1)
START_DAY=$(cut -d- -f 3 <<< $1)
START_HOUR=$(cut -d- -f 4 <<< $1)
NUM_PARAM=$(( $NUM_PARAM + 1))
}
# Tempo de integração: 24, 48 ou 72 horas
# Time of integration in hours.
# namelist.input parameter: run_hours
function t_integracao
{
# Test if ${1} is only number
if [[ ! $1 =~ ^[0-9]+$ ]] ; then
mensagem "ERROR in the parameter ti:$1 "
return 1
fi
case $1 in
24) RUN_TIME_HOURS=24 ;;
48) RUN_TIME_HOURS=48 ;;
72) RUN_TIME_HOURS=72 ;;
*) mensagem "ERROR in the parameter ti:$1 " ; return 1 ;;
esac
NUM_PARAM=$(( $NUM_PARAM + 1))
}
# Sets the GLOBAL_DATA and GLOBAL_DATA_SOURCE used
# to generate the dir: DIR_WPS_INPUT
function f_global_data
{
case ${1} in
gfs1p00) GLOBAL_DATA="gfs1p00"; GLOBAL_DATA_SOURCE="gfs" ;;
gfs0p50) GLOBAL_DATA="gfs0p50"; GLOBAL_DATA_SOURCE="gfs" ;;
gfs0p25) GLOBAL_DATA="gfs0p25"; GLOBAL_DATA_SOURCE="gfs" ;;
cptec_wrf_5km) GLOBAL_DATA="cptec_wrf_5km"; GLOBAL_DATA_SOURCE="cptec-wrf" ;;
*) mensagem "ERROR in the parameter gd:${1} " ; return 1 ;;
esac
# 20220205: the global data (source and RESOLUTION) are determined by
# the choose of the configuration (it is to avoid problems in downscaling)
# But if the user wants to modify, then he can do so.
# NUM_PARAM=$(( $NUM_PARAM + 1))
}
# TODO TODO TODO
function f_use_alternate_data
{
echo '********************************'
echo ' Dados globais (fronteira e inicialização)'
echo ' Opção para o usuário entrar com diretório para'
echo ' localização de dados alternativos'
echo ' Observations:'
echo ' a) The format of data MUST be in GRIB2. The model (UNGRIB)'
echo ' accepts other formats, but it must be configures before'
echo ' b) Each file need contains only one forecast date-time'
echo '********************************'
answer=n
while [ x$answer == "xn" ] || [ x$answer == "xN" ]; do
echo ' Enter the full directory of input data:'
read answer
DIR_WPS_INPUT=$answer
if [ x$answer != "xn" ] && [ x$answer != "xN" ]; then
read -p "Confirm dir of global input data [$DIR_WPS_INPUT] (y/n):" answer
if [ x$answer == "xy" ] || [ x$answer == "xY" ]; then
GLOBAL_DATA_SOURCE="grib2"
GLOBAL_DATA="grib2"
fi
fi
done
echo " Value of global time interval (forecast files): $GLOBAL_DATE_TIME_INTERVAL"
echo " Is this value correct (y) or you want modify it (n)?"
read answer
if [ x$answer == "xn" ] || [ x$answer == "xN" ]; then
read -p "What time interval in HOURS between forecast files: " answer
GLOBAL_DATE_TIME_INTERVAL=$answer
fi
return 0
}
# -------------------------------------------------------------
# Function: set the parameters of namelist files for WPS and WRF
# TODO TODO Use an external script to process the namelist
# TODO TODO parameters that will be read from a text file.
# TODO TODO The aim is to put out the configuration values from
# TODO TODO this script file.
# -------------------------------------------------------------
function f_set_domain_and_phys_parameters {
# process-parameters-dom-and-phy.sh
# Other option for CONFIG: declare it as uppercase: declare -u CONFIG (in the main section of this script)
# Obs: use of regex in Bash
if [[ ${1} =~ [:alfa:]* ]] && [[ ${#1} -eq 1 ]]; then
CONFIG=$(tr [:lower:] [:upper:] <<< ${1})
if [[ ${CONFIG} =~ ${CONFIG_VALUES} ]] && [ $? -ne 0 ] ; then
mensagem "ERROR in the parameter conf:${1} The value is out of the config domains available:$CONFIG_VALUES "
return 1
#shutdown_execution "The value {$1} is out of the config domains available {$CONFIG_VALUES}. Exiting ... 1"
fi
else
mensagem "ERROR in the parameter conf:${1} The value is INCORRECT."
return 1
#shutdown_execution "The value {$1} is INCORRECT. Exiting ... 1"
fi
case $CONFIG in
[aA]) # ******************** 3 domínios: cone sul da AS -> região sul (Brasil) -> RS e SC
CONFIG_NAME="conesul-RS-SC-PR-3d"
export _MAX_DOMAIN=3
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=108
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=2
export _I_PARENT_START_2=15 ; export _I_PARENT_START_3=70
export _J_PARENT_START_2=49 ; export _J_PARENT_START_3=75
export _GEODATA_RES_1=5m; export _GEODATA_RES_2=2m; export _GEODATA_RES_3=30s
export _MAP_PROJECTION=lambert
export _E_WE_1=100; export _E_WE_2=214; export _E_WE_3=367
export _E_SN_1=140; export _E_SN_2=205; export _E_SN_3=307
export _DX_1=18000
export _DY_1=18000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=6000; export _DX_3=2000
export _DY_2=6000; export _DY_3=2000
export _REF_LAT=-31.41; export _REF_LON=-53.435
export _TRUELAT1=-31.41; export _TRUELAT2=-31.41; export _STAND_LON=-53.435
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=3 # 3 hours
GLOBAL_DATA=gfs0p50 # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="gfs"
# Included to considerer more ratio options
export _PARENT_RATIO_2=3 # Best values: 3 or 5
export _PARENT_RATIO_3=3 # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=16; _CU_PHYSICS_2=16; _CU_PHYSICS_3=0;
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[bB]) # ****************************
CONFIG_NAME="r_sul-RS-SC-2d"
export _MAX_DOMAIN=2
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=60
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=""
export _I_PARENT_START_2=51 ; export _I_PARENT_START_3=""
export _J_PARENT_START_2=71 ; export _J_PARENT_START_3=""
export _GEODATA_RES_1=2m; export _GEODATA_RES_2=30s; export _GEODATA_RES_3=""
export _MAP_PROJECTION=lambert
export _E_WE_1=150; export _E_WE_2=391; export _E_WE_3=""
export _E_SN_1=160; export _E_SN_2=371; export _E_SN_3=""
export _DX_1=10000
export _DY_1=10000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=2000; export _DX_3=""
export _DY_2=2000; export _DY_3=""
export _REF_LAT=-30.477; export _REF_LON=-53.302
export _TRUELAT1=-30.477; export _TRUELAT2=-30.477; export _STAND_LON=-53.302
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=3 # 3 hours
GLOBAL_DATA=gfs0p25 # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="gfs"
# Included to considerer more ratio options
export _PARENT_RATIO_2=5 # Best values: 3 or 5
export _PARENT_RATIO_3="" # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=16; _CU_PHYSICS_2=16; _CU_PHYSICS_3=0;
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[cC]) # ********************************************
CONFIG_NAME="r_sul-SC-2d-high"
export _MAX_DOMAIN=2
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=30
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=""
export _I_PARENT_START_2=107 ; export _I_PARENT_START_3=""
export _J_PARENT_START_2=126 ; export _J_PARENT_START_3=""
export _GEODATA_RES_1=2m; export _GEODATA_RES_2=30s; export _GEODATA_RES_3=""
export _MAP_PROJECTION=lambert
export _E_WE_1=298; export _E_WE_2=751; export _E_WE_3=""
export _E_SN_1=277; export _E_SN_2=516; export _E_SN_3=""
export _DX_1=5000
export _DY_1=5000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=1000; export _DX_3=""
export _DY_2=1000; export _DY_3=""
export _REF_LAT=-28.921; export _REF_LON=-53.524
export _TRUELAT1=-28.921; export _TRUELAT2=-28.921; export _STAND_LON=-53.524
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=3 # 3 hours
GLOBAL_DATA=gfs0p25 # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="gfs"
# Included to considerer more ratio options
export _PARENT_RATIO_2=5 # Best values: 3 or 5
export _PARENT_RATIO_3="" # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=16; _CU_PHYSICS_2=0; _CU_PHYSICS_3=0;
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[dD])
CONFIG_NAME="santa-catarina-1d-high"
export _MAX_DOMAIN=1
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=6
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=""
export _I_PARENT_START_2=107 ; export _I_PARENT_START_3=""
export _J_PARENT_START_2=126 ; export _J_PARENT_START_3=""
export _GEODATA_RES_1=30s; export _GEODATA_RES_2=30s; export _GEODATA_RES_3=""
export _MAP_PROJECTION=lambert
export _E_WE_1=751; export _E_WE_2=""; export _E_WE_3=""
export _E_SN_1=511; export _E_SN_2=""; export _E_SN_3=""
export _DX_1=1000
export _DY_1=1000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=""; export _DX_3=""
export _DY_2=""; export _DY_3=""
export _REF_LAT=-27.322; export _REF_LON=-51.746
export _TRUELAT1=-27.322; export _TRUELAT2=-27.322; export _STAND_LON=-51.746
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=1 # 1 hour
GLOBAL_DATA=cptec_wrf_5km # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="cptec-wrf"
# Included to considerer more ratio options
export _PARENT_RATIO_2="" # Best values: 3 or 5
export _PARENT_RATIO_3="" # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=0; _CU_PHYSICS_2=0; _CU_PHYSICS_3=0
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[eE])
CONFIG_NAME="santa-catarina-1d-high-small"
export _MAX_DOMAIN=1
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=6
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=""; export _PARENT_ID_3=""
export _I_PARENT_START_2="" ; export _I_PARENT_START_3=""
export _J_PARENT_START_2="" ; export _J_PARENT_START_3=""
export _GEODATA_RES_1=30s; export _GEODATA_RES_2=""; export _GEODATA_RES_3=""
export _MAP_PROJECTION=lambert
export _E_WE_1=560; export _E_WE_2=""; export _E_WE_3=""
export _E_SN_1=420; export _E_SN_2=""; export _E_SN_3=""
export _DX_1=1000
export _DY_1=1000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=""; export _DX_3=""
export _DY_2=""; export _DY_3=""
export _REF_LAT=-27.322; export _REF_LON=-51.2
export _TRUELAT1=-27.322; export _TRUELAT2=-27.322; export _STAND_LON=-50.768
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=1 # 1 hour
GLOBAL_DATA=cptec_wrf_5km # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="cptec-wrf"
# Included to considerer more ratio options
export _PARENT_RATIO_2="" # Best values: 3 or 5
export _PARENT_RATIO_3="" # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=0; _CU_PHYSICS_2=0; _CU_PHYSICS_3=0
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[fF])
CONFIG_NAME="santa-catarina-1d-low-small"
export _MAX_DOMAIN=1
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=12
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=""; export _PARENT_ID_3=""
export _I_PARENT_START_2="" ; export _I_PARENT_START_3=""
export _J_PARENT_START_2="" ; export _J_PARENT_START_3=""
export _GEODATA_RES_1=30s; export _GEODATA_RES_2=30s; export _GEODATA_RES_3=""
export _MAP_PROJECTION=lambert
export _E_WE_1=370; export _E_WE_2=""; export _E_WE_3=""
export _E_SN_1=250; export _E_SN_2=""; export _E_SN_3=""
export _DX_1=2000
export _DY_1=2000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=""; export _DX_3=""
export _DY_2=""; export _DY_3=""
export _REF_LAT=-27.322; export _REF_LON=-51.746
export _TRUELAT1=-27.322; export _TRUELAT2=-27.322; export _STAND_LON=-51.124
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=1 # 1 hour
GLOBAL_DATA=cptec_wrf_5km # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="cptec-wrf"
# Included to considerer more ratio options
export _PARENT_RATIO_2="" # Best values: 3 or 5
export _PARENT_RATIO_3="" # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=0; _CU_PHYSICS_2=0; _CU_PHYSICS_3=0
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[gG]) # ****************************
CONFIG_NAME="r_sudeste-SP-MG-PR-MS-2d"
export _MAX_DOMAIN=2
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=60
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=""
export _I_PARENT_START_2=38 ; export _I_PARENT_START_3=""
export _J_PARENT_START_2=45 ; export _J_PARENT_START_3=""
export _GEODATA_RES_1=2m; export _GEODATA_RES_2=30s; export _GEODATA_RES_3=""
export _MAP_PROJECTION=lambert
export _E_WE_1=150; export _E_WE_2=381; export _E_WE_3=""
export _E_SN_1=160; export _E_SN_2=361; export _E_SN_3=""
export _DX_1=10000
export _DY_1=10000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=2000; export _DX_3=""
export _DY_2=2000; export _DY_3=""
export _REF_LAT=-22.3; export _REF_LON=-49
export _TRUELAT1=-22.3; export _TRUELAT2=-22.3; export _STAND_LON=-49.791
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=3 # 3 hours
GLOBAL_DATA=gfs0p25 # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="gfs"
# Included to considerer more ratio options
export _PARENT_RATIO_2=5 # Best values: 3 or 5
export _PARENT_RATIO_3="" # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=16; _CU_PHYSICS_2=0; _CU_PHYSICS_3=0
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[hH]) # Área de Sao Paulo
# 3 domínios: AS -> região Sudeste (Brasil) -> litoral São Paulo
CONFIG_NAME="sao-paulo-sjcampos"
export _MAX_DOMAIN=3
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=216
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=2
export _I_PARENT_START_2=54 ; export _I_PARENT_START_3=54
export _J_PARENT_START_2=63 ; export _J_PARENT_START_3=62
export _GEODATA_RES_1=10m; export _GEODATA_RES_2=2m; export _GEODATA_RES_3=30s
export _MAP_PROJECTION=lambert
export _E_WE_1=166; export _E_WE_2=166; export _E_WE_3=163
export _E_SN_1=188; export _E_SN_2=190; export _E_SN_3=190
export _DX_1=36000
export _DY_1=36000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=12000; export _DX_3=4000
export _DY_2=12000; export _DY_3=4000
export _REF_LAT=-23.33; export _REF_LON=-44.8
export _TRUELAT1=-22.522; export _TRUELAT2=-22.522; export _STAND_LON=-44.902
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=3 # 3 hours
GLOBAL_DATA=gfs0p25 # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="gfs"
# Included to considerer more ratio options
export _PARENT_RATIO_2=3 # Best values: 3 or 5
export _PARENT_RATIO_3=3 # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=16; _CU_PHYSICS_2=16; _CU_PHYSICS_3=16;
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[iI]) # América do Sul -> Maranhão
CONFIG_NAME="americasul-r_norte-MA-3d"
export _MAX_DOMAIN=3
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=162
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.
if [ -z ${_T_INTERVAL_OUTPUT_1} ]; then # Not set by the user
export _T_INTERVAL_OUTPUT_1=180 ## interval time: 3 h for DOMAIN 1
fi
export _T_INTERVAL_OUTPUT_2=60 ## interval time: 1 h for DOMAIN 2
export _T_INTERVAL_OUTPUT_3=60 ## interval time: 1 h for DOMAIN 3
export _PARENT_ID_2=1; export _PARENT_ID_3=2
export _I_PARENT_START_2=58 ; export _I_PARENT_START_3=54
export _J_PARENT_START_2=65 ; export _J_PARENT_START_3=62
export _GEODATA_RES_1=10m; export _GEODATA_RES_2=2m; export _GEODATA_RES_3=30s
export _MAP_PROJECTION=mercator
export _E_WE_1=166; export _E_WE_2=154; export _E_WE_3=142
export _E_SN_1=188; export _E_SN_2=178; export _E_SN_3=166
export _DX_1=27000
export _DY_1=27000
# Spatial resolutions of nests are calculated from parent_grid_ratio.
# No more necessary.
export _DX_2=9000; export _DX_3=3000
export _DY_2=9000; export _DY_3=3000
export _REF_LAT=-2.5; export _REF_LON=-44.5
export _TRUELAT1=-2.5; export _TRUELAT2=0; export _STAND_LON=-44.547
# 20211223: conf determines the choice of global data (source and/or
# resolution and interval)
GLOBAL_DATE_TIME_INTERVAL=3 # 3 hours
GLOBAL_DATA=gfs0p25 # GFS_0p50 GFS_0p25 NCEP_WRF_1km
GLOBAL_DATA_SOURCE="gfs"
# Included to considerer more ratio options
export _PARENT_RATIO_2=3 # Best values: 3 or 5
export _PARENT_RATIO_3=3 # Best values: 3 or 5
export _FEEDBACK=1 # 0 one-way no feedback 1 two-way w/ feedbak (default)
export _SMOOTH=2 # Default=2
export _MP_PHYSICS_1=5; export _MP_PHYSICS_2=5; export _MP_PHYSICS_3=5
export _BL_PBL_PHYSICS_1=1; export _BL_PBL_PHYSICS_2=1; export _BL_PBL_PHYSICS_3=1
export _CU_PHYSICS_1=16; _CU_PHYSICS_2=16; _CU_PHYSICS_3=16;
export _E_VERT=41 # Number o vertical levels. The levels are
# automatically calculated (auto_levels_opt=2)
# stretching in lower and in top of the atmosphere.
# Minimum number of levels when dzstretch_s and dzstretch_u in namelist.input
# dzstretch(dzstretch_s-dzstretch_u)=1.2-1.06 => 41 for ptop=50
;;
[jJ]) # Regiões Norte e Nordeste -> Maranhão
CONFIG_NAME="r_norte-r_nordeste-MA-2d-low"
export _MAX_DOMAIN=2
# 20220131: inclusion in this configuration, but can be
# modified.
export _WRF_TIME_STEP=216
# 20220131:this is the parameter history_interval of namelist.input (MINUTES)
# Frequency at which to write data to the history (wrfout) file.