Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

mask/nans in input data



I'm working on getting some ocean surface current data ready for WPS. I know the data has nans in some places. Can WPS read in the data with nans? If I mask them with '--' can WPS handle that?
That's what I thought. Thank you. I have all of that NaNs out.

To get ocean surface current data into WPS I need to have the data in a grib2 file, correct?
The ocean current data can be in GRIB1 or GRIB2, which WPS/ungrib program can process directly.

If the data are in netCDF format, you will need to create a Fortran program to read these data, then write them to intermediate format. In this case you can skip running ungrib. Te intermediate format is described here:

Hope this is helpful.