Hello All,
I attempted to use 'xtrct_grid' tool to obtain a subgrid of raw HRRR file and have written a shell script ( ) to automate these procedures. However, when I execute the script, the subgridding often generate files with smaller sizes compared to the correct outputs. For example, the following message is the processing log that I received when I subgrid the HRRR file "20220101_12-17_hrrr" based on the script:
Enter meteorological directory ...
/data/HRRR/
Enter meteorological file name ...
20220101_12-17_hrrr
Lower left corner: 21.1381 -122.7190
Upper right corner: 47.8419 -60.9162
Number of data levels (inc sfc): 36
Enter new lower left corner (lat,lon):
26.43,-91.06
Enter new upper right corner (lat,lon):
36.76,-74.54
Enter desired number of levels (incl sfc): 36
36
NOTICE pakset:
Number of index records = 1
Number of records /time = 299
22 1 112 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 1
NOTICE pakini: end initialization rec = 299
22 1 113 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 300
NOTICE pakini: end initialization rec = 598
22 1 114 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 599
NOTICE pakini: end initialization rec = 897
22 1 115 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 898
NOTICE pakini: end initialization rec = 1196
As you may have already noticed from the above message, the process of HRRR file missed the following procedures:
22 1 116 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 1197
NOTICE pakini: end initialization rec = 1495
22 1 117 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 1496
NOTICE pakini: end initialization rec = 1794
If I re-run the same script multiple times, it occasionally generates the correct outputs.
Additionally, when I manually run the xtrct_grid tool without using the script, it never gives me incorrect output. Does anyone know why the xtrct_grid is not stable when executed through a script?
Thank you!
Regards,
Sherry
I attempted to use 'xtrct_grid' tool to obtain a subgrid of raw HRRR file and have written a shell script ( ) to automate these procedures. However, when I execute the script, the subgridding often generate files with smaller sizes compared to the correct outputs. For example, the following message is the processing log that I received when I subgrid the HRRR file "20220101_12-17_hrrr" based on the script:
Enter meteorological directory ...
/data/HRRR/
Enter meteorological file name ...
20220101_12-17_hrrr
Lower left corner: 21.1381 -122.7190
Upper right corner: 47.8419 -60.9162
Number of data levels (inc sfc): 36
Enter new lower left corner (lat,lon):
26.43,-91.06
Enter new upper right corner (lat,lon):
36.76,-74.54
Enter desired number of levels (incl sfc): 36
36
NOTICE pakset:
Number of index records = 1
Number of records /time = 299
22 1 112 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 1
NOTICE pakini: end initialization rec = 299
22 1 113 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 300
NOTICE pakini: end initialization rec = 598
22 1 114 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 599
NOTICE pakini: end initialization rec = 897
22 1 115 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 898
NOTICE pakini: end initialization rec = 1196
As you may have already noticed from the above message, the process of HRRR file missed the following procedures:
22 1 116 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 1197
NOTICE pakini: end initialization rec = 1495
22 1 117 1 0AAINDX 0 0.0000000E+00 0.0000000E+00
NOTICE pakini: start initialization rec = 1496
NOTICE pakini: end initialization rec = 1794
If I re-run the same script multiple times, it occasionally generates the correct outputs.
Additionally, when I manually run the xtrct_grid tool without using the script, it never gives me incorrect output. Does anyone know why the xtrct_grid is not stable when executed through a script?
Thank you!
Regards,
Sherry
Statistics: Posted by sherryj — April 8th, 2024, 12:20 pm