我是一个用户WRF V3.5针对气象模拟。有时候,我会为长period_运行模型。# # #我尝试将长期(e。薮猫短g 1年)。例如:# # WPS名称列表。wps start_date = ' 2014 - 01 - 01 _06:00:00 end_date = ' 2014 - 01 - 31 _23:00:00 # # WRF运行期.csh文件中设置。设置年= " 2014 " foreach strtime(010106010512 010500011012 011000011512 011500012012 011000011512 010500011012 010106010512)设置smon =“echo $ {strtime} |削减-c1-2 ' sday =“echo $ {strtime} |削减-c3-4”设置月=“echo $ {strtime} |削减-c5-6”设置emon =“echo $ {strtime} |削减-c7-8”设置eday =“echo $ {strtime} |削减-c9-10”设置ehr =“echo $ {strtime} |削减-c11-12 &time_control run_days = 0, run_hours = 132, run_minutes = 0, run_seconds = 0, start_year = ${一},{一},美元start_month = $ {smon}, {smon}美元,start_day = $ {sday}, {sday}美元,start_hour = ${月},{月}美元,start_minute = 00 00, start_second = 00 00, end_year = ${一},{一},美元end_month = $ {emon}, {emon}美元,end_day = $ {eday}, {eday}美元,end_hour = $ {ehr}, {ehr}美元,end_minute = 00 00, end_second = 00 00, interval_seconds = 21600在这些短时间内,我将第一个12 h的旋转周期(除了开始。)这是图表的时序建模从互联网上设置我剪。! [](http://i12.tietuku.cn/afd906ddd823ddd6.png) # # #结果生成8 .nc文件,每个包含132帧的数据。现在,我使用__The netCDF运营商(NCO) __处理输出文件。1。 Using `ncks` to delete the first 12-h frames for each file separately. 2. Using `ncrcat`to concat all 8 .nc files together to get one file represent the whole simulation period. ### Problem I was using this method for a while. But when the amount of files are huge, it really a dump approach. __Are there someone offering your approaches to dealing with spin-up data deletion?__ ### My target * The model can generate only one file which contain all the simulation period. * The spin-up time can be covered by last file's frames automatically.
Baidu
map