fvcom_tools  1.5.0
 All Data Structures Files Functions Variables Pages
module_nwp Module Reference

This module defines FV3LAM and FVCOM forecast data structure and the method to read and write observations from and to those data structures. More...

Data Types

type  fcst_nwp
 
type  nwp_type
 

Private Member Functions

subroutine finish_nwp (this)
 Finish and deallocate. More...
 
subroutine initial_nwp (this, itype)
 This subroutine defines the number of variables and their names for each NWP data type. More...
 
subroutine list_initial_nwp (this)
 This subroutine lists the setup for NWP data that was done by the initial_nwp subroutine. More...
 
subroutine read_nwp (this, filename, itype, numlon, numlat, numtimes, time_to_get, mask, sst, ice, sfcT, iceT)
 This subroutine initializes arrays to receive the NWP data, and opens the file and gets the data. More...
 

Private Attributes

type(ncio) ncdata
 Wrapper object for netCDF data file. More...
 

Detailed Description

This module defines FV3LAM and FVCOM forecast data structure and the method to read and write observations from and to those data structures.

It is used by ingest_FVCOM.f90.

This script is strongly based upon Eric James' (ESRL/GSL) work with HRRR/WRF to get FVCOM data into the model.

Author
David Wright, University of Michigan and GLERL,
Date
17 Aug 2020

Definition at line 15 of file module_nwp.f90.

Member Function/Subroutine Documentation

subroutine module_nwp::finish_nwp ( class(fcst_nwp this)
private

Finish and deallocate.

Parameters
thisfcst_nwp object
Author
David Wright, University of Michigan and GLERL

Definition at line 279 of file module_nwp.f90.

Referenced by module_nwp::fcst_nwp::finish().

subroutine module_nwp::initial_nwp ( class(fcst_nwp this,
character(len=6), intent(in)  itype 
)
private

This subroutine defines the number of variables and their names for each NWP data type.

The indices of the variables are also defined for later reference.

Parameters
thisfcst_nwp object
[in]itypeeither ' FVCOM' or 'FV3LAM'.
Author
David Wright, University of Michigan and GLERL

Definition at line 79 of file module_nwp.f90.

Referenced by module_nwp::fcst_nwp::initial().

subroutine module_nwp::list_initial_nwp ( class(fcst_nwp this)
private

This subroutine lists the setup for NWP data that was done by the initial_nwp subroutine.

Parameters
thisfcst_nwp object
Author
David Wright, University of Michigan and GLERL

Definition at line 163 of file module_nwp.f90.

Referenced by module_nwp::fcst_nwp::list_initial().

subroutine module_nwp::read_nwp ( class(fcst_nwp this,
character(len=*), intent(in)  filename,
character(len=5), intent(in)  itype,
integer, intent(inout)  numlon,
integer, intent(inout)  numlat,
integer, intent(inout)  numtimes,
integer, intent(in)  time_to_get,
real(r_kind), dimension(:,:), intent(inout)  mask,
real(r_kind), dimension(:,:), intent(inout)  sst,
real(r_kind), dimension(:,:), intent(inout)  ice,
real(r_kind), dimension(:,:), intent(inout)  sfcT,
real(r_kind), dimension(:,:), intent(inout)  iceT 
)
private

This subroutine initializes arrays to receive the NWP data, and opens the file and gets the data.

Parameters
thisfcst_nwp ojbect
[in]filenamenetcdf file name
[in]itypeeither ' FVCOM' or 'FV3LAM'
[in,out]numlonnumber of grid points in x-direction
[in,out]numlatnumber of grid poinst in y-direction
[in,out]numtimeslength of time dimension
[in]time_to_getinteger of time dimension to read in
[in,out]maskWater points mask
[in,out]sstWater surface temperature
[in,out]iceIce concentration (%)
[in,out]sfcTSkin Temperature
[in,out]iceTIce Skin Temperature
Author
David Wright, University of Michigan and GLERL

Definition at line 201 of file module_nwp.f90.

Referenced by module_nwp::fcst_nwp::read_n().

Field Documentation

type(ncio) module_nwp::ncdata
private

Wrapper object for netCDF data file.

Definition at line 67 of file module_nwp.f90.


The documentation for this module was generated from the following file: