mscross / pysplit

A package for HYSPLIT air parcel trajectory analysis.
BSD 3-Clause "New" or "Revised" License
152 stars 81 forks source link

Running PySPLIT without HYSPLIT #94

Open H0omaN opened 2 years ago

H0omaN commented 2 years ago

Hi everyone,

I am new in using PySPLIT. I am wondering if it is possible to run PySPLIT without having the HYSPLIT installed. I would like to do a baktrajectory analysis over the big size data on a server and its not possible to get the HYSPLIT installed on it.

Thanks, Hooman

zhanghan12345 commented 1 year ago

Hi H0omaN, I would like to do the same thing as you, if you have a solution please let me know, thank you very much.

zhanghan12345 commented 1 year ago

Hi H0omaN, I would like to do the same thing as you, if you have a solution please let me know, thank you very much.

zhanghan12345 commented 1 year ago

I have successfully run it under linux. Firstly, you should download the HYSPLIT FOR LINUX (https://www.ready.noaa.gov/ready2-bin/getlinuxtrial.pl). Then, decompressing it. At last, Installing the pysplit in a conda virtual environment(https://github.com/mscross/pysplit#installing-in-a-conda-virtual-environment). You can find the _hytsstd in /user/hysplit/exec/. load it Hope this is helpful for all of you who are confused

vwgeiser commented 7 months ago

@mscross It says in bulk_trajgen_example.py:

Trajectory Generation

PySPLIT includes a method that calls HYSPLIT to generate trajectories launched from a single location over as many months and years as desired in a single comprehensive batch.

Requirements

HYSPLIT installation

Unlike the majority of PySPLIT, this feature requires a local installation of HYSPLIT, which can be acquired from the NOAA ARL herehttp://ready.arl.noaa.gov/HYSPLIT.php_.

The location of the hyts_std executable must be known.

Is there any way to run PySPLIT AND still be able to use the generate_bulktraj() function without a local HYSPLIT installation?

or is this something I can help you develop?

amsmith1109 commented 7 months ago

Is there any way to run PySPLIT AND still be able to use the generate_bulktraj() function without a local HYSPLIT installation?

or is this something I can help you develop?

Pysplit is just a wrapper for hysplit. Running pysplit without hysplit would mean re-inventing hysplit.