Comments (3)
Thanks so much for posting this and #29 Maria! Looking at your overpopulated CONTROL, it clicks for me. The reason why PySPLIT is finding so many files is that when it's looking for 1998, 1999, 2000, 2001, it's really looking for:
- *98*, which is going to find the 1980s as well as 1998
- *99*, the 1990s
- *00*, the 2000s
- *01*, the 2010s and 2001
If you were to look at the CONTROL for your 1979 trajectories, you'd find 1997 in there too, and vice-versa. Four digit year ID is definitely necessary in your case. I've got an idea to fix this, which should enable an automatic way to correctly identify the trajectory's century as in issue #29 - choice of two or four digit year meteorology identification, choice of two or four digit year output to trajectory filename with 4 digit default. As you noticed, years are truncated to two digits in the trajectory files so user input or filename are the only options. I think filename is the way to go- trajectories from older PySPLIT versions will behave the same as previously, plus a mixed group of 2000s and 1900s trajectories can be identified correctly. Also I'm going to add an overpopulation warning to PySPLIT with instructions on how to rectify, similar to the one that triggers when 0 meteorology files are found.
Cheers,
Mellissa
from pysplit.
Hi Mellissa,
Yes, this makes so much sense! I was noticing a pattern, but couldn't pin down any arithmetic :-). And you are correct, the CONTROL file for 1979 and 1997 includes both years. Looking forward to your fix. I will be using it 👍
Best,
Maria
from pysplit.
This should be resolved with #32. I was able to distinguish between meteorology files labeled with 1911 and 2011 by setting meteoyr_2digits=False
in pysplit.generate_bulktraj()
. Default behavior (meteoyr_2digits=True
) replicates the old behavior, i.e. too many files are found when both 2011 and 1911 files are available. However, now when more than 12 meteorology files are found an informative error is raised in PySPLIT before CONTROL overpopulation makes HYSPLIT unhappy.
from pysplit.
Related Issues (20)
- Can monthly data be used? HOT 6
- Is the pysplit.make_trajectorygroup still available? HOT 3
- Issue with recent data set Gdas (2021-2023) HOT 1
- Inquiry about generating altitude vs. hours graph with bulk trajectories
- Problem generating bulk trajectories with ERA5 data HOT 22
- [important] Domain height issue. HOT 1
- Does the Pysplit is compatible with python 3.8.12 on Win-11? HOT 5
- HYSPLIT help!! HOT 3
- All of the sudden problem with generate_bulk traj HOT 2
- Smallest map size possible? HOT 2
- Installation problem
- Cluster Analysis- Mean meteorology HOT 2
- Generate a realtime trajectory HOT 2
- daily runs
- Running PySPLIT without HYSPLIT HOT 5
- Running pysplit in parallel HOT 2
- bulk_trajgen_example.py with GDAS1
- Hysplit in mode 'Concentration'
- Output file: variables(u/v and PV) along the trajectories
- ERA5 reanalysis ARL files HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysplit.