From d80e4f31f2b2bf4c0eb1a0ca2c2c3f54ce78183d Mon Sep 17 00:00:00 2001 From: "Wells, Brodie" Date: Tue, 11 Feb 2020 23:35:39 -0800 Subject: [PATCH 1/2] Some Updates I don't have the actual files, so I can't check the stacking stuff. But the concepts in here should help you learn a bit. Want to get together this wekkend and make this shit hum? --- WesCfsr.py | 60 +++++++++++++++++++++++++++++++++ data/wnd700.gdas.197906.grb2.nc | 10 ++++++ data/wnd700.gdas.197907.grb2.nc | 10 ++++++ data/wnd700.gdas.197908.grb2.nc | 10 ++++++ data/wnd700.gdas.197909.grb2.nc | 10 ++++++ data/wnd700.gdas.198006.grb2.nc | 10 ++++++ data/wnd700.gdas.198007.grb2.nc | 10 ++++++ data/wnd700.gdas.198008.grb2.nc | 10 ++++++ data/wnd700.gdas.198009.grb2.nc | 10 ++++++ data/wnd700.gdas.198106.grb2.nc | 10 ++++++ data/wnd700.gdas.198107.grb2.nc | 10 ++++++ data/wnd700.gdas.198108.grb2.nc | 10 ++++++ data/wnd700.gdas.198109.grb2.nc | 10 ++++++ data/wnd700.gdas.198206.grb2.nc | 10 ++++++ data/wnd700.gdas.198207.grb2.nc | 10 ++++++ data/wnd700.gdas.198208.grb2.nc | 10 ++++++ data/wnd700.gdas.198209.grb2.nc | 10 ++++++ data/wnd700.gdas.198306.grb2.nc | 10 ++++++ data/wnd700.gdas.198307.grb2.nc | 10 ++++++ data/wnd700.gdas.198308.grb2.nc | 10 ++++++ data/wnd700.gdas.198309.grb2.nc | 10 ++++++ data/wnd700.gdas.198406.grb2.nc | 10 ++++++ data/wnd700.gdas.198407.grb2.nc | 10 ++++++ data/wnd700.gdas.198408.grb2.nc | 10 ++++++ data/wnd700.gdas.198409.grb2.nc | 10 ++++++ data/wnd700.gdas.198506.grb2.nc | 10 ++++++ data/wnd700.gdas.198507.grb2.nc | 10 ++++++ data/wnd700.gdas.198508.grb2.nc | 10 ++++++ data/wnd700.gdas.198509.grb2.nc | 10 ++++++ data/wnd700.gdas.198606.grb2.nc | 10 ++++++ data/wnd700.gdas.198607.grb2.nc | 10 ++++++ data/wnd700.gdas.198608.grb2.nc | 10 ++++++ data/wnd700.gdas.198609.grb2.nc | 10 ++++++ data/wnd700.gdas.198706.grb2.nc | 10 ++++++ data/wnd700.gdas.198707.grb2.nc | 10 ++++++ data/wnd700.gdas.198708.grb2.nc | 10 ++++++ data/wnd700.gdas.198709.grb2.nc | 10 ++++++ data/wnd700.gdas.198806.grb2.nc | 10 ++++++ data/wnd700.gdas.198807.grb2.nc | 10 ++++++ data/wnd700.gdas.198808.grb2.nc | 10 ++++++ data/wnd700.gdas.198809.grb2.nc | 10 ++++++ data/wnd700.gdas.198906.grb2.nc | 10 ++++++ data/wnd700.gdas.198907.grb2.nc | 10 ++++++ data/wnd700.gdas.198908.grb2.nc | 10 ++++++ data/wnd700.gdas.198909.grb2.nc | 10 ++++++ data/wnd700.gdas.199006.grb2.nc | 10 ++++++ data/wnd700.gdas.199007.grb2.nc | 10 ++++++ data/wnd700.gdas.199008.grb2.nc | 10 ++++++ data/wnd700.gdas.199009.grb2.nc | 10 ++++++ data/wnd700.gdas.199106.grb2.nc | 10 ++++++ data/wnd700.gdas.199107.grb2.nc | 10 ++++++ data/wnd700.gdas.199108.grb2.nc | 10 ++++++ data/wnd700.gdas.199109.grb2.nc | 10 ++++++ data/wnd700.gdas.199206.grb2.nc | 10 ++++++ data/wnd700.gdas.199207.grb2.nc | 10 ++++++ data/wnd700.gdas.199208.grb2.nc | 10 ++++++ data/wnd700.gdas.199209.grb2.nc | 10 ++++++ data/wnd700.gdas.199306.grb2.nc | 10 ++++++ data/wnd700.gdas.199307.grb2.nc | 10 ++++++ data/wnd700.gdas.199308.grb2.nc | 10 ++++++ data/wnd700.gdas.199309.grb2.nc | 10 ++++++ data/wnd700.gdas.199406.grb2.nc | 10 ++++++ data/wnd700.gdas.199407.grb2.nc | 10 ++++++ data/wnd700.gdas.199408.grb2.nc | 10 ++++++ data/wnd700.gdas.199409.grb2.nc | 10 ++++++ data/wnd700.gdas.199506.grb2.nc | 10 ++++++ data/wnd700.gdas.199507.grb2.nc | 10 ++++++ data/wnd700.gdas.199508.grb2.nc | 10 ++++++ data/wnd700.gdas.199509.grb2.nc | 10 ++++++ data/wnd700.gdas.199606.grb2.nc | 10 ++++++ data/wnd700.gdas.199607.grb2.nc | 10 ++++++ data/wnd700.gdas.199608.grb2.nc | 10 ++++++ data/wnd700.gdas.199609.grb2.nc | 10 ++++++ data/wnd700.gdas.199706.grb2.nc | 10 ++++++ data/wnd700.gdas.199707.grb2.nc | 10 ++++++ data/wnd700.gdas.199708.grb2.nc | 10 ++++++ data/wnd700.gdas.199709.grb2.nc | 10 ++++++ data/wnd700.gdas.199806.grb2.nc | 10 ++++++ data/wnd700.gdas.199807.grb2.nc | 10 ++++++ data/wnd700.gdas.199808.grb2.nc | 10 ++++++ data/wnd700.gdas.199809.grb2.nc | 10 ++++++ data/wnd700.gdas.199906.grb2.nc | 10 ++++++ data/wnd700.gdas.199907.grb2.nc | 10 ++++++ data/wnd700.gdas.199908.grb2.nc | 10 ++++++ data/wnd700.gdas.199909.grb2.nc | 10 ++++++ data/wnd700.gdas.200006.grb2.nc | 10 ++++++ data/wnd700.gdas.200007.grb2.nc | 10 ++++++ data/wnd700.gdas.200008.grb2.nc | 10 ++++++ data/wnd700.gdas.200009.grb2.nc | 10 ++++++ data/wnd700.gdas.200106.grb2.nc | 10 ++++++ data/wnd700.gdas.200107.grb2.nc | 10 ++++++ data/wnd700.gdas.200108.grb2.nc | 10 ++++++ data/wnd700.gdas.200109.grb2.nc | 10 ++++++ data/wnd700.gdas.200206.grb2.nc | 10 ++++++ data/wnd700.gdas.200207.grb2.nc | 10 ++++++ data/wnd700.gdas.200208.grb2.nc | 10 ++++++ data/wnd700.gdas.200209.grb2.nc | 10 ++++++ data/wnd700.gdas.200306.grb2.nc | 10 ++++++ data/wnd700.gdas.200307.grb2.nc | 10 ++++++ data/wnd700.gdas.200308.grb2.nc | 10 ++++++ data/wnd700.gdas.200309.grb2.nc | 10 ++++++ data/wnd700.gdas.200406.grb2.nc | 10 ++++++ data/wnd700.gdas.200407.grb2.nc | 10 ++++++ data/wnd700.gdas.200408.grb2.nc | 10 ++++++ data/wnd700.gdas.200409.grb2.nc | 10 ++++++ data/wnd700.gdas.200506.grb2.nc | 10 ++++++ data/wnd700.gdas.200507.grb2.nc | 10 ++++++ data/wnd700.gdas.200508.grb2.nc | 10 ++++++ data/wnd700.gdas.200509.grb2.nc | 10 ++++++ 109 files changed, 1140 insertions(+) create mode 100644 WesCfsr.py create mode 100644 data/wnd700.gdas.197906.grb2.nc create mode 100644 data/wnd700.gdas.197907.grb2.nc create mode 100644 data/wnd700.gdas.197908.grb2.nc create mode 100644 data/wnd700.gdas.197909.grb2.nc create mode 100644 data/wnd700.gdas.198006.grb2.nc create mode 100644 data/wnd700.gdas.198007.grb2.nc create mode 100644 data/wnd700.gdas.198008.grb2.nc create mode 100644 data/wnd700.gdas.198009.grb2.nc create mode 100644 data/wnd700.gdas.198106.grb2.nc create mode 100644 data/wnd700.gdas.198107.grb2.nc create mode 100644 data/wnd700.gdas.198108.grb2.nc create mode 100644 data/wnd700.gdas.198109.grb2.nc create mode 100644 data/wnd700.gdas.198206.grb2.nc create mode 100644 data/wnd700.gdas.198207.grb2.nc create mode 100644 data/wnd700.gdas.198208.grb2.nc create mode 100644 data/wnd700.gdas.198209.grb2.nc create mode 100644 data/wnd700.gdas.198306.grb2.nc create mode 100644 data/wnd700.gdas.198307.grb2.nc create mode 100644 data/wnd700.gdas.198308.grb2.nc create mode 100644 data/wnd700.gdas.198309.grb2.nc create mode 100644 data/wnd700.gdas.198406.grb2.nc create mode 100644 data/wnd700.gdas.198407.grb2.nc create mode 100644 data/wnd700.gdas.198408.grb2.nc create mode 100644 data/wnd700.gdas.198409.grb2.nc create mode 100644 data/wnd700.gdas.198506.grb2.nc create mode 100644 data/wnd700.gdas.198507.grb2.nc create mode 100644 data/wnd700.gdas.198508.grb2.nc create mode 100644 data/wnd700.gdas.198509.grb2.nc create mode 100644 data/wnd700.gdas.198606.grb2.nc create mode 100644 data/wnd700.gdas.198607.grb2.nc create mode 100644 data/wnd700.gdas.198608.grb2.nc create mode 100644 data/wnd700.gdas.198609.grb2.nc create mode 100644 data/wnd700.gdas.198706.grb2.nc create mode 100644 data/wnd700.gdas.198707.grb2.nc create mode 100644 data/wnd700.gdas.198708.grb2.nc create mode 100644 data/wnd700.gdas.198709.grb2.nc create mode 100644 data/wnd700.gdas.198806.grb2.nc create mode 100644 data/wnd700.gdas.198807.grb2.nc create mode 100644 data/wnd700.gdas.198808.grb2.nc create mode 100644 data/wnd700.gdas.198809.grb2.nc create mode 100644 data/wnd700.gdas.198906.grb2.nc create mode 100644 data/wnd700.gdas.198907.grb2.nc create mode 100644 data/wnd700.gdas.198908.grb2.nc create mode 100644 data/wnd700.gdas.198909.grb2.nc create mode 100644 data/wnd700.gdas.199006.grb2.nc create mode 100644 data/wnd700.gdas.199007.grb2.nc create mode 100644 data/wnd700.gdas.199008.grb2.nc create mode 100644 data/wnd700.gdas.199009.grb2.nc create mode 100644 data/wnd700.gdas.199106.grb2.nc create mode 100644 data/wnd700.gdas.199107.grb2.nc create mode 100644 data/wnd700.gdas.199108.grb2.nc create mode 100644 data/wnd700.gdas.199109.grb2.nc create mode 100644 data/wnd700.gdas.199206.grb2.nc create mode 100644 data/wnd700.gdas.199207.grb2.nc create mode 100644 data/wnd700.gdas.199208.grb2.nc create mode 100644 data/wnd700.gdas.199209.grb2.nc create mode 100644 data/wnd700.gdas.199306.grb2.nc create mode 100644 data/wnd700.gdas.199307.grb2.nc create mode 100644 data/wnd700.gdas.199308.grb2.nc create mode 100644 data/wnd700.gdas.199309.grb2.nc create mode 100644 data/wnd700.gdas.199406.grb2.nc create mode 100644 data/wnd700.gdas.199407.grb2.nc create mode 100644 data/wnd700.gdas.199408.grb2.nc create mode 100644 data/wnd700.gdas.199409.grb2.nc create mode 100644 data/wnd700.gdas.199506.grb2.nc create mode 100644 data/wnd700.gdas.199507.grb2.nc create mode 100644 data/wnd700.gdas.199508.grb2.nc create mode 100644 data/wnd700.gdas.199509.grb2.nc create mode 100644 data/wnd700.gdas.199606.grb2.nc create mode 100644 data/wnd700.gdas.199607.grb2.nc create mode 100644 data/wnd700.gdas.199608.grb2.nc create mode 100644 data/wnd700.gdas.199609.grb2.nc create mode 100644 data/wnd700.gdas.199706.grb2.nc create mode 100644 data/wnd700.gdas.199707.grb2.nc create mode 100644 data/wnd700.gdas.199708.grb2.nc create mode 100644 data/wnd700.gdas.199709.grb2.nc create mode 100644 data/wnd700.gdas.199806.grb2.nc create mode 100644 data/wnd700.gdas.199807.grb2.nc create mode 100644 data/wnd700.gdas.199808.grb2.nc create mode 100644 data/wnd700.gdas.199809.grb2.nc create mode 100644 data/wnd700.gdas.199906.grb2.nc create mode 100644 data/wnd700.gdas.199907.grb2.nc create mode 100644 data/wnd700.gdas.199908.grb2.nc create mode 100644 data/wnd700.gdas.199909.grb2.nc create mode 100644 data/wnd700.gdas.200006.grb2.nc create mode 100644 data/wnd700.gdas.200007.grb2.nc create mode 100644 data/wnd700.gdas.200008.grb2.nc create mode 100644 data/wnd700.gdas.200009.grb2.nc create mode 100644 data/wnd700.gdas.200106.grb2.nc create mode 100644 data/wnd700.gdas.200107.grb2.nc create mode 100644 data/wnd700.gdas.200108.grb2.nc create mode 100644 data/wnd700.gdas.200109.grb2.nc create mode 100644 data/wnd700.gdas.200206.grb2.nc create mode 100644 data/wnd700.gdas.200207.grb2.nc create mode 100644 data/wnd700.gdas.200208.grb2.nc create mode 100644 data/wnd700.gdas.200209.grb2.nc create mode 100644 data/wnd700.gdas.200306.grb2.nc create mode 100644 data/wnd700.gdas.200307.grb2.nc create mode 100644 data/wnd700.gdas.200308.grb2.nc create mode 100644 data/wnd700.gdas.200309.grb2.nc create mode 100644 data/wnd700.gdas.200406.grb2.nc create mode 100644 data/wnd700.gdas.200407.grb2.nc create mode 100644 data/wnd700.gdas.200408.grb2.nc create mode 100644 data/wnd700.gdas.200409.grb2.nc create mode 100644 data/wnd700.gdas.200506.grb2.nc create mode 100644 data/wnd700.gdas.200507.grb2.nc create mode 100644 data/wnd700.gdas.200508.grb2.nc create mode 100644 data/wnd700.gdas.200509.grb2.nc diff --git a/WesCfsr.py b/WesCfsr.py new file mode 100644 index 0000000..71fe48e --- /dev/null +++ b/WesCfsr.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +""" +Created on Tue Feb 11 16:39:25 2020 +@author: Wesley Davis +""" +from netCDF4 import Dataset as dt +from mpl_toolkits.basemap import Basemap +import numpy as np +import matplotlib.pyplot as plt +from glob import glob + +# This is a dictionary. It's one of the data types in python. +# I am going to set a few definitions so it will be able +# to loop through everything all at once. + +# Each month will be associated with a list of it's month +# number and how many days it has +month_dict = {'Jan': ['01', 31], + 'Feb': ['02', 28], + 'Mar': ['03', 31], + 'Apr': ['04', 30], + 'May': ['05', 31], + 'Jun': ['06', 30], + 'Jul': ['07', 31], + 'Aug': ['08', 31], + 'Sep': ['09', 30], + 'Oct': ['10', 31], + 'Nov': ['11', 30], + 'Dec': ['12', 31]} +file_list = glob('./data/*.nc') + +June = glob('*06.grb2.nc') +July = glob('*07.grb2.nc') +Aug = glob('*08.grb2.nc') +Sep = glob('*09.grb2.nc') +JUNE_ALL = np.zeros([120,17,11,27]) +JULY_ALL = np.zeros([124,17,11,27]) +AUG_ALL = np.zeros([124,17,11,27]) +SEP_ALL = np.zeros([120,17,11,27]) +#%% +for i in range(len(June)): + dummy = June[i] + dummy = dt(dummy,'r') + dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) + JUNE_ALL[:,:,:,i] = dummy +for i in range(len(July)): + dummy = July[i] + dummy = dt(dummy,'r') + dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) + JULY_ALL[:,:,:,i] = dummy +for i in range(len(Aug)): + dummy = Aug[i] + dummy = dt(dummy,'r') + dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) + AUG_ALL[:,:,:,i] = dummy +for i in range(len(Sep)): + dummy = Sep[i] + dummy = dt(dummy,'r') + dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) + SEP_ALL[:,:,:,i] = dummy diff --git a/data/wnd700.gdas.197906.grb2.nc b/data/wnd700.gdas.197906.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.197906.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.197907.grb2.nc b/data/wnd700.gdas.197907.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.197907.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.197908.grb2.nc b/data/wnd700.gdas.197908.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.197908.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.197909.grb2.nc b/data/wnd700.gdas.197909.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.197909.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198006.grb2.nc b/data/wnd700.gdas.198006.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198006.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198007.grb2.nc b/data/wnd700.gdas.198007.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198007.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198008.grb2.nc b/data/wnd700.gdas.198008.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198008.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198009.grb2.nc b/data/wnd700.gdas.198009.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198009.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198106.grb2.nc b/data/wnd700.gdas.198106.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198106.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198107.grb2.nc b/data/wnd700.gdas.198107.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198107.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198108.grb2.nc b/data/wnd700.gdas.198108.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198108.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198109.grb2.nc b/data/wnd700.gdas.198109.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198109.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198206.grb2.nc b/data/wnd700.gdas.198206.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198206.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198207.grb2.nc b/data/wnd700.gdas.198207.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198207.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198208.grb2.nc b/data/wnd700.gdas.198208.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198208.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198209.grb2.nc b/data/wnd700.gdas.198209.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198209.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198306.grb2.nc b/data/wnd700.gdas.198306.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198306.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198307.grb2.nc b/data/wnd700.gdas.198307.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198307.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198308.grb2.nc b/data/wnd700.gdas.198308.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198308.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198309.grb2.nc b/data/wnd700.gdas.198309.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198309.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198406.grb2.nc b/data/wnd700.gdas.198406.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198406.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198407.grb2.nc b/data/wnd700.gdas.198407.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198407.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198408.grb2.nc b/data/wnd700.gdas.198408.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198408.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198409.grb2.nc b/data/wnd700.gdas.198409.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198409.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198506.grb2.nc b/data/wnd700.gdas.198506.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198506.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198507.grb2.nc b/data/wnd700.gdas.198507.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198507.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198508.grb2.nc b/data/wnd700.gdas.198508.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198508.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198509.grb2.nc b/data/wnd700.gdas.198509.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198509.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198606.grb2.nc b/data/wnd700.gdas.198606.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198606.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198607.grb2.nc b/data/wnd700.gdas.198607.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198607.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198608.grb2.nc b/data/wnd700.gdas.198608.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198608.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198609.grb2.nc b/data/wnd700.gdas.198609.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198609.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198706.grb2.nc b/data/wnd700.gdas.198706.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198706.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198707.grb2.nc b/data/wnd700.gdas.198707.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198707.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198708.grb2.nc b/data/wnd700.gdas.198708.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198708.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198709.grb2.nc b/data/wnd700.gdas.198709.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198709.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198806.grb2.nc b/data/wnd700.gdas.198806.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198806.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198807.grb2.nc b/data/wnd700.gdas.198807.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198807.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198808.grb2.nc b/data/wnd700.gdas.198808.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198808.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198809.grb2.nc b/data/wnd700.gdas.198809.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198809.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198906.grb2.nc b/data/wnd700.gdas.198906.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198906.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198907.grb2.nc b/data/wnd700.gdas.198907.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198907.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198908.grb2.nc b/data/wnd700.gdas.198908.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198908.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.198909.grb2.nc b/data/wnd700.gdas.198909.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.198909.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199006.grb2.nc b/data/wnd700.gdas.199006.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199006.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199007.grb2.nc b/data/wnd700.gdas.199007.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199007.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199008.grb2.nc b/data/wnd700.gdas.199008.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199008.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199009.grb2.nc b/data/wnd700.gdas.199009.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199009.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199106.grb2.nc b/data/wnd700.gdas.199106.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199106.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199107.grb2.nc b/data/wnd700.gdas.199107.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199107.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199108.grb2.nc b/data/wnd700.gdas.199108.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199108.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199109.grb2.nc b/data/wnd700.gdas.199109.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199109.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199206.grb2.nc b/data/wnd700.gdas.199206.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199206.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199207.grb2.nc b/data/wnd700.gdas.199207.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199207.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199208.grb2.nc b/data/wnd700.gdas.199208.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199208.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199209.grb2.nc b/data/wnd700.gdas.199209.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199209.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199306.grb2.nc b/data/wnd700.gdas.199306.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199306.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199307.grb2.nc b/data/wnd700.gdas.199307.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199307.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199308.grb2.nc b/data/wnd700.gdas.199308.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199308.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199309.grb2.nc b/data/wnd700.gdas.199309.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199309.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199406.grb2.nc b/data/wnd700.gdas.199406.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199406.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199407.grb2.nc b/data/wnd700.gdas.199407.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199407.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199408.grb2.nc b/data/wnd700.gdas.199408.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199408.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199409.grb2.nc b/data/wnd700.gdas.199409.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199409.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199506.grb2.nc b/data/wnd700.gdas.199506.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199506.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199507.grb2.nc b/data/wnd700.gdas.199507.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199507.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199508.grb2.nc b/data/wnd700.gdas.199508.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199508.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199509.grb2.nc b/data/wnd700.gdas.199509.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199509.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199606.grb2.nc b/data/wnd700.gdas.199606.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199606.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199607.grb2.nc b/data/wnd700.gdas.199607.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199607.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199608.grb2.nc b/data/wnd700.gdas.199608.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199608.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199609.grb2.nc b/data/wnd700.gdas.199609.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199609.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199706.grb2.nc b/data/wnd700.gdas.199706.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199706.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199707.grb2.nc b/data/wnd700.gdas.199707.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199707.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199708.grb2.nc b/data/wnd700.gdas.199708.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199708.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199709.grb2.nc b/data/wnd700.gdas.199709.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199709.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199806.grb2.nc b/data/wnd700.gdas.199806.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199806.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199807.grb2.nc b/data/wnd700.gdas.199807.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199807.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199808.grb2.nc b/data/wnd700.gdas.199808.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199808.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199809.grb2.nc b/data/wnd700.gdas.199809.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199809.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199906.grb2.nc b/data/wnd700.gdas.199906.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199906.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199907.grb2.nc b/data/wnd700.gdas.199907.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199907.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199908.grb2.nc b/data/wnd700.gdas.199908.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199908.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.199909.grb2.nc b/data/wnd700.gdas.199909.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.199909.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200006.grb2.nc b/data/wnd700.gdas.200006.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200006.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200007.grb2.nc b/data/wnd700.gdas.200007.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200007.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200008.grb2.nc b/data/wnd700.gdas.200008.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200008.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200009.grb2.nc b/data/wnd700.gdas.200009.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200009.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200106.grb2.nc b/data/wnd700.gdas.200106.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200106.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200107.grb2.nc b/data/wnd700.gdas.200107.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200107.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200108.grb2.nc b/data/wnd700.gdas.200108.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200108.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200109.grb2.nc b/data/wnd700.gdas.200109.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200109.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200206.grb2.nc b/data/wnd700.gdas.200206.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200206.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200207.grb2.nc b/data/wnd700.gdas.200207.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200207.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200208.grb2.nc b/data/wnd700.gdas.200208.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200208.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200209.grb2.nc b/data/wnd700.gdas.200209.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200209.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200306.grb2.nc b/data/wnd700.gdas.200306.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200306.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200307.grb2.nc b/data/wnd700.gdas.200307.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200307.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200308.grb2.nc b/data/wnd700.gdas.200308.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200308.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200309.grb2.nc b/data/wnd700.gdas.200309.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200309.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200406.grb2.nc b/data/wnd700.gdas.200406.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200406.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200407.grb2.nc b/data/wnd700.gdas.200407.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200407.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200408.grb2.nc b/data/wnd700.gdas.200408.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200408.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200409.grb2.nc b/data/wnd700.gdas.200409.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200409.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200506.grb2.nc b/data/wnd700.gdas.200506.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200506.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200507.grb2.nc b/data/wnd700.gdas.200507.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200507.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200508.grb2.nc b/data/wnd700.gdas.200508.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200508.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 diff --git a/data/wnd700.gdas.200509.grb2.nc b/data/wnd700.gdas.200509.grb2.nc new file mode 100644 index 0000000..fcbf0f0 --- /dev/null +++ b/data/wnd700.gdas.200509.grb2.nc @@ -0,0 +1,10 @@ +This is line 1 +This is line 2 +This is line 3 +This is line 4 +This is line 5 +This is line 6 +This is line 7 +This is line 8 +This is line 9 +This is line 10 From ac6287b0be52b3a8a9f30e91936f4faf476f797f Mon Sep 17 00:00:00 2001 From: tattonchantry <45983033+tattonchantry@users.noreply.github.com> Date: Wed, 12 Feb 2020 05:34:59 -0800 Subject: [PATCH 2/2] Update WesCfsr.py --- WesCfsr.py | 148 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 95 insertions(+), 53 deletions(-) diff --git a/WesCfsr.py b/WesCfsr.py index 71fe48e..7c74a53 100644 --- a/WesCfsr.py +++ b/WesCfsr.py @@ -4,57 +4,99 @@ @author: Wesley Davis """ from netCDF4 import Dataset as dt -from mpl_toolkits.basemap import Basemap import numpy as np -import matplotlib.pyplot as plt -from glob import glob - -# This is a dictionary. It's one of the data types in python. -# I am going to set a few definitions so it will be able -# to loop through everything all at once. - -# Each month will be associated with a list of it's month -# number and how many days it has -month_dict = {'Jan': ['01', 31], - 'Feb': ['02', 28], - 'Mar': ['03', 31], - 'Apr': ['04', 30], - 'May': ['05', 31], - 'Jun': ['06', 30], - 'Jul': ['07', 31], - 'Aug': ['08', 31], - 'Sep': ['09', 30], - 'Oct': ['10', 31], - 'Nov': ['11', 30], - 'Dec': ['12', 31]} -file_list = glob('./data/*.nc') - -June = glob('*06.grb2.nc') -July = glob('*07.grb2.nc') -Aug = glob('*08.grb2.nc') -Sep = glob('*09.grb2.nc') -JUNE_ALL = np.zeros([120,17,11,27]) -JULY_ALL = np.zeros([124,17,11,27]) -AUG_ALL = np.zeros([124,17,11,27]) -SEP_ALL = np.zeros([120,17,11,27]) -#%% -for i in range(len(June)): - dummy = June[i] - dummy = dt(dummy,'r') - dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) - JUNE_ALL[:,:,:,i] = dummy -for i in range(len(July)): - dummy = July[i] - dummy = dt(dummy,'r') - dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) - JULY_ALL[:,:,:,i] = dummy -for i in range(len(Aug)): - dummy = Aug[i] - dummy = dt(dummy,'r') - dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) - AUG_ALL[:,:,:,i] = dummy -for i in range(len(Sep)): - dummy = Sep[i] - dummy = dt(dummy,'r') - dummy=np.array(dummy.variables['V_GRD_L100'][:,150:167,670:681]) - SEP_ALL[:,:,:,i] = dummy + +# There are better ways, but let's make a list of possible months for now +mon_list = ['June', 'July', 'Aug', 'Sep'] +# Actually, all you use it for is the filename, so let's make a +# list of months numbered for file names +mon_list = ['06', '07', '08', '09'] +# June = glob('*06.grb2.nc') +# July = glob('*07.grb2.nc') +# Aug = glob('*08.grb2.nc') +# Sep = glob('*09.grb2.nc') + + +def GetMonthArray(file_name, min_lat, max_lat, + min_lon, max_lon, var='V_GRD_L100'): + """ + This function takes the month and the data and stacks up + all the arrays + + SIDENOTE: anyone hiring will really like a docstring like + this for any functions on your github. + SIDENOTE2: Notice there are no numbers hard coded into this + function. That way you can call it from anywhere + with any changes you want to make, like increasing + the latitude + SIDENOTE3: This is a good way to open a dataset like this + because after this function runs, the dataset + is not left in memory + + Parameters + ---------- + file_name : str + A three letter string for the month + lat and long variables: integer + These are the min and max latitude and longitude of + interest in grid format + var : str + The NETCDF 4 variable name that you want to extract + * Optional, it will use 'V_GRD_L100' if nothing is given + + Returns + ------- + arr : numpy array + 3 dimensional numpy array of form: + [4 * days in month, max_lat - min_lat, max_lon - min_lon] + example for June is [120, 17, 11] + """ + full_data = dt(file_name, 'r') + chopped_data = np.array(full_data.variables[var][:, + min_lat:max_lat, + min_lon:max_lon]) + return chopped_data + +# Anyone hiring by looking through your github, won't like +# any hard coded numbers. I can show you how to make it figure +# all of these by itself + +# set first year of data +bgn_yr = 1979 + +# Set how many years +yrs = 27 + +# Set min, max lats and longs (are these still correct? MATLAB +# starts at 1 and python starts at 0) +min_lat = 150 +max_lat = 167 +min_lon = 670 +max_lon = 681 + +# This is to initialize the variables +# I know Scott does it all the time, but +# it's really unnesessary +JUNE_ALL = np.zeros([120, max_lat - min_lat, max_lon - min_lon]) +JULY_ALL = np.zeros([124, max_lat - min_lat, max_lon - min_lon]) +AUG_ALL = np.zeros([124, max_lat - min_lat, max_lon - min_lon]) +SEP_ALL = np.zeros([120, max_lat - min_lat, max_lon - min_lon]) +# I wouldn't initialize them, because if you make functions +# that you will want to use with different datasets they might +# be different sizes. I will show you pandas soon, which will +# make all this easier, but for now let's leave it, but without +# the number of years. + +for i in range(bgn_yr, bgn_yr + yrs): # This will cycle through the years + for j in mon_list: # This will cycle through the months + file_name = "wnd700.gdas.{}{}.grb2.nc".format(i, j) + arr = GetMonthArray(file_name, min_lat, max_lat, + min_lon, max_lon) + if j == '06': + JUNE_ALL = np.stack((JUNE_ALL, arr), axis=4) + if j == '07': + JULY_ALL = np.stack((JULY_ALL, arr), axis=4) + if j == '08': + AUG_ALL = np.stack((AUG_ALL, arr), axis=4) + if j == '09': + SEP_ALL = np.stack((SEP_ALL, arr), axis=4)