[Wrf-users] Re: Wrf-users Digest, Vol 40, Issue 5

wrfhelp wrfhelp at ucar.edu
Mon Dec 10 19:13:32 MST 2007


There are two options for you:

1. Upgrade to the latest WPS code (2.2.1), then the limit is removed  
(or increased to 1024 characters long).

2. If 1 is not an option, then edit metgrid/src/gridinfo_module.F90,  
and change the declaration for variable
name 'opt_output_from_metgrid_path', which is 128.

wrfhelp

On Dec 8, 2007, at 12:00 PM, wrf-users-request at ucar.edu wrote:

> Send Wrf-users mailing list submissions to
> 	wrf-users at ucar.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ucar.edu/mailman/listinfo/wrf-users
> or, via email, send a message with subject or body 'help' to
> 	wrf-users-request at ucar.edu
>
> You can reach the person managing the list at
> 	wrf-users-owner at ucar.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wrf-users digest..."
>
>
> Today's Topics:
>
>    1. 128 characters output path limit in WPS (Jan Ploski)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 08 Dec 2007 14:09:22 +0100
> From: Jan Ploski <Jan.Ploski at offis.de>
> Subject: [Wrf-users] 128 characters output path limit in WPS
> To: wrf-users at ucar.edu
> Message-ID: <475A9782.6040208 at offis.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> The output_fname variable in metgrid.exe (for example), which is  
> used to
> store the full path of the output file, is limited to 128 characters.
> This causes file names to become truncated without warning. Changing
>
>        character (len=128) :: coption, output_fname
> to
>        character (len=256) :: coption, output_fname
>
> in output_module.F90 makes no difference. Can I overcome this limit
> somehow (I'm using the pgf90 compiler)?
>
> What's confusing is that I can't reproduce the problem myself in a
> simple Fortran program - setting len=256 behaves as expected there.  
> Any
> ideas?
>
> Regards,
> Jan Ploski
>
>
> ------------------------------
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
> End of Wrf-users Digest, Vol 40, Issue 5
> ****************************************




More information about the Wrf-users mailing list