Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
cfontana00 committed Aug 2, 2024
1 parent 4943fa6 commit 6d0d99d
Show file tree
Hide file tree
Showing 23 changed files with 31,558 additions and 10,428 deletions.
11 changes: 8 additions & 3 deletions datasets/ARGO/compare_argo.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def argument():
lon_uni = np.unique(lon)
print(lon_uni.shape[0],'profiles found\n')

n = 0 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
N = 0

# Loop on profiles
# ----------------
Expand Down Expand Up @@ -162,6 +162,8 @@ def argument():
lon_mod,lat_mod,lev_mod,\
data_lon,data_lat,data_pres)

N += data_pres.shape[0]

except Exception as e:
print('Interpolation failed')
print(e)
Expand Down Expand Up @@ -222,6 +224,10 @@ def argument():
#if n > 2 :
# break

print('-------------')
print('Total of',str(N),'found')
print('-------------\n')

"""
# Plot trajectories
# -----------------
Expand Down Expand Up @@ -306,8 +312,7 @@ def argument():

dstep = np.arange(dmin,dmax,dstep)



print(dstep)


# Loop on variables
Expand Down
Loading

0 comments on commit 6d0d99d

Please sign in to comment.