SplitR,multiple trajectory calculations, ftp problems

Topics about the HYSPLIT trajectory model.
Post Reply
J_W_
Posts: 1
Joined: June 19th, 2014, 10:28 am
Registered HYSPLIT User: No

SplitR,multiple trajectory calculations, ftp problems

Post by J_W_ »

Hallo everybody,

In terms of a trajectory change analysis, I need to calculate the trajectories from the reanalysis data set over a couple of years (daily resolution). I started to use the web-based calculator, but that takes too long for me.

Therefore I applied the SplitR-package for R (see https://github.com/rich-iannone/SplitR). I thought it could program a loop to calculate the trajectories and write them into *shp files afterwards.

Unfortunately, I got trouble right at the beginning. To download a specific date the connection to the ftp server failed. R gives my the error message:

trying URL 'ftp://arlftp.arlhq.noaa.gov/archives/re ... 196106.gbl'
using Synchronous WinInet calls
Error in download.file(url = paste("ftp://arlftp.arlhq.noaa.gov/archives/reanalysis/", : cannot open URL 'ftp://arlftp.arlhq.noaa.gov/archives/re ... 196106.gbl'
In addition: Warning message:
In download.file(url = paste("ftp://arlftp.arlhq.noaa.gov/archives/reanalysis/", :
InternetOpenUrl failed: 'Die FTP-Sitzung wurde beendet.

I tested the same with the posted code in the R-help menue, but also with the code from the already mentioned page: https://github.com/rich-iannone/SplitR,- unsuccessful! I also thought the problem is related to an offline ftp-server. But I found the files here ftp://arlftp.arlhq.noaa.gov/pub/archives/reanalysis/ and here ftp://arlftp.arlhq.noaa.gov/archives/reanalysis/

Thus, my questions are:

1. Does anyone know a solution for my ftp-problem? If I download the files from the ftp-server manually, how to process them with hysplit.trajectory?
2. If their is a solution does anyone know an applicable way to program a R-Loop
3. Finally, how to write the trajectories in a *shp format

Thanks in advance,

JW
barbara.stunder
Posts: 451
Joined: November 9th, 2012, 4:23 pm
Registered HYSPLIT User: Yes

Re: SplitR,multiple trajectory calculations, ftp problems

Post by barbara.stunder »

I am not familiar with SplitR. If you download the Reanalysis directly, and the Windows HYSPLIT unregistered version, then you can run HYSPLIT on your PC to calculate the trajectories and specify the output be in GIS format (*shp) (Gui Trajectory-Display). Please see the most recent training materials at http://www.arl.noaa.gov/HYSPLIT_workshop.php
adoede
Posts: 1
Joined: October 18th, 2018, 11:38 am
Registered HYSPLIT User: No

Re: SplitR,multiple trajectory calculations, ftp problems

Post by adoede »

Were you ever able to figure this out? I just started on a project and am having the same issues right from the start.
barbara.stunder
Posts: 451
Joined: November 9th, 2012, 4:23 pm
Registered HYSPLIT User: Yes

Re: SplitR,multiple trajectory calculations, ftp problems

Post by barbara.stunder »

Please see this about downloading from ARL's ftp server.
viewtopic.php?f=3&t=1534&p=4425&hilit=browser#p4425

The GUI Trajectory / Special Runs / Daily has been updated since you initially asked this question. It now can process up to one year of trajectories, if all meteorology files can be specified in one CONTROL file.

The Tutorial has also be updated. https://ready.arl.noaa.gov/HYSPLIT_Tutorials.php

Creating a .shp file is a two-step process.
Trajectory / Display / Trajectory - choose GIS-point or GIS-lines
Trajectory / Utilities / GIS to shapefile
Post Reply

Return to “Trajectory Model”