This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scipy.interpolate import griddata | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import xarray as xr | |
file = "your_ncfile.nc" | |
dset = xr.open_dataset(file) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Importing libraries | |
using NCDataFrame | |
using NCDatasets | |
# create an dnetcdf dataset | |
dset = NCDataset("test.nc","c") | |
# Writing attributes | |
dset.attrib["Author"] = "Julia NCdataset" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NCDataFrame | |
using NCDatasets | |
using PlotlyJS | |
using Pkg | |
using Statistics | |
using NaNStatistics | |
import NaNStatistics ; na=NaNStatistics | |
ds = NCDataset("ECMWF_ERA-40_subset.nc","r") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NCDataFrame | |
using NCDatasets | |
using Pkg | |
Pkg.add("IntervalSets") | |
using IntervalSets | |
using PlotlyJS | |
ds = NCDataset("ECMWF_ERA-40_subset.nc","r") | |
OlderNewer