Skip to content
Snippets Groups Projects
Commit 47341a5a authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c4c37347
Branches
No related tags found
No related merge requests found
...@@ -4,17 +4,18 @@ import glob ...@@ -4,17 +4,18 @@ import glob
import numpy as np import numpy as np
import xarray as xr import xarray as xr
from util.util import value_to_index from util.util import value_to_index
from metpy import *
# import cartopy # import cartopy
# from cartopy import * # from cartopy import *
from metpy import *
# import cartopy.crs as ccrs # import cartopy.crs as ccrs
import random
# gfs_directory = '/apollo/cloud/Ancil_Data/clavrx_ancil_data/dynamic/gfs/' # gfs_directory = '/apollo/cloud/Ancil_Data/clavrx_ancil_data/dynamic/gfs/'
gfs_directory = '/Users/tomrink/data/gfs/' gfs_directory = '/Users/tomrink/data/gfs/'
gfs_date_format = '%y%m%d' gfs_date_format = '%y%m%d'
# force incoming longitude to (0, 360) to match GFS
lon360 = True lon360 = True
# GFS half degree resolution
lat_coords = np.linspace(-90, 90, 361) lat_coords = np.linspace(-90, 90, 361)
lon_coords = np.linspace(0, 359.5, 720) lon_coords = np.linspace(0, 359.5, 720)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment