Commit eeef4a56 authored by Luijkx, Ingrid's avatar Luijkx, Ingrid
Browse files

changes analysis new structure cteco2

parent 4acb2f61
......@@ -16,22 +16,22 @@ import sys
import os
sys.path.append('../../')
rootdir = os.getcwd().split('da/')[0]
analysisdir = os.path.join(rootdir, 'da/analysis')
analysisdir = os.path.join(rootdir, 'da/analysis/cteco2/')
from datetime import datetime, timedelta
import logging
import numpy as np
from da.tools.general import date2num, num2date
import da.tools.io4 as io
from da.analysis.tools_regions import globarea, state_to_grid
from da.analysis.cteco2.tools_regions import globarea, state_to_grid
from da.tools.general import create_dirs
from da.analysis.tools_country import countryinfo # needed here
from da.analysis.tools_transcom import transcommask, ExtendedTCRegions
from da.analysis.cteco2.tools_country import countryinfo # needed here
from da.analysis.cteco2.tools_transcom import transcommask, ExtendedTCRegions
import netCDF4 as cdf
import da.analysis.tools_transcom as tc
import da.analysis.tools_country as ct
import da.analysis.tools_time as timetools
import da.analysis.cteco2.tools_transcom as tc
import da.analysis.cteco2.tools_country as ct
import da.analysis.cteco2.tools_time as timetools
......
......@@ -38,7 +38,7 @@ import datetime as dt
import da.tools.io4 as io
import logging
import copy
from da.analysis.summarize_obs import nice_lon, nice_lat, nice_alt
from da.analysis.cteco2.summarize_obs import nice_lon, nice_lat, nice_alt
from PIL import Image
import urllib.request, urllib.error, urllib.parse
import io
......
......@@ -39,7 +39,7 @@ import pickle
import os
sys.path.append('../../')
rootdir = os.getcwd().split('da/')[0]
analysisdir = os.path.join(rootdir, 'da/analysis')
analysisdir = os.path.join(rootdir, 'da/analysis/cteco2/')
from numpy import sum, array
try:
......@@ -50,7 +50,7 @@ except:
print(" Trying to complete anyway...")
sys.path.append('../../')
from da.analysis.tools_regions import globarea
from da.analysis.cteco2.tools_regions import globarea
EU25 = ["Austria", "Belgium", "Cyprus", "Czech Republic", "Denmark", "Estonia", "Finland", "France", "Germany", "Greece", "Hungary", "Ireland", "Italy", "Latvia", "Lithuania", "Luxembourg", "Malta", "Netherlands", "Poland", "Portugal", "Slovakia", "Slovenia", "Spain", "Sweden", "United Kingdom"]
EU27 = ["Austria", "Belgium", "Bulgaria", "Cyprus", "Czech Republic", "Denmark", "Estonia", "Finland", "France", "Germany", "Greece", "Hungary", "Ireland", "Italy", "Latvia", "Lithuania", "Luxembourg", "Malta", "Netherlands", "Poland", "Portugal", "Romania", "Slovakia", "Slovenia", "Spain", "Sweden", "United Kingdom"]
......
......@@ -14,7 +14,7 @@ program. If not, see <http://www.gnu.org/licenses/>."""
import numpy as np
import pickle
from da.analysis.tools_transcom import *
from da.analysis.cteco2.tools_transcom import *
# Aggregated olson ecosystem regions for CT Europe
......
......@@ -16,7 +16,7 @@ import os
import sys
sys.path.append('../../')
rootdir = os.getcwd().split('da/')[0]
analysisdir = os.path.join(rootdir, 'da/analysis')
analysisdir = os.path.join(rootdir, 'da/analysis/cteco2/')
from numpy import array, identity, zeros, arange, dot
import da.tools.io4 as io
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment