error with child wind forcing file

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
nma

error with child wind forcing file

#1 Unread post by nma »

While using ROMS version 3.7, parent alone simulation works okay. Later, when child is added, following error was seen:-

GET_CYCLE - unable to get value for attribute: cycle_length
in variable: wind_time
This attribute value is expected to be of
the same external type as the variable.

The ncdump of wind data file looks like this:
netcdf wind {

Code: Select all

dimensions:                                               
        x = 362 ;                                         
        y = 263 ;                                         
        wind_time = UNLIMITED ; // (2920 currently)       
variables:                                                
        float lon(y, x) ;                                 
                lon:standard_name = "longitude" ;         
                lon:long_name = "longitude" ;             
                lon:units = "degree_east" ;               
                lon:_CoordinateAxisType = "Lon" ;         
        float lat(y, x) ;                                 
                lat:standard_name = "latitude" ;
                lat:long_name = "latitude" ;
                lat:units = "degree_north" ;
                lat:_CoordinateAxisType = "Lat" ;
        double wind_time(wind_time) ;
                wind_time:standard_name = "time" ;
                wind_time:long_name = "10m wind time" ;
                wind_time:units = "days since 1850-01-01 00:00:00" ;
                wind_time:calendar = "gregorian," ;
                wind_time:cycle_length = "365.," ;
        float Vwind(wind_time, y, x) ;
                Vwind:long_name = "v-wind component at 10m height" ;
                Vwind:units = "ms-1" ;
                Vwind:coordinates = "lon lat" ;
                Vwind:field = "v-wind, scalar, series," ;
                Vwind:time = "wind_time" ;
        float Uwind(wind_time, y, x) ;                              
                Uwind:long_name = "u-wind component at 10m height" ;
                Uwind:units = "meter second-1" ;
                Uwind:coordinates = "lon lat" ;
                Uwind:field = "u-wind, scalar, series," ;
                Uwind:time = "wind_time" ;
....
Could anyone tell more on what is missing here to overcome this error!
Thank you.
nilima

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

Re: error with child wind forcing file

#2 Unread post by kate »

Your cycle_length is a string: "365.". It needs to be of type double: 365. (without the quotes).

nma

Re: error with child wind forcing file

#3 Unread post by nma »

thanks Kate

Post Reply