Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cornish_pasdy
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CRNS
cornish_pasdy
Commits
5a3a545a
Commit
5a3a545a
authored
1 year ago
by
Martin Schrön
Browse files
Options
Downloads
Patches
Plain Diff
Hotfix DWD data retrieval for modern pandas
parent
2a9f2179
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corny/exdata/roverweb/weather.py
+5
-2
5 additions, 2 deletions
corny/exdata/roverweb/weather.py
with
5 additions
and
2 deletions
corny/exdata/roverweb/weather.py
+
5
−
2
View file @
5a3a545a
...
...
@@ -43,7 +43,8 @@ import io
import
sys
from
pdb
import
set_trace
as
debug
from
corny.basics
import
col_is_unique
,
progressbar
,
cprintf
import
warnings
warnings
.
simplefilter
(
action
=
'
ignore
'
,
category
=
pd
.
errors
.
PerformanceWarning
)
#######
def
findkeys
(
node
,
kv
):
...
...
@@ -239,7 +240,9 @@ def update_stationlist(time_res='hourly',dbase_dir='dbase',data_category='air_tr
#add true information to category
dfstations
[
category
]
=
True
stations_network
=
stations_network
.
append
(
dfstations
,
sort
=
False
,
ignore_index
=
True
)
stations_network
=
pd
.
concat
(
[
stations_network
,
dfstations
],
sort
=
False
,
ignore_index
=
True
)
#A=[sub.split(" ") for sub in stationlist]
#replace all Na by False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment