jimfrimel / jfHWRF

My HWRF repository for tracking issues and tasks.
0 stars 0 forks source link

Log broken links for ensda intercycles #8

Open jimfrimel opened 5 years ago

jimfrimel commented 5 years ago

In the fcsttask.py: link_all_inputs_for_ensda_intercycles method

Use the produtil.fileop.isnonempty function to test if the the following links that are created exist and if they don't than log that information.

check for these: metnmm.d01.%Y-%m-%d%H%M%S.nc geo_nmm.d01.nc geo_nmm_nest.l01.nc

Notes: met_nmm.d01 is not required or used in the fcst step but we are creating it anyway in order to be consistent with existing hwrf behavior.

Also, this check would typically be a part of the check_inputs and link_input methods using the get_inputs methods for these objects ie. Geog2WRF, but we didn't.