![]() ![]() Then, you would need to specify the intermediate file prefix 'TAVGSFC' in the fg_name variable in your namelist.wps file rather than using the constants_name variable. If you are interested in a moving average or something similar, you could either try modifying the avg_tsfc.F source code yourself, or you could write a script that repeatedly modifies the start_date and end_date in your namelist.wps file and calls the avg_tsfc.exe program in a loop, moving the TAVGSFC intermediate file to names like 'TAVGSFC:YYYY-MM-DD_HH'. However, if your start_date and end_date were '_00:00:00' and '_12:00:00', the avg_tsfc.exe program should ignore the last 12 hours of intermediate files (after 0000 UTC), since only full 24-h periods are used in the average to avoid biases (e.g., a night-time or a day-time bias). The avg_tsfc.exe program computes the average 2-m air temperature over the largest number of 24-h periods from the start_date to the end_date in your namelist.wps file, and writes the resulting field to the TAVGSFC intermediate file.įor example, if your start_date and end_date were '_00:00:00' and '_00:00:00', the TAVGSFC file would contain the average over the full 48-h period. ![]() I think the description in the User's Guide (which I admit I may have written.) is probably not accurate. Or I should run avg_tsfc.exe and metgrid.exe every day or every week to update TAVGSFC? (TAVGSFC in every met_em files are same)Īs the picture shows, the two TAVGSFC have same max and min value and same pattern, which is impossible if TAVGSFC is daily mean instead of a mean over the whole period.And I've checked other met_em files, they are all the same as this. It seemed to be a mean over the whole period. However, I carefully checked the met_em files, and I found that TAVGSFC in every met_em files did not actually contain daily mean temperature. I ran the avg_tsfc.exe and TAVGSFC file is obtained. Doing this way, the process running the command will never ends and you will always get STILLACTIVE when querying GetExitCodeProcess () (meaning the process is still running). To make the temperature of lakes in the model more realistic, a choice is to run the avg_tsfc.exe to create the TAVGSFC file, which should contain "a daily-average of the surface air temperature field, which will be substituted for the SST field only over lakes" according to the ARW User’s Guide. You are passing option /k to cmd.exe, meaning you want the shell to remain active after executing command dir. ![]() Recently I am trying to use WRF to simulate some variables in a region for a long time, and lakes would definitely have impacts on my results. ![]()
0 Comments
Leave a Reply. |