Comments (4)
Thanks, as you said, it was a couple of file without trajectories.
If anyone has the same problem an a lot of files, the easiest way I found to know which file is making the problem, is adding print(filename)
to this file hyfile_handler.py
like this:
with open(filename, 'r') as hyfile:
contents = hyfile.readlines()
print(filename)
skip = False
atdata = False
So the las name of the list is the file without trajectories.
After you solve the problem, you can delete that line.
from pysplit.
When file loading fails here, that means you have a file that has a header and at most one line of data: The loader found "PRESSURE" at line ind
, and this if
statement is an attempt to determine whether your t=0 consists of the next one or next two lines in the file.
from pysplit.
Hello, I got the same problem as yours. In my case, I followed your method to determine which file is making problem, and I found that the files named the last hours in last day of every month I assigned are problem files (i.e. umnjan0500winter2011013123 & umnjul0500summer2012073123). What should I do next, to solve this problem?
from pysplit.
Hi @tingvan, you can just delete the files and create the INFILE again. There will be no problem, because you won't use them to create the clusters anyways.
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.