Cannot read wind file

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
lalvarez
Posts: 106
Joined: Wed Feb 03, 2010 6:59 pm
Location: Universidad Autonoma de Baja California Sur

Cannot read wind file

#1 Unread post by lalvarez »

Hello to All
I'm having a problem running the model

When I compile there is no error but when I run the model I get an error which is in the Out01.txt file I attach in here

Can Anyone give me a hit on this, why the wind file can not be open?

Thank in advance and have a nice day
Attachments
Out01.txt
(213.55 KiB) Downloaded 245 times

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Cannot read wind file

#2 Unread post by kate »

You don't have ANA_SMFLUX, so the model will be looking for a wind stress file. You can set it to zero analytically if you don't want any stress.

lalvarez
Posts: 106
Joined: Wed Feb 03, 2010 6:59 pm
Location: Universidad Autonoma de Baja California Sur

Re: Cannot read wind file

#3 Unread post by lalvarez »

Hello Kate

Thanks for your replay. So Do I have to include the ANA_SMFLUX in my *.h file, such as?

/*
** svn $Id: upwelling.h 323 2009-03-06 23:58:50Z arango $
*******************************************************************************
** Copyright (c) 2002-2009 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt **
*******************************************************************************
**
** Options for Upwelling Test.
**
** Application flag: Invierno97
** Input script: leo.in
*/

#define ANA_FSOBC /*Analytical free-surface boundary conditions.*/
#define ANA_BSFLUX /*Analytical kinematic bottom salinity flux.*/
#define ANA_BTFLUX /*Analytical kinematic bottom temperature flux.*/
#define ANA_NUDGCOEF /*Analytical kinematic surface salinity flux.*/
#define ANA_SPONGE /*Analytical sponge areas.*/
#define ANA_M2OBC /*Analytical 2D momentum boundary conditions.*/
#define ANA_SSFLUX /*Analytical kinematic surface salinity flux.*/
#define ANA_SMFLUX

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Cannot read wind file

#4 Unread post by kate »

Yes. The default in that case is to provide a wind stress of zero. You'll also need ANA_STFLUX, again with a default of zero. Of course, you can check the ana_smflux.h and ana_stflux.h files to see what's there.

lalvarez
Posts: 106
Joined: Wed Feb 03, 2010 6:59 pm
Location: Universidad Autonoma de Baja California Sur

Re: Cannot read wind file

#5 Unread post by lalvarez »

Good morning Kate

Thanks a lot for your suggestions I´ll check them and see what happen

Have a nice day

Post Reply