splitr icon indicating copy to clipboard operation
splitr copied to clipboard

run model with met local files

Open maxbre opened this issue 5 years ago • 6 comments

Hello, I've been reading that "All meteorological data files needed to execute the model during the defined period will be downloaded from the NOAA FTP server if such files are not already present in the working directory." Now my question is: how to specify the case when met files are already present (downloaded) in the working dir ? Thank you and keep up going with your excellent work best

maxbre avatar Oct 18 '18 08:10 maxbre

I think I've sorted out the problem by simply putting the files in the working dir (but 3 files: 1 corresponding to the period of the model run, 1 period before and 1 period after)

nonetheless, I've got the following issue:

WARNING: map background file not found ../graphics/arlmap Complete Parhplot sed: -e expression #1, char 1: unknown command: `.' rm: cannot remove '*.bk': No such file or directory

maxbre avatar Oct 18 '18 12:10 maxbre

Same problem here!

schoolAccountMajaG avatar Jul 02 '19 07:07 schoolAccountMajaG

Apologies for the slowness here. I'm planning on overhauling the dispersion model code and also improve the output. I'll fix those console messages (so that they no longer appear incessantly) and I'll make it easier to specify met file and working directory (e.g., exec) locations. I seem to have this more figured out on the trajectory model side of things.

This is also an open call for suggestions with dispersion modeling. Talk to me, but, open separate issues so that we can better track the work!

rich-iannone avatar Aug 15 '19 14:08 rich-iannone

Hi, Mr Iannone, First of all, thank you for making this package, it's made process files in batch much easier. However, I'm wondering for the function "hysplit_trajectory", is there any way I can alter parameters for the "SETUP_CFG" file it uses? Because in Hysplit, there is this default parameter kmix0=250, which results in a flooring effect for a lot of data. I could manually change advanced setting in HYSPLIT GUI and make this parameter 0, but then I lose the ability to process files in batch. I tried to make adjustment to your code by add a line of code: setup_cfg <- gsub("kmix0 = 0", "kmix0 = 250", setup_cfg)#Change 'kmix0=250' into 'kmix0=0' in your "hysplit_config_init(dir = exec_dir)" under hysplit_trajectory and then copy the entire function and redefined it in global environment. Just as expected, an error pop up saying the function "get_os" not defined. And when I looked in to your SplitR package. There isn't a "get_os" function defined anywhere either. Any chance you could let me know what I could do to change the default parameter in "SETUP.CFG" and use "hysplit_trajectory"? Because every time I run it, it creates a "SETUP.CFG" file that has the 'kmix0' parameter equal to 250. I know this isn't really closely related to the topic you guys are cracking. But any suggestion is much appreciated. Thank you! kmix comparison

JunyanL avatar Aug 20 '19 21:08 JunyanL

@JunyanL This is a very good idea! I've moved your suggestion over to https://github.com/rich-iannone/splitr/issues/37 so it can be individually tracked.

rich-iannone avatar Aug 20 '19 22:08 rich-iannone

Towards this issue--- I want to use converted ERA5 data with SplitR. Is there a way to point SplitR to this local/converted data or some sort of workaround?

Thanks.

benkraj avatar Oct 29 '19 20:10 benkraj