ChanObsToTimeSlice: Process model CHANOBS to observation timeSlice format for...

Description Usage Arguments Author(s) See Also Examples

View source: R/model_to_timeslice.R

Description

Process model CHANOBS to observation timeSlice format for nudging DA.

Usage

1
2
ChanObsToTimeSlice(files, sliceResolutionMin, outputDir, na.rm = FALSE,
  parallel = FALSE)

Arguments

files

Character vector path/file to CHANOBS files.

sliceResolutionMin

Integer must be <= 60 and evenly divide 60.

outputDir

Character the directory where the ouput files are to be written

na.rm

Remove NA's from the timeseries?

parallel

Create the output files in parallel?

Author(s)

James McCreight

See Also

Other nudging: AddRouteLinkGage, EditFrxstPts, MkNudgingParams

Examples

1
2
3
4
5
6
7
## Not run: 
  files <- list.files('~/WRF_Hydro/testChanobs/', pattern = 'CHANOBS_DOMAIN', full.names=TRUE)
  sliceResolutionMin <- 12
  outputDir <- '~/WRF_Hydro/testChanobs/timeSliceTest/'
  ChanObsToTimeSlice(files, sliceResolutionMin, outputDir) 

## End(Not run)

NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.