==================================================================================

P8/HR1/HR2 used the same fix files in /scratch1/NCEPDEV/global/glopara/fix/orog/20220805

HR3 used fix files in /scratch2/NCEPDEV/stmp1/Sanath.Kumar/my_grids/slmask_fixed_2111
 or a better path     /scratch1/NCEPDEV/global/glopara/fix/orog/20231027

==================================================================================
==================================================================================

Data availability
--------------------------------------
CFS (20230508) : 2011 - 2021

==================================================================================

Prepare daily files with all CDAS forcing data

1. Grab data from NCAR RDA (https://rda.ucar.edu/datasets/ds094.1)
	/glade/collections/rda/data/ds094.1

1a. Transfer to hera via globus

2. use nco in create_netcdf.perl to create netcdf versions

2a. separate script (create_netcdf_pressure.perl) must be used for pressure
	- wgrib2 has an issue with how pressure is stored

3. create daily files with all the forcing fields
	to avoid issues with cpu limit, run create_daily_forcing.perl which calls
	create_daily_forcing_single.ncl;

; create forcing using CDAS output
;   yyyymmddhh will have 
;      - T,q,ps,wind valid at hh
;      - precip, SW and LW average from hh-1 to hh
;
; original extracted wgrib->netcdf files have
;  wnd10m contains six values: 1hr fcst, 2hr fcst, 3hr fcst, etc.
;   tmp2m contains six values: 1hr fcst, 2hr fcst, 3hr fcst, etc.
;     q2m contains six values: 1hr fcst, 2hr fcst, 3hr fcst, etc.
; pressfc contains one value : 0hr anal, 1hr anal, etc.
;   prate contains six values: 0-1hr fcst, 0-2hr fcst, ... 0-6hr fcst
;  dlwsfc contains six values: 0-1hr fcst, 0-2hr fcst, ... 0-6hr fcst
;  dswsfc contains six values: 0-1hr fcst, 0-2hr fcst, ... 0-6hr fcst
; 

==================================================================================

Prepare CDAS driver files on Hera

1. run extract_corners_C384.ncl to create a lat/lon plus grid corners file 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384
2. run extract_static_C384_p8.ncl to create static file  
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384
3. create C384 scrip file using create_C384_scrip.ncl  
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384
4. create CDAS scrip file using create_cdas_scrip.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/cdas/vector/weights
5. create weights file for bilinear 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/cdas/vector/weights/C384

    - ESMF_RegridWeightGen --ignore_degenerate --source ../CDAS_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_SCRIP.nc \
       --weight CDAS-C768_bilinear_wts.nc --method bilinear

    - ESMF_RegridWeightGen --ignore_degenerate --source ../CDAS_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/vector/C384_SCRIP.nc \
       --weight CDAS-C3_nearest_wts.nc --method neareststod

6. create elevation adjustment file using create_vector_elevation.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/cdas/vector/C384
7. run regrid_cdas_C384.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/cdas/vector/C384
8. run create_init_file.ncl to create an initial conditions file
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384

==================================================================================
==================================================================================
==================================================================================

Data availability
--------------------------------------
GFS (20230508) : 2015 - 2022

==================================================================================

Prepare GDAS driver files on Hera

1. no need to redo this, follow 1. above 
2. no need to redo this, follow 2. above
3. no need to redo this, follow 3. above
4. create GDAS scrip file using create_gdas_scrip.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/gdas/vector/weights
5. create weights file for bilinear 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/gdas/vector/weights/C768

    - ESMF_RegridWeightGen --ignore_degenerate --source ../GDAS_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_SCRIP.nc \
       --weight GDAS-C768_nearest_wts.nc --method neareststod

    - ESMF_RegridWeightGen --ignore_degenerate --source ../GDAS_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C192/vector/C192_SCRIP.nc \
       --weight GDAS-C192_hr3_bilinear_wts.nc --method bilinear

6. create elevation adjustment file using create_vector_elevation.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/gdas/vector/C768
7. run regrid_cdas_C768.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/gdas/vector/C768
8. run create_init_file.ncl to create an initial conditions file
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384

with spack esmf, mpirun is required

use regrid_weights.sh

==================================================================================
==================================================================================
==================================================================================

Prepare ERA5 driver files on Hera

1. no need to redo this, follow 1. above 
2. no need to redo this, follow 2. above

sbatch -A nems -n 1 --time=2:00:00 -q batch --wrap "ncl extract_static_C384_hr3.ncl"
sbatch -A nems -n 1 --time=2:00:00 -q batch --wrap "ncl extract_static_C768_hr3.ncl"
sbatch -A nems -n 1 --time=2:00:00 -q batch --wrap "ncl extract_static_C1152_hr3.ncl"
3072 needs work, size is large
  sbatch -A fv3-cpu -n 1 --time=2:00:00 -q batch --wrap "ncl extract_static_C3072_hr3_test.ncl"

3. no need to redo this, follow 3. above
4. create ERA5 scrip file using create_era5_scrip.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/era5/vector/weights
5. create weights file for bilinear 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/era5/vector/weights/C384

    - ESMF_RegridWeightGen --ignore_degenerate --source ../ERA5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/vector/C384_hr3_SCRIP.nc \
       --weight ERA5-C384_hr3_bilinear_wts.nc --method bilinear

    - ESMF_RegridWeightGen --ignore_degenerate --source ../ERA5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP.nc \
       --weight ERA5-C96_hr3_bilinear_wts.nc --method bilinear

    - ESMF_RegridWeightGen --ignore_degenerate --source ../ERA5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96_conus/vector/C96_conus_hr3_SCRIP.nc \
       --weight ERA5-C96_conus_hr3_bilinear_wts.nc --method bilinear

    - ESMF_RegridWeightGen --ignore_degenerate --source ../ERA5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP.nc \
       --weight ERA5-C768_hr3_bilinear_wts.nc --method bilinear

    - ESMF_RegridWeightGen --ignore_degenerate --source ../ERA5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C192/vector/C192_hr3_SCRIP.nc \
       --weight ERA5-C192_hr3_bilinear_wts.nc --method bilinear

    - ESMF_RegridWeightGen --ignore_degenerate --source ../ERA5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C1152/vector/C1152_hr3_SCRIP.nc \
       --weight ERA5-C1152_hr3_bilinear_wts.nc --method bilinear

6. create elevation adjustment file using create_vector_elevation.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/gdas/vector/C768
7. run regrid_cdas_C768.ncl 
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/datasets/gdas/vector/C768
8. run create_init_file.ncl to create an initial conditions file
	/scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384

==================================================================================
==================================================================================

Convert between C96 and C768 grids

need to create a regrid file for vegetated grids separately

use create_C96_scrip_veg.ncl and create_C768_scrip_veg.ncl
repeat for snow and bare

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP.nc \
       --weight C96-C768_hr3_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP_veg.nc \
       --weight C96-C768_hr3_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP_bare.nc \
       --weight C96-C768_hr3_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP_snow.nc \
       --weight C96-C768_hr3_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

Convert between C96 and C384 grids

need to create a regrid file for vegetated grids separately

use create_C96_scrip_veg.ncl and create_C384_scrip_veg.ncl
repeat for snow and bare

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/vector/C384_hr3_SCRIP.nc \
       --weight C96-C384_hr3_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/vector/C384_hr3_SCRIP_veg.nc \
       --weight C96-C384_hr3_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/vector/C384_hr3_SCRIP_bare.nc \
       --weight C96-C384_hr3_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C96/vector/C96_hr3_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/vector/C384_hr3_SCRIP_snow.nc \
       --weight C96-C384_hr3_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

Convert between C768 and C1152 grids

need to create a regrid file for vegetated grids separately

use create_C1152_scrip_veg.ncl
repeat for snow and bare

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C1152/vector/C1152_hr3_SCRIP.nc \
       --weight C768-C1152_hr3_nearest_wts.nc --method neareststod  --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C1152/vector/C1152_hr3_SCRIP_veg.nc \
       --weight C768-C1152_hr3_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C1152/vector/C1152_hr3_SCRIP_bare.nc \
       --weight C768-C1152_hr3_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C768/vector/C768_hr3_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C1152/vector/C1152_hr3_SCRIP_snow.nc \
       --weight C768-C1152_hr3_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

Convert between C384 and C192 grids

need to create a regrid weights file for vegetated grids separately

scrip files are created in vector_inputs process

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/vector_inputs/C384.mx025/ufs-land_C384.mx025_hr3_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/vector_inputs/C192.mx025/ufs-land_C192.mx025_hr3_SCRIP.nc \
       --weight C384.mx025-C192.mx025_hr3_nearest_wts.nc --method neareststod  --extrap_method neareststod

moved to regrid_weights.sh 

==================================================================================
==================================================================================

Convert between two C384 restart tiles

need to create a regrid file for vegetated/bare/ice/lake grids separately

use create_C384_tile_scrip_veg.ncl for p8 and hr3 separately
repeat for snow and bare and lake, and for each tile

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile1_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile1_SCRIP.nc \
       --weight C384_p8-C384_hr3_tile1_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile1_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile1_SCRIP_veg.nc \
       --weight C384_p8-C384_hr3_tile1_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile1_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile1_SCRIP_bare.nc \
       --weight C384_p8-C384_hr3_tile1_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile1_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile1_SCRIP_snow.nc \
       --weight C384_p8-C384_hr3_tile1_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile1_SCRIP_lake.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile1_SCRIP_lake.nc \
       --weight C384_p8-C384_hr3_tile1_lake_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile2_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile2_SCRIP.nc \
       --weight C384_p8-C384_hr3_tile2_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile2_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile2_SCRIP_veg.nc \
       --weight C384_p8-C384_hr3_tile2_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile2_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile2_SCRIP_bare.nc \
       --weight C384_p8-C384_hr3_tile2_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile2_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile2_SCRIP_snow.nc \
       --weight C384_p8-C384_hr3_tile2_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile2_SCRIP_lake.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile2_SCRIP_lake.nc \
       --weight C384_p8-C384_hr3_tile2_lake_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile3_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile3_SCRIP.nc \
       --weight C384_p8-C384_hr3_tile3_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile3_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile3_SCRIP_veg.nc \
       --weight C384_p8-C384_hr3_tile3_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile3_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile3_SCRIP_bare.nc \
       --weight C384_p8-C384_hr3_tile3_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile3_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile3_SCRIP_snow.nc \
       --weight C384_p8-C384_hr3_tile3_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile3_SCRIP_lake.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile3_SCRIP_lake.nc \
       --weight C384_p8-C384_hr3_tile3_lake_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile4_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile4_SCRIP.nc \
       --weight C384_p8-C384_hr3_tile4_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile4_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile4_SCRIP_veg.nc \
       --weight C384_p8-C384_hr3_tile4_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile4_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile4_SCRIP_bare.nc \
       --weight C384_p8-C384_hr3_tile4_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile4_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile4_SCRIP_snow.nc \
       --weight C384_p8-C384_hr3_tile4_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile4_SCRIP_lake.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile4_SCRIP_lake.nc \
       --weight C384_p8-C384_hr3_tile4_lake_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile5_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile5_SCRIP.nc \
       --weight C384_p8-C384_hr3_tile5_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile5_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile5_SCRIP_veg.nc \
       --weight C384_p8-C384_hr3_tile5_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile5_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile5_SCRIP_bare.nc \
       --weight C384_p8-C384_hr3_tile5_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile5_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile5_SCRIP_snow.nc \
       --weight C384_p8-C384_hr3_tile5_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile5_SCRIP_lake.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile5_SCRIP_lake.nc \
       --weight C384_p8-C384_hr3_tile5_lake_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile6_SCRIP.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile6_SCRIP.nc \
       --weight C384_p8-C384_hr3_tile6_nearest_wts.nc --method neareststod 

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile6_SCRIP_veg.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile6_SCRIP_veg.nc \
       --weight C384_p8-C384_hr3_tile6_veg_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile6_SCRIP_bare.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile6_SCRIP_bare.nc \
       --weight C384_p8-C384_hr3_tile6_bare_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile6_SCRIP_snow.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile6_SCRIP_snow.nc \
       --weight C384_p8-C384_hr3_tile6_snow_nearest_wts.nc --method neareststod --extrap_method neareststod

ESMF_RegridWeightGen --ignore_degenerate --source /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_p8_tile6_SCRIP_lake.nc \
       --destination /scratch2/NCEPDEV/land/Michael.Barlage/forcing/C384/tile/C384_hr3_tile6_SCRIP_lake.nc \
       --weight C384_p8-C384_hr3_tile6_lake_nearest_wts.nc --method neareststod --extrap_method neareststod

==================================================================================
==================================================================================
==================================================================================
==================================================================================

HPSS storage of forcing data

=============

HPSS inventory (2023-11-22)

/NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily     : yearly 2011-2021
/NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily    : yearly 1990-2022
/NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily     : yearly 2015-2022

/NCEPDEV/emc-land/5year/Michael.Barlage/cfs_tar               : yearly 2010-2021 (cfs forcing components, not htar files)

/NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96       : yearly 2011-2021 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384      : yearly 2011-2021 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768      : yearly 2011-2021 (p8/hr1/hr2 grid)

/NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96       : yearly 2015-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C192      : yearly 2021-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384      : yearly 2015-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768      : yearly 2015-2022 (p8/hr1/hr2 grid)

/NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96       : decade 1990-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96_conus : decade 1990-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C192      : decade 1990-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C384      : decade 1990-2022 (p8/hr1/hr2 grid)
/NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768      : yearly 2010-2022 (p8/hr1/hr2 grid)

=============
  CFS
=============

htar CFS data to hpss in yearly tar files

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2011.tar CDAS_forcing_2011*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2012.tar CDAS_forcing_2012*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2013.tar CDAS_forcing_2013*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2014.tar CDAS_forcing_2014*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2015.tar CDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2016.tar CDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2017.tar CDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2018.tar CDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2019.tar CDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2020.tar CDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cfs-gridded-daily/CDAS_forcing_2021.tar CDAS_forcing_2021*

htar CFS vector data to hpss in yearly tar files

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2011.tar C768_CDAS_forcing_2011*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2012.tar C768_CDAS_forcing_2012*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2013.tar C768_CDAS_forcing_2013*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2014.tar C768_CDAS_forcing_2014*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2015.tar C768_CDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2016.tar C768_CDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2017.tar C768_CDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2018.tar C768_CDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2019.tar C768_CDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2020.tar C768_CDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C768/C768_CDAS_forcing_2021.tar C768_CDAS_forcing_2021*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2011.tar C384_CDAS_forcing_2011*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2012.tar C384_CDAS_forcing_2012*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2013.tar C384_CDAS_forcing_2013*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2014.tar C384_CDAS_forcing_2014*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2015.tar C384_CDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2016.tar C384_CDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2017.tar C384_CDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2018.tar C384_CDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2019.tar C384_CDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2020.tar C384_CDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C384/C384_CDAS_forcing_2021.tar C384_CDAS_forcing_2021*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2011.tar C96_CDAS_forcing_2011*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2012.tar C96_CDAS_forcing_2012*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2013.tar C96_CDAS_forcing_2013*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2014.tar C96_CDAS_forcing_2014*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2015.tar C96_CDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2016.tar C96_CDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2017.tar C96_CDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2018.tar C96_CDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2019.tar C96_CDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2020.tar C96_CDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/cdas-vector/C96/C96_CDAS_forcing_2021.tar C96_CDAS_forcing_2021*

=============
  GFS
=============

htar GFS data to hpss in yearly tar files

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2015.tar GDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2016.tar GDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2017.tar GDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2018.tar GDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2019.tar GDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2020.tar GDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2021.tar GDAS_forcing_2021*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2022.tar GDAS_forcing_2022*

get GFS data from hpss in yearly tar files

htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2015.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2016.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2017.tar
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2018.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2019.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2020.tar
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2021.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/gfs-gridded-daily/GDAS_forcing_2022.tar

htar GFS vector data to hpss in yearly tar files

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2015.tar C768_GDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2016.tar C768_GDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2017.tar C768_GDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2018.tar C768_GDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2019.tar C768_GDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2020.tar C768_GDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2021.tar C768_GDAS_forcing_2021*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C768/C768_GDAS_forcing_2022.tar C768_GDAS_forcing_2022*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2015.tar C384_GDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2016.tar C384_GDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2017.tar C384_GDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2018.tar C384_GDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2019.tar C384_GDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2020.tar C384_GDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2021.tar C384_GDAS_forcing_2021*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C384/C384_GDAS_forcing_2022.tar C384_GDAS_forcing_2022*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C192/C192_GDAS_forcing_2021.tar C192_GDAS_forcing_2021*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C192/C192_GDAS_forcing_2022.tar C192_GDAS_forcing_2022*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2015.tar C96_GDAS_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2016.tar C96_GDAS_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2017.tar C96_GDAS_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2018.tar C96_GDAS_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2019.tar C96_GDAS_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2020.tar C96_GDAS_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2021.tar C96_GDAS_forcing_2021*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/gdas-vector/C96/C96_GDAS_forcing_2022.tar C96_GDAS_forcing_2022*

=============
  ERA
=============

htar gridded ERA data to hpss in yearly tar files

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1990.tar ERA5_forcing_1990*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1991.tar ERA5_forcing_1991*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1992.tar ERA5_forcing_1992*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1993.tar ERA5_forcing_1993*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1994.tar ERA5_forcing_1994*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1995.tar ERA5_forcing_1995*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1996.tar ERA5_forcing_1996*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1997.tar ERA5_forcing_1997*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1998.tar ERA5_forcing_1998*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1999.tar ERA5_forcing_1999*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2000.tar ERA5_forcing_2000*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2001.tar ERA5_forcing_2001*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2002.tar ERA5_forcing_2002*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2003.tar ERA5_forcing_2003*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2004.tar ERA5_forcing_2004*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2005.tar ERA5_forcing_2005*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2006.tar ERA5_forcing_2006*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2007.tar ERA5_forcing_2007*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2008.tar ERA5_forcing_2008*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2009.tar ERA5_forcing_2009*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2010.tar ERA5_forcing_2010*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2011.tar ERA5_forcing_2011*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2012.tar ERA5_forcing_2012*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2013.tar ERA5_forcing_2013*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2014.tar ERA5_forcing_2014*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2015.tar ERA5_forcing_2015*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2016.tar ERA5_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2017.tar ERA5_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2018.tar ERA5_forcing_2018*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2019.tar ERA5_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2020.tar ERA5_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2021.tar ERA5_forcing_2021*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2022.tar ERA5_forcing_2022*

htar gridded ERA data from hpss in yearly tar files

htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1990.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1991.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1992.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1993.tar

htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1994.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1995.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1996.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1997.tar

htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1998.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_1999.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2000.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2001.tar

htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2002.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2003.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2004.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2005.tar

htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2006.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2007.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2008.tar; \
htar -xvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-gridded-daily/ERA5_forcing_2009.tar

htar ERA vector data to hpss in yearly tar files

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2015.tar C768_ERA5_forcing_2015*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2016.tar C768_ERA5_forcing_2016*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2017.tar C768_ERA5_forcing_2017*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2018.tar C768_ERA5_forcing_2018*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2019.tar C768_ERA5_forcing_2019*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2020.tar C768_ERA5_forcing_2020*; \
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2021.tar C768_ERA5_forcing_2021*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C768/C768_ERA5_forcing_2022.tar C768_ERA5_forcing_2022*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C384/C384_ERA5_forcing_1990-1999.tar C384_ERA5_forcing_199*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C384/C384_ERA5_forcing_2000-2009.tar C384_ERA5_forcing_200*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C384/C384_ERA5_forcing_2010-2019.tar C384_ERA5_forcing_201*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C384/C384_ERA5_forcing_2020-2022.tar C384_ERA5_forcing_202*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C192/C192_ERA5_forcing_1990-1999.tar C192_ERA5_forcing_199*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C192/C192_ERA5_forcing_2000-2009.tar C192_ERA5_forcing_200*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C192/C192_ERA5_forcing_2010-2019.tar C192_ERA5_forcing_201*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C192/C192_ERA5_forcing_2020-2022.tar C192_ERA5_forcing_202*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96/C96_ERA5_forcing_1990-1999.tar C96_ERA5_forcing_199*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96/C96_ERA5_forcing_2000-2009.tar C96_ERA5_forcing_200*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96/C96_ERA5_forcing_2010-2019.tar C96_ERA5_forcing_201*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96/C96_ERA5_forcing_2020-2022.tar C96_ERA5_forcing_202*

htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96_conus/C96_conus_ERA5_forcing_1990-1999.tar C96_conus_ERA5_forcing_199*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96_conus/C96_conus_ERA5_forcing_2000-2009.tar C96_conus_ERA5_forcing_200*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96_conus/C96_conus_ERA5_forcing_2010-2019.tar C96_conus_ERA5_forcing_201*
htar -cvf /NCEPDEV/emc-land/5year/Michael.Barlage/era5-vector/C96_conus/C96_conus_ERA5_forcing_2020-2022.tar C96_conus_ERA5_forcing_202*

=============

