fvcom_tools  1.13.0
 All Data Structures Files Functions Variables Pages
process_FVCOM.f90 File Reference

This is the code to put lake surface temperature and aerial ice concentration from GLERL-provided FVCOM forecast files (which have already been mapped to the FV3-LAM grid) into sfc_data.nc. More...

Go to the source code of this file.

Functions/Subroutines

program process_fvcom
 Put lake surface temperature and aerial ice concentration from GLERL-provided FVCOM forecast files (which have already been mapped to the FV3-LAM grid) into sfc_data.nc. More...
 

Detailed Description

This is the code to put lake surface temperature and aerial ice concentration from GLERL-provided FVCOM forecast files (which have already been mapped to the FV3-LAM grid) into sfc_data.nc.

Definition in file process_FVCOM.f90.

Function/Subroutine Documentation

program process_fvcom ( )

Put lake surface temperature and aerial ice concentration from GLERL-provided FVCOM forecast files (which have already been mapped to the FV3-LAM grid) into sfc_data.nc.

This script will take four variables from the command line:

  1. Name of FV3 sfc data file (e.g. sfc_data.tile7.halo0.nc)
  2. Name of FVCOM data file (e.g. fvcom.nc)
  3. "warm" or "cold" start. "warm" start will read in sfc_data.nc files generated from a restart of UFS-SRW. "cold" start will read in sfc_data.nc files generated from chgres_cube.
  4. String of time slice to use in the fvcom.nc file. This string should match exactly what is in the Times variable of the .nc file. To run the script, use the following example, modifying file names as needed: ./fvcom_to_FV3 sfc_data.tile7.halo0.nc fvcom.nc cold \ 2020-01-31T18:00:00.000000 Code is strongly based upon Eric James' (ESRL/GSL) work to update HRRR/WRF Great Lakes' temperature data with FVCOM. Code also relies heavily on Ming Hu's ncio module.
Author
David Wright, University of Michigan and GLERL
Date
17 Aug 2020
Returns
0 for success, error code otherwise

Definition at line 32 of file process_FVCOM.f90.