[ARWpost] modified code for longer data more than month

cited here

Usually, ARWpost make the output for monthly output format data of WRF.

You may face to this result when you run more than one month data,

Date not in this file – see if there are more files
— WE HAVE RUN OUT OF INPUT FILES —

It hearts, so…

This modification will be useful for treating bigger one data which has longer time series more than “1 month”

 

let’s begin!

 

go to “src” and find “module_date_pack.f90”.

and change line “706” (adding “month”)

Before>

seconds = second + 60*minute + 60*60*hour + 60*60*24*day + 60*60*24*365*century_year

After>

seconds = second + 60*minute + 60*60*hour + 60*60*24*day + 60*60*24*31*month + 60*60*24*365*century_year

okey, now compile and run~

 

So, Simple. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s