This file contains 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 __future__ import print_function, unicode_literals | |
import os | |
import json | |
import numpy as np | |
from netCDF4 import Dataset | |
import argparse | |
from argparse import RawDescriptionHelpFormatter |
This file contains 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
import os | |
import sys | |
import numpy as np | |
import PseudoNetCDF as pnc | |
if len(sys.argv) < 6: | |
print("""Usage: {} CONCPATH METCRO2D METCRO3D OUTPATH KEY [AverKern] | |
Description: |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This patch can be used to update the folder dowloaded from | |
https://sourceforge.net/projects/betrs/files/BETR-Research-1.0.tar.gz/download. | |
The original file is Python2 compliant. After the patch, the tutorial works on | |
Google Colab using Python3. | |
diff -ru BETR-Global/BETRS.py BETR-Global3/BETRS.py | |
--- BETR-Global/BETRS.py 2010-09-28 03:03:24.000000000 +0000 | |
+++ BETR-Global3/BETRS.py 2021-01-13 18:33:01.000000000 +0000 | |
@@ -23,8 +23,9 @@ | |
from numpy import * | |
import sys |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer