Skip to content

CMS forces longitude in releaseFile to [0, 360] range #53

@milancurcic

Description

@milancurcic

After reading the input data in releaseFile, CMS forces the input longitude to be in the [0, 360] range.

read (iunit,*) id,lon,lat,depth,num_rel, year, month, day,seconds
DO while (lon .lt. 0.)
lon = lon + 360.
ENDDO
DO while (lon .ge. 360.)
lon = lon - 360.
ENDDO

However, the input data may be, say, in [-180, 180] longitude range, for example HYCOM GOMb0.01, and we can specify xstart and xend in nest_1.nml.

Is this range change necessary for some logic elsewhere in CMS? If not, we should remove this code as it needlessly complicates working with various model data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions