# Lesson S3 - Regridding NLDAS forcing data to the WRF-Hydro domain¶

## Overview¶

In this lesson, we cover regridding NLDAS2 forcing data to a WRF-Hydro domain using the Python-based WRF-Hydro Forcing Engine

## Required software and datasets¶

### Meteorological Forcing Engine (MFE) software¶

The WRF-Hydro Meteorological Forcing Engine (MFE) software can be downloaded from https://github.com/NCAR/WrfHydroForcing

### Data sources¶

For this training, data has already been included for the simulation time period.

NOTE: These data are for instructional purposes only and do not include forcing data used for model spinup

If you would like to acquire other data, NLDAS2 forcing data can be retrieved from the NASA data server at https://hydro1.gesdisc.eosdis.nasa.gov/data/NLDAS/NLDAS_FORA0125_H.002/.

See the following site for information on how to access data: https://disc.gsfc.nasa.gov/data-access

See the following instructions for how to download data files using wget: https://disc.gsfc.nasa.gov/data-access#mac_linux_wget

Step 1: Extract the NLDAS2 forcing data provided with this tutorial

In [1]:

    %%bash
    cd ~/wrf-hydro-training/regridding
    tar -xf nldas_mfe_forcing.tar.gz

Step 2: View the contents of the input_files directory

In [2]:

    %%bash
    ls ~/wrf-hydro-training/regridding/NLDAS/input_files | head -10

    NLDAS_FORA0125_H.A20170101.0000.002.nc
    NLDAS_FORA0125_H.A20170101.0100.002.nc
    NLDAS_FORA0125_H.A20170101.0200.002.nc
    NLDAS_FORA0125_H.A20170101.0300.002.nc
    NLDAS_FORA0125_H.A20170101.0400.002.nc
    NLDAS_FORA0125_H.A20170101.0500.002.nc
    NLDAS_FORA0125_H.A20170101.0600.002.nc
    NLDAS_FORA0125_H.A20170101.0700.002.nc
    NLDAS_FORA0125_H.A20170101.0800.002.nc
    NLDAS_FORA0125_H.A20170101.0900.002.nc

Let's view the data in the NLDAS2 inputs:

In [3]:

    import xarray as xr
    import hvplot.xarray

    ldas_in = xr.open_mfdataset('/home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.*.002.nc')

    input_field = ldas_in.APCP_surface

    input_field.hvplot(groupby='time', data_aspect=1.0, xaxis=None, yaxis=None,
                       title=input_field.short_name, attr_labels=False, widget_location='bottom',
                       cmap='gist_ncar', clim=(input_field.min(), input_field.max()))

Out[3]:

Step 3: View the domain metadata files

The Forcing Engine requires two additional static input files; a WRF geogrid file (for grid information), and an optional Spatial Metadata template file to copy attributes from.

In [4]:

    %%bash
    ls ~/wrf-hydro-training/regridding/NLDAS/*nc

    /home/docker/wrf-hydro-training/regridding/NLDAS/geo_em.d0x.nc
    /home/docker/wrf-hydro-training/regridding/NLDAS/GEOGRID_LDASOUT_Spatial_Metadata.nc

We have the necessary files, now we can begin the regridding process.

## Editing the forcing engine configuration file¶

The WRF-Hydro Forcing Engine requires a configuration file to specify the input types, forecast time periods, and other options needed for regridding and pre-processing the forcing data.

Step 1: Examine the supplied nldas_fe.config configuration file and verify the times and forcing input types

In [5]:

    %%bash
    cat ~/wrf-hydro-training/regridding/NLDAS/nldas_fe.config

    #--------------------------------------------------------------------
    # WRF-Hydro Forcing Engine Configuration File
    #
    # Input options to the forcing engine include:
    # 1.) Choices for input forcing files to use.
    # 2.) Options for specifying date ranges and forecast intervals
    #     for input files.
    # 3.) Choices for ESMF regridding techniques.
    # 4.) Choices for optional downscaling techniques.
    # 5.) Choices for optional bias correction techniques.
    # 6.) Choices for optional supplemental precipitation products.
    # 7.) Choices for optional ensemble member variations.
    # 8.) Choices for output directories to place final output files.

    [Input]
    # Choose a set of value(s) of forcing variables to be processed for
    # WRF-Hydro. Please be advised that the order of which the values are
    # chosen below are the order that the final products will be layered
    # into the final LDASIN files. See documentation for additional
    # information and examples.
    # The following is a global set of key values to map forcing files
    # to variables within LDASIN files for WRF-Hydro. The forcing engine
    # will map files to external variable names internally. For custom
    # external native forcing files (see documenation), the code will
    # expect a set of named variables to process. The following is a
    # mapping of numeric values to external input native forcing files:
    # 1 - NLDAS GRIB retrospective files
    # 2 - NARR GRIB retrospective files
    # 3 - GFS GRIB2 Global production files on the full gaussian grid
    # 4 - NAM Nest GRIB2 Conus production files
    # 5 - HRRR GRIB2 Conus production files
    # 6 - RAP GRIB2 Conus 13km production files
    # 7 - CFSv2 6-hourly GRIB2 Global production files
    # 8 - WRF-ARW - GRIB2 Hawaii nest files
    # 9 - GFS GRIB2 Global production files on 0.25 degree lat/lon grids.
    # 10 - Custom NetCDF hourly forcing files
    # 11 - Custom NetCDF hourly forcing files
    # 12 - Custom NetCDF hourly forcing files
    # 13 - Hawaii 3-km NAM Nest.
    # 14 - Puerto Rico 3-km NAM Nest.
    # 15 - Alaska 3-km Alaska Nest
    # 16 - NAM_Nest_3km_Hawaii_Radiation-Only
    # 17 - NAM_Nest_3km_PuertoRico_Radiation-Only
    # 18 - WRF-ARW GRIB2 PuertoRico
    InputForcings = [1]

    # Specify the file type for each forcing (comma separated)
    # Valid types are GRIB1, GRIB2, and NETCDF
    # (GRIB files will be converted internally with WGRIB[2])
    InputForcingTypes = NETCDF

    # Specify the input directories for each forcing product.
    InputForcingDirectories = /home/docker/wrf-hydro-training/regridding/NLDAS/input_files

    # Specify whether the input forcings listed above are mandatory, or optional.
    # This is important for layering contingencies if a product is missing,
    # but forcing files are still desired.
    # 0 - Not mandatory
    # 1 - Mandatory
    # NOTE!!! If not files are found for any products, code will error out indicating
    # the final field is all missing values.
    InputMandatory = [1]

    [Output]
    # Specify the output frequency in minutes.
    # Note that any frequencies at higher intervals
    # than what is provided as input will entail input
    # forcing data being temporally interpolated.
    OutputFrequency = 60

    # Specify a top level output directory. For re-forecasts
    # and forecasts, sub-directories for each forecast cycle
    # will be generated. For retrospective processing, final
    # output files will be placed in this directory.
    OutDir = /home/docker/wrf-hydro-training/regridding/NLDAS/output_files

    # Specify a scratch directory that will be used
    # for storage of temporary files. These files
    # will be removed automatically by the program.
    ScratchDir = /home/docker/wrf-hydro-training/regridding/NLDAS

    # Flag to use floating point output vs scale_factor / add_offset byte packing in
    # the output files (the default)
    # 0 - Use scale/offset encoding
    # 1 - Use floating-point encoding
    floatOutput = 1

    # Flag to activate netCDF4 deflate compression in the output files.
    # 0 - Deactivate compression
    # 1 - Activate compression
    compressOutput = 0

    [Retrospective]
    # Specify to process forcings in retrospective mode
    # 0 - No
    # 1 - Yes
    RetroFlag = 0

    # Choose the beginning date of processing forcing files.
    # NOTE - Dates are given in YYYYMMDDHHMM format
    # If in real-time forecasting mode, leave as -9999.
    # These dates get over-ridden in lookBackHours.
    BDateProc = 201701010000
    EDateProc = 201701020000

    [Forecast]
    # Specify if this is an Analysis and Assimilation run (AnA).
    # If this is AnA run, set AnAFlag = 1, otherwise 0.
    # Setting this flag will change the behavior of some Bias Correction routines as well
    # as the ForecastInputOffsets options (see below for more information)
    AnAFlag = 0

    # ONLY for realtime forecasting.
    # - Specify a lookback period in minutes to process data.
    #   This overrides any BDateProc/EDateProc options passed above.
    #   If no LookBack specified, please specify -9999.
    #LookBack = 4320
    LookBack = -9999

    # If running reforecasts, specify a window below. This will override
    # using the LookBack value to calculate a processing window.
    # Specify -9999 if this is a real-time forecastinng instance
    RefcstBDateProc = 201701010000
    refcstEDateProc = 201701020000

    # Specify a forecast frequency in minutes. This value specifies how often
    # to generate a set of forecast forcings. If generating hourly retrospective
    # forcings, specify this value to be 60.
    ForecastFrequency = 1440

    # Forecast cycles are determined by splitting up a day by equal
    # ForecastFrequency interval. If there is a desire to shift the
    # cycles to a different time step, ForecastShift will shift forecast
    # cycles ahead by a determined set of minutes. For example, ForecastFrequency
    # of 6 hours will produce forecasts cycles at 00, 06, 12, and 18 UTC. However,
    # a ForecastShift of 1 hour will produce forecast cycles at 01, 07,
    # 13, and 18 UTC. NOTE - This is only used by the realtime instance
    # to calculate forecast cycles accordingly. Re-forecasts will use the beginning
    # and ending dates specified in conjunction with the forecast frequency
    # to determine forecast cycle dates.
    ForecastShift = 0

    # Specify how much (in minutes) of each input forcing is desires for each
    # forecast cycle. See documentation for examples. The length of
    # this array must match the input forcing choices.
    #ForecastInputHorizons = [22980]
    ForecastInputHorizons = [1440]

    # This option is for applying an offset to input forcings to use a different
    # forecasted interval. For example, a user may wish to use 4-5 hour forecasted
    # fields from an NWP grid from one of their input forcings. In that instance
    # the offset would be 4 hours, but 0 for other remaining forcings.
    #
    # In AnA runs, this value is the offset from the available forecast and 00z
    # For example, if forecast are available at 06z and 18z, set this value to 6
    ForecastInputOffsets = [0]

    [Geospatial]
    # Specify a geogrid file that defines the WRF-Hydro (or NWM) domain to which
    # the forcings are being processed to.
    GeogridIn = /home/docker/wrf-hydro-training/regridding/NLDAS/geo_em.d0x.nc

    # Specify the optional land spatial metadata file. If found, coordinate projection information
    # and coordinate will be translated from to the final output file.
    SpatialMetaIn = /home/docker/wrf-hydro-training/regridding/NLDAS/GEOGRID_LDASOUT_Spatial_Metadata.nc

    # Specify a border width (in grid cells) to ignore for each input dataset.
    # NOTE: generally, the first input forcing should always be zero or there will be missing data in the final output
    IgnoredBorderWidths = [0]

    [Regridding]
    # Choose regridding options for each input forcing files being used. Options available are:
    # 1 - ESMF Bilinear
    # 2 - ESMF Nearest Neighbor
    # 3 - ESMF Conservative Bilinear
    RegridOpt = [1]

    [Interpolation]
    # Specify an temporal interpolation for the forcing variables.
    # Interpolation will be done between the two neighboring
    # input forcing states that exist. If only one nearest
    # state exist (I.E. only a state forward in time, or behind),
    # then that state will be used as a "nearest neighbor".
    # NOTE - All input options here must be of the same length
    # of the input forcing number. Also note all temporal interpolation
    # occurs BEFORE downscaling and bias correction.
    # 0 - No temporal interpolation.
    # 1 - Nearest Neighbor
    # 2 - Linear weighted average
    ForcingTemporalInterpolation = [0]

    [BiasCorrection]
    # Choose bias correction options for each of the input forcing files. Length of each option
    # must match the length of input forcings.

    # Specify a temperature bias correction method.
    # 0 - No bias correction
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    # 2 - Custom NCAR table-based bias-correction based on HRRRv3 analysis - based on hour of day (USE WITH CAUTION).
    # 3 - NCAR parametric GFS bias correction
    # 4 - NCAR parametric HRR bias correction
    TemperatureBiasCorrection = [0]

    # Specify a surface pressure bias correction method.
    # 0 - No bias correction.
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    PressureBiasCorrection = [0]

    # Specify a specific humidity bias correction method.
    # 0 - No bias correction.
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    # 2 - Custom NCAR bias-correction based on HRRRv3 analysis - based on hour of day (USE WITH CAUTION).
    HumidityBiasCorrection = [0]

    # Specify a wind bias correction.
    # 0 - No bias correction.
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    # 2 - Custom NCAR bias-correction based on HRRRv3 analysis - based on hour of day (USE WITH CAUTION).
    # 3 - NCAR parametric GFS bias correction
    # 4 - NCAR parametric HRRR bias correction
    WindBiasCorrection = [0]

    # Specify a bias correction for incoming short wave radiation flux.
    # 0 - No bias correction.
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    # 2 - Custom NCAR bias-correction based on HRRRv3 analysis (USE WITH CAUTION).
    SwBiasCorrection = [0]

    # Specify a bias correction for incoming long wave radiation flux.
    # 0 - No bias correction.
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    # 2 - Custom NCAR bias-correction based on HRRRv3 analysis, blanket adjustment (USE WITH CAUTION).
    # 3 - NCAR parametric GFS bias correction
    LwBiasCorrection = [0]

    # Specify a bias correction for precipitation.
    # 0 - No bias correction.
    # 1 - CFSv2 - NLDAS2 Parametric Distribution - NWM ONLY
    PrecipBiasCorrection = [0]

    [Downscaling]
    # Choose downscaling options for each of the input forcing files. Length of each option
    # must match the length of input forcings.

    # Specify a temperature downscaling method:
    # 0 - No downscaling.
    # 1 - Use a simple lapse rate of 6.75 degrees Celsius to get from the model elevation
    #     to the WRF-Hydro elevation.
    # 2 - Use a pre-calculated lapse rate regridded to the WRF-Hydro domain.
    TemperatureDownscaling = [0]

    # Specify a surface pressure downscaling method:
    # 0 - No downscaling.
    # 1 - Use input elevation and WRF-Hydro elevation to downscale
    #     surface pressure.
    PressureDownscaling = [0]

    # Specify a shortwave radiation downscaling routine.
    # 0 - No downscaling
    # 1 - Run a topographic adjustment using the WRF-Hydro elevation
    ShortwaveDownscaling = [0]

    # Specify a precipitation downscaling routine.
    # 0 - No downscaling
    # 1 - NWM mountain mapper downscaling using monthly PRISM climo.
    PrecipDownscaling = [0]

    # Specify a specific humidity downscaling routine.
    # 0 - No downscaling
    # 1 - Use regridded humidity, along with downscaled temperature/pressure
    #     to extrapolate a downscaled surface specific humidty.
    HumidityDownscaling = [0]

    # Specify the input parameter directory containing necessary downscaling grids.
    DownscalingParamDirs =

    [SuppForcing]
    # Choose a set of supplemental precipitation file(s) to layer
    # into the final LDASIN forcing files processed from
    # the options above. The following is a mapping of
    # numeric values to external input native forcing files:
    # 1 - MRMS GRIB2 hourly radar-only QPE
    # 2 - MRMS GRIB2 hourly gage-corrected radar QPE
    # 3 - WRF-ARW 2.5 km 48-hr Hawaii nest precipitation.
    # 4 - WRF-ARW 2.5 km 48-hr Puerto Rico nest precipitation.
    # 5 - CONUS MRMS GRIB2 hourly MultiSensor QPE (Pass 2 or Pass 1)
    # 6 - Hawaii MRMS GRIB2 hourly MultiSensor QPE (Pass 2 or Pass 1)
    SuppPcp = []

    # Specify the file type for each supplemental precipitation file (comma separated)
    # Valid types are GRIB1, GRIB2, and NETCDF
    # (GRIB files will be converted internally with WGRIB[2])
    SuppPcpForcingTypes =

    # Specify the correponding supplemental precipitation directories
    # that will be searched for input files.
    SuppPcpDirectories =

    # Specify whether the Supplemental Precips listed above are mandatory, or optional.
    # This is important for layering contingencies if a product is missing,
    # but forcing files are still desired.
    # 0 - Not mandatory
    # 1 - Mandatory
    SuppPcpMandatory = [0]

    # Specify regridding options for the supplemental precipitation products.
    RegridOptSuppPcp = []

    # Specify the time interpretation methods for the supplemental precipitation
    # products.
    SuppPcpTemporalInterpolation = []

    # In AnA runs, this value is the offset from the available forecast and 00z
    # For example, if forecast are available at 06z and 18z, set this value to 6
    SuppPcpInputOffsets = [0]

    # Optional RQI method for radar-based data.
    # 0 - Do not use any RQI filtering. Use all radar-based estimates.
    # 1 - Use hourly MRMS Radar Quality Index grids.
    # 2 - Use NWM monthly climatology grids (NWM only!!!!)
    RqiMethod = 0

    # Optional RQI threshold to be used to mask out. Currently used for MRMS products.
    # Please choose a value from 0.0-1.0. Associated radar quality index files will be expected
    # from MRMS data.
    RqiThreshold = 0.5

    # Specify an optional directory that contains supplemental precipitation parameter fields,
    # I.E monthly RQI climatology
    SuppPcpParamDir =

    [Ensembles]
    # Choose ensemble options for each input forcing file being used. Ensemble options include:
    # FILL IN ENSEMBLE OPTIONS HERE.....
    # Choose the CFS ensemble member number to process
    cfsEnsNumber = 1

    [Custom]
    # These are options for specifying custom input NetCDF forcing files (in minutes).
    # Choose the input frequency of files that are being processed. I.E., are the
    # input files every 15 minutes, 60 minutes, 3-hours, etc. Please specify the
    # length of custom input frequencies to match the number of custom NetCDF inputs
    # selected above in the Logistics section.
    custom_input_fcst_freq = []

## Regridding the forcing data using the forcing engine¶

In this section we will regrid all our forcing data using the configuration shown above

Step 1: Run the Forcing Engine driver (`genForcing.py`)

`genForcing.py` takes 3 arguments: the path to the configuration file, a version number, and a configuration name. The version and name are arbitrary and used for logging and are inserted as netCDF Global Attributes in the LDASIN output files.

In [6]:

    %%bash
    cd ~/wrf-hydro-training/regridding/NLDAS
    rm -rf output_files/* LOG_NLDAS*          # clean up any existing runs
    python ../../WrfHydroForcing/genForcing.py nldas_fe.config 5.2.0 NLDAS

The Forcing Engine sends most of its output to a log file specified in the configuration file. Only severe errors are printed to stdout so a successful run will produce no output.

Step 2: View the Forcing Engine Log:

In [7]:

    %%bash
    cat /home/docker/wrf-hydro-training/regridding/NLDAS/LOG_NLDAS*

    [10/06 16:02:29]: INFO - RANK: 0 - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Forecast Cycle: 2017-01-01 00:00
    [10/06 16:02:29]: INFO - RANK: 0 - Forecast Cycle Length is: 1440 minutes
    [10/06 16:02:29]: INFO - RANK: 0 - =========================================
    [10/06 16:02:29]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 01:00
    [10/06 16:02:29]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0000.002.nc
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:29]: INFO - RANK: 0 - Calculating RAP regridding weights.
    [10/06 16:02:29]: INFO - RANK: 0 - Creating weight object from ESMF
    [10/06 16:02:29]: INFO - RANK: 0 - Finished generating weight object with ESMF, took 0.7221577919999618 seconds
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding RAP surface elevation data to the WRF-Hydro domain.
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:29]: INFO - RANK: 0 - =========================================
    [10/06 16:02:29]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 02:00
    [10/06 16:02:29]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0100.002.nc
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:29]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:29]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 03:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0200.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 04:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0300.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 05:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0400.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 06:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0500.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 07:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0600.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 08:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0700.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 09:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0800.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:30]: INFO - RANK: 0 - =========================================
    [10/06 16:02:30]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 10:00
    [10/06 16:02:30]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.0900.002.nc
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:30]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:30]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 11:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1000.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 12:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1100.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 13:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1200.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 14:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1300.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 15:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1400.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 16:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1500.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 17:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1600.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:31]: INFO - RANK: 0 - =========================================
    [10/06 16:02:31]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 18:00
    [10/06 16:02:31]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1700.002.nc
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:31]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:31]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - =========================================
    [10/06 16:02:32]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 19:00
    [10/06 16:02:32]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1800.002.nc
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - =========================================
    [10/06 16:02:32]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 20:00
    [10/06 16:02:32]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.1900.002.nc
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - =========================================
    [10/06 16:02:32]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 21:00
    [10/06 16:02:32]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.2000.002.nc
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - =========================================
    [10/06 16:02:32]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 22:00
    [10/06 16:02:32]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.2100.002.nc
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - =========================================
    [10/06 16:02:32]: INFO - RANK: 0 - Processing for output timestep: 2017-01-01 23:00
    [10/06 16:02:32]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.2200.002.nc
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - =========================================
    [10/06 16:02:32]: INFO - RANK: 0 - Processing for output timestep: 2017-01-02 00:00
    [10/06 16:02:32]: INFO - RANK: 0 - RAP file being used: /home/docker/wrf-hydro-training/regridding/NLDAS/input_files/NLDAS_FORA0125_H.A20170101.2300.002.nc
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: TMP
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: TMP_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: SPFH
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: SPFH_2maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: UGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: UGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: VGRD
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: VGRD_10maboveground
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRATE
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: APCP_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DSWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DSWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: DLWRF
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: DLWRF_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Processing Conus RAP Variable: PRES
    [10/06 16:02:32]: INFO - RANK: 0 - Regridding Input RAP Field: PRES_surface
    [10/06 16:02:32]: INFO - RANK: 0 - Forcings complete for forecast cycle: 2017-01-01 00:00

Step 3: View the contents of the output_files directory

The Forcing Engine will generate output files in a directory heirarchy rooted in `output_files`. Lets view the contents of the directory:

In [8]:

    %%bash
    ls -R ~/wrf-hydro-training/regridding/NLDAS/output_files

    /home/docker/wrf-hydro-training/regridding/NLDAS/output_files:
    2017010100

    /home/docker/wrf-hydro-training/regridding/NLDAS/output_files/2017010100:
    201701010100.LDASIN_DOMAIN1
    201701010200.LDASIN_DOMAIN1
    201701010300.LDASIN_DOMAIN1
    201701010400.LDASIN_DOMAIN1
    201701010500.LDASIN_DOMAIN1
    201701010600.LDASIN_DOMAIN1
    201701010700.LDASIN_DOMAIN1
    201701010800.LDASIN_DOMAIN1
    201701010900.LDASIN_DOMAIN1
    201701011000.LDASIN_DOMAIN1
    201701011100.LDASIN_DOMAIN1
    201701011200.LDASIN_DOMAIN1
    201701011300.LDASIN_DOMAIN1
    201701011400.LDASIN_DOMAIN1
    201701011500.LDASIN_DOMAIN1
    201701011600.LDASIN_DOMAIN1
    201701011700.LDASIN_DOMAIN1
    201701011800.LDASIN_DOMAIN1
    201701011900.LDASIN_DOMAIN1
    201701012000.LDASIN_DOMAIN1
    201701012100.LDASIN_DOMAIN1
    201701012200.LDASIN_DOMAIN1
    201701012300.LDASIN_DOMAIN1
    201701020000.LDASIN_DOMAIN1
    WrfHydroForcing.COMPLETE

Step 4: View the contents of the LDASIN files

Now, let's look at the actual regridded data in the output files. Try changing the variable from "RAINRATE" to others in the file to see the other fields.

In [9]:

    import xarray as xr
    import hvplot.xarray

    ldas_in = xr.open_mfdataset('/home/docker/wrf-hydro-training/regridding/NLDAS/output_files/2017010100/2017010*.LDASIN_DOMAIN1')

    ldas_in

Out[9]:

    <xarray.Dataset>
    Dimensions:         (reference_time: 1, time: 24, x: 15, y: 16)
    Coordinates:
      * time            (time) datetime64[ns] 2017-01-01T01:00:00 ... 2017-01-02
      * reference_time  (reference_time) datetime64[ns] 2017-01-01
      * x               (x) float64 1.843e+06 1.844e+06 ... 1.856e+06 1.857e+06
      * y               (y) float64 4.215e+05 4.225e+05 ... 4.355e+05 4.365e+05
    Data variables:
        crs             (time) |S1 b'' b'' b'' b'' b'' b'' ... b'' b'' b'' b'' b''
        U2D             (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        V2D             (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        LWDOWN          (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        RAINRATE        (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        T2D             (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        Q2D             (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        PSFC            (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        SWDOWN          (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
        LQFRAC          (time, y, x) float32 dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    Attributes:
        model_output_valid_time:    2017-01-01_01:00:00
        model_initialization_time:  2017-01-01_00:00:00
        NWM_version_number:         v5.2.0
        model_configuration:        NLDAS
        model_output_type:          forcing
        model_total_valid_times:    24.0

xarray.Dataset

- Dimensions:
  - reference_time: 1
  - time: 24
  - x: 15
  - y: 16
- Coordinates: (4)
  - time
    (time)
    datetime64[ns]
    2017-01-01T01:00:00 ... 2017-01-02
    standard_name :
      time
    long_name :
      valid output time

        array(['2017-01-01T01:00:00.000000000', '2017-01-01T02:00:00.000000000',
               '2017-01-01T03:00:00.000000000', '2017-01-01T04:00:00.000000000',
               '2017-01-01T05:00:00.000000000', '2017-01-01T06:00:00.000000000',
               '2017-01-01T07:00:00.000000000', '2017-01-01T08:00:00.000000000',
               '2017-01-01T09:00:00.000000000', '2017-01-01T10:00:00.000000000',
               '2017-01-01T11:00:00.000000000', '2017-01-01T12:00:00.000000000',
               '2017-01-01T13:00:00.000000000', '2017-01-01T14:00:00.000000000',
               '2017-01-01T15:00:00.000000000', '2017-01-01T16:00:00.000000000',
               '2017-01-01T17:00:00.000000000', '2017-01-01T18:00:00.000000000',
               '2017-01-01T19:00:00.000000000', '2017-01-01T20:00:00.000000000',
               '2017-01-01T21:00:00.000000000', '2017-01-01T22:00:00.000000000',
               '2017-01-01T23:00:00.000000000', '2017-01-02T00:00:00.000000000'],
              dtype='datetime64[ns]')

  - reference_time
    (reference_time)
    datetime64[ns]
    2017-01-01
    standard_name :
      forecast_reference_time
    long_name :
      model initialization time

        array(['2017-01-01T00:00:00.000000000'], dtype='datetime64[ns]')

  - x
    (x)
    float64
    1.843e+06 1.844e+06 ... 1.857e+06
    standard_name :
      projection_x_coordinate
    long_name :
      x coordinate of projection
    units :
      m
    _CoordinateAxisType :
      GeoX
    resolution :
      1000.0

        array([1842500.875, 1843500.875, 1844500.875, 1845500.875, 1846500.875,
               1847500.875, 1848500.875, 1849500.875, 1850500.875, 1851500.875,
               1852500.875, 1853500.875, 1854500.875, 1855500.875, 1856500.875])

  - y
    (y)
    float64
    4.215e+05 4.225e+05 ... 4.365e+05
    standard_name :
      projection_y_coordinate
    long_name :
      y coordinate of projection
    units :
      m
    _CoordinateAxisType :
      GeoY
    resolution :
      1000.0

        array([421499.65625, 422499.65625, 423499.65625, 424499.65625, 425499.65625,
               426499.65625, 427499.65625, 428499.65625, 429499.65625, 430499.65625,
               431499.65625, 432499.65625, 433499.65625, 434499.65625, 435499.65625,
               436499.65625])

- Data variables: (10)
  - crs
    (time)
    |S1
    b'' b'' b'' b'' ... b'' b'' b'' b''
    transform_name :
      lambert_conformal_conic
    grid_mapping_name :
      lambert_conformal_conic
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    spatial_ref :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    long_name :
      CRS definition
    longitude_of_prime_meridian :
      0.0
    GeoTransform :
      1842000.875 1000 0 436999.65625 0 1000
    _CoordinateAxes :
      y x
    _CoordinateTransformType :
      Projection
    standard_parallel :
      [30. 60.]
    longitude_of_central_meridian :
      -97.0
    latitude_of_projection_origin :
      40.0
    false_easting :
      0.0
    false_northing :
      0.0
    earth_radius :
      6370000.0
    semi_major_axis :
      6370000.0
    inverse_flattening :
      0.0

        array([b'', b'', b'', b'', b'', b'', b'', b'', b'', b'', b'', b'', b'',
               b'', b'', b'', b'', b'', b'', b'', b'', b'', b'', b''], dtype='|S1')

  - U2D
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      m s-1
    standard_name :
      x_wind
    long_name :
      10-m U-component of wind

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - V2D
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      m s-1
    standard_name :
      y_wind
    long_name :
      10-m V-component of wind

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - LWDOWN
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      W m-2
    standard_name :
      surface_downward_longwave_flux
    long_name :
      Surface downward long-wave radiation flux

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - RAINRATE
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: mean
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      mm s^-1
    standard_name :
      precipitation_flux
    long_name :
      Surface Precipitation Rate

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - T2D
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      K
    standard_name :
      air_temperature
    long_name :
      2-m Air Temperature

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - Q2D
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      kg kg-1
    standard_name :
      surface_specific_humidity
    long_name :
      2-m Specific Humidity

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - PSFC
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      Pa
    standard_name :
      air_pressure
    long_name :
      Surface Pressure

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - SWDOWN
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      W m-2
    standard_name :
      surface_downward_shortwave_flux
    long_name :
      Surface downward short-wave radiation flux

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

  - LQFRAC
    (time, y, x)
    float32
    dask.array<chunksize=(1, 16, 15), meta=np.ndarray>
    cell_methods :
      time: point
    remap :
      remapped via ESMF regrid_with_weights: Bilinear
    grid_mapping :
      crs
    esri_pe_string :
      PROJCS["Lambert_Conformal_Conic",GEOGCS["GCS_Sphere",DATUM["D_Sphere",SPHEROID["Sphere",6370000.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],PARAMETER["central_meridian",-97.0],PARAMETER["standard_parallel_1",30.0],PARAMETER["standard_parallel_2",60.0],PARAMETER["latitude_of_origin",40.0],UNIT["Meter",1.0]];-35691800 -29075200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision
    proj4 :
      +proj=lcc +units=m +a=6370000.0 +b=6370000.0 +lat_1=30.0 +lat_2=60.0 +lat_0=40.0 +lon_0=-97.0 +x_0=0 +y_0=0 +k_0=1.0 +nadgrids=@null +wktext +no_defs
    units :
      %
    standard_name :
      liquid_water_fraction
    long_name :
      Fraction of precipitation that is liquid vs. frozen

    | Array | Chunk
    Bytes | 23.04 kB | 960 B
    Shape | (24, 16, 15) | (1, 16, 15)
    Count | 72 Tasks | 24 Chunks
    Type | float32 | numpy.ndarray

- Attributes: (6)
  model_output_valid_time :
    2017-01-01_01:00:00
  model_initialization_time :
    2017-01-01_00:00:00
  NWM_version_number :
    v5.2.0
  model_configuration :
    NLDAS
  model_output_type :
    forcing
  model_total_valid_times :
    24.0

In [10]:

    output_field = ldas_in.RAINRATE
    output_field.hvplot(groupby='time', data_aspect=1.0, xaxis=None, yaxis=None,
                        title=output_field.name, attr_labels=False, widget_location='bottom',
                        cmap='gist_ncar', clim=(output_field.min(), output_field.max()))

Out[10]:

© UCAR 2020