Re: [swanmodel-users] LWAVP output
Brought to you by:
mzijlema
|
From: Sander H. <san...@bm...> - 2016-08-31 09:46:05
|
José,
Works for me with the line:
BLOCK 'COMPGRID' NOHEAD 'swn_maps.nc' LAYOUT 3 HS WIND TMM10 DIR &
LWAVP OUTPUT 20160829T000000 1 HR
There's a "1." in your command that might be the cullprit. Furthermore,
make sure to delete "ib_lwavp.nc" before you retry.
Regards,
Sander
On 08/30/2016 06:48 PM, José Miguel Alves wrote:
>
> Sanders,
>
> Thanks for your comments, but there should be something more to modify, because after modifying nctablemd.ftn90 and swn_outnc.ftn90, I am still getting the same error (variable not found) when request the LWAVP netcdf output.
>
> José
> ________________________________________
> De: Sander Hulst <san...@bm...>
> Enviado: 30 de agosto de 2016 13:13
> Para: swa...@li...
> Assunto: Re: [swanmodel-users] LWAVP output
>
> Hi Jose,
>
> LWAVP is not supported by the netcdf routines. In later SWAN versions
> you are properly informed about this fact.
>
> You can add support by modifying nctablemd.ftn90 and the stnames_init()
> subroutine in swn_outnc.ftn90. The first dimension index in the STNAMES
> array should correspond to the IVTYPE found in swanmain.ftn90 for your
> variable. In your case 71.
>
> ---nctablemd.ftn90---
> nctable(38) / nctable_record("lwavp",&
> "none",&
> "peak wave length", &
> "m", NF90_SHORT, 0, 0, variddum) /
>
> ! do not forget to continue nctable(37) and increase the declaration
> ! of nctable
>
> ---swn_outnc.ftn90---
> STNAMES(71, 1) = 'lwavp'
>
> Hope this helps and that I didn't overlook something. Probably.
>
> Sander
>
> On 08/30/2016 01:31 PM, José Miguel Alves wrote:
>> Hello
>>
>>
>> When I try to output the variable LWAVP, with
>>
>>
>> BLOCK 'COMPGRID' NOHEADER 'ib_lwavp.nc' LAY 4 LWAVP 1. OUTPUT
>> 20120520.120000 6 HR
>>
>> I am getting the error NetCDF: Variable not found.
>>
>>
>> When I do not request the LWAVP output the error does not occur, and I
>> get the other requested variables.
>>
>> I am using SWAN version 40.91A.
>>
>>
>> Any hint to solve this LWAVP issue?
>>
>>
>> José
>>
>>
>>
>>
>> ______________________________________________________________________
>> This email has been scanned by the Symantec Email Security.cloud service.
>> For more information please visit http://www.symanteccloud.com
>> ______________________________________________________________________
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> swanmodel-users mailing list
>> swa...@li...
>> https://lists.sourceforge.net/lists/listinfo/swanmodel-users
>>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> swanmodel-users mailing list
> swa...@li...
> https://lists.sourceforge.net/lists/listinfo/swanmodel-users
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
|