Git Product home page Git Product logo

Comments (12)

mscross avatar mscross commented on September 15, 2024

During trajectory generation you must output specific humidity. As for the distance/vector issue I will look into that once I'm back from vacation, thanks for bringing it to my attention!
Cheers,
Mellissa

from pysplit.

nelsonkayla avatar nelsonkayla commented on September 15, 2024

Mellissa,

That makes sense, thank you for your help!

Kayla

from pysplit.

xigrug avatar xigrug commented on September 15, 2024

Mellissa,

That makes sense, thank you for your help!

Kayla

hello ,could you share your notebook? I do not understand how to use this pysplit!

from pysplit.

muyinglin avatar muyinglin commented on September 15, 2024

Hi, I run into the same problem of "mismatch error",so how did you solve this finally。

from pysplit.

geoboy1 avatar geoboy1 commented on September 15, 2024

Hello nelsonkayla and muyinglin, I'm also running into the distance/vector mismatch problem. Wondering if you've found a solution or a work-around?

Thanks!

from pysplit.

mscross avatar mscross commented on September 15, 2024

Looks like the version of PySPLIT up on PyPI has the old version of the distance to origin calculator, which doesn't work right in any version of Python and does really weird things on Python 3.6. This issue appears to be fixed in the PySPLIT version here on github. I plan to upload PySPLIT 0.3.5 on May 31 to PyPI and hopefully conda forge and updating to this new version should fix this issue.

from pysplit.

sugam72-os avatar sugam72-os commented on September 15, 2024

Hi,
I am using pySPLIT version 0.3.6. While running the example codes for trajectory.calculate_moistureflux(), i also ran into the same problem "Calculate Specific_Humidity first". When I tried to calculate relative humidity and specific humidity using trajectory.calculate_rh() and trajectory.calculate_sh() they said "Calculate mixing ratio first!". Furthermore, when I tried to calculate mixing ratio using trajectory.calculate_w() which needs argument: 'calc_using'. I checked the possible inputs for 'calc_using' in traj.py file and it is indicated either 'Relative_Humidity' or 'Specific_Humidity'. Did i get it right? Can you please help me through this problem?

from pysplit.

tingvan avatar tingvan commented on September 15, 2024

Hi, @sugam72-os . I know how to do it right, those are along-trajectory meteorologcial outputs generated at the same time in trajectory generations.
Open the Hysplit GUI -> Menu -> Advanced -> Configuration setup -> Trajectory -> Add METEOROLOGY output along trajectory (6): Menu ->Check all the options -> Save -> Save
Then re-run the whole program, it should be ok.

from pysplit.

otiniano avatar otiniano commented on September 15, 2024

Hi,
I am using pySPLIT version 0.3.6. While running the example codes for trajectory.calculate_moistureflux(), i also ran into the same problem "Calculate Specific_Humidity first". When I tried to calculate relative humidity and specific humidity using trajectory.calculate_rh() and trajectory.calculate_sh() they said "Calculate mixing ratio first!". Furthermore, when I tried to calculate mixing ratio using trajectory.calculate_w() which needs argument: 'calc_using'. I checked the possible inputs for 'calc_using' in traj.py file and it is indicated either 'Relative_Humidity' or 'Specific_Humidity'. Did i get it right? Can you please help me through this problem?

Is there any chance you have solved this issue? I am currently stuck on the same problem... I am using downloaded NCEP data, which may be contributing to the problem. Which dataset are you using?

from pysplit.

sugam72-os avatar sugam72-os commented on September 15, 2024

@otiniano, The answer given by tingvan has solved my problem. I am using gdas1 dataset.

from pysplit.

otiniano avatar otiniano commented on September 15, 2024

@sugam72-os Thank you!

from pysplit.

lnarellano avatar lnarellano commented on September 15, 2024

Hi all, I am also running pySPLIT version 0.3.6 and am having the same issue when trying to use trajectory.calculate_moistureflux(); it throws 'Calculate Specific_Humidity first!' I've tried editing the GUI as suggested by @tingvan, but I am still getting the same message. I don't see a SETUP.CFG file in the working directory that I could try to edit, and when I try to edit the CONTROL or TRAJ.CFG files in the working directory they just reset after I use pysplit.generate_bulktraj(). I am using GDAS 1 data.

from pysplit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.