I am loading an nc4 raster downloaded from a public dataset to QGIS and it first displays an error that the data does not have CRS. Then, it charges the map but the reference point 0 is shifted the map starts in Europe (I see most of the maps start in America on right side). Therefore, when I add an openstreet map layer, both maps don't match. I have tried changing the CRS but when I do that the map appears cropped.  I attach an image of the problem
I have a geotiff raster image that has a coordinate system with longitudes from 0 to 360. The horizontal center of the image is 180 longitude. See image below:    I want to transform it to EPSG:4326 SRS with -180 180 longtitude range.  And I want the center of the image to be at Greenwich meridian (0). I guess this srs is very widely used. I expect the result look like this:    So I use a gdalwarp command to reproject:  gdalwarp -s_srs '+proj=latlong +datum=WGS84 +pm=180dW' -t_srs EPSG:4326 test_col.tif test_4326.tif   But I only get a tiff with bigger dimensions (more pixels) and EPSG:4326 metadata. The image itself looks the same, as the initial one. But I expect it to swap the hemispheres.  How do I gdalwarp an image to be strictly -180 180 EPSG:4326 with the center in 0 longitude?  This is gdalinfo of my initial file:  Origin = (-0.102272598067084,89.946211604095552) Pixel Size = (0.204545196134167,-0.204423208191126) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=BAND Corner Coordinates: Upper Left  (  -0.1022726,  89.9462116) (  0d 6' 8.18"W, 89d56'46.36"N) Lower Left  (  -0.1022726, -89.9462116) (  0d 6' 8.18"W, 89d56'46.36"S) Upper Right (     359.897,      89.946) (359d53'50.18"E, 89d56'46.36"N) Lower Right (     359.897,     -89.946) (359d53'50.18"E, 89d56'46.36"S) Center      ( 179.8975000,  -0.0000000) (179d53'51.00"E,  0d 0' 0.00"S)   This is gdalinfo after gdalwarp     Origin = (-180.102727401932952,89.946211604095552) Pixel Size = (0.091397622896436,-0.091420837939082) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=PIXEL Corner Coordinates: Upper Left  (-180.1027274,  89.9462116) (180d 6' 9.82"W, 89d56'46.36"N) Lower Left  (-180.1027274, -89.9699975) (180d 6' 9.82"W, 89d58'11.99"S) Upper Right ( 179.8211116,  89.9462116) (179d49'16.00"E, 89d56'46.36"N) Lower Right ( 179.8211116, -89.9699975) (179d49'16.00"E, 89d58'11.99"S) Center      (  -0.1408079,  -0.0118929) (  0d 8'26.91"W,  0d 0'42.81"S)
Let $E$ be a Banach space, $\mathcal B(E)$ the Banach space of linear bounded operators and $\mathcal I$ the set of all invertible linear bounded operators from $E$ to $E$. We know that $\mathcal I$ is an open set, and if $E$ is finite dimensional then $\mathcal I$ is dense in $\mathcal B(E)$. It's not true that $\mathcal I$ is dense if we can find $T\in\mathcal B(E)$ injective, non surjective with $T(E)$ closed in $E$, since such an operator cannot be approximated in the norm on $\mathcal B(E)$ by elements of $\mathcal I$ (in particular $E$ has to be infinite dimensional).  So the question is (maybe a little vague): is there a nice characterization of $\overline{\mathcal I}^{\mathcal B(E)}$ when $E$ is infinite dimensional? Is the case of Hilbert space simpler? How should you deal with (deliberate) selective deafness? Sets with no asymptotical density over $\mathbb N$ Let's consider the  defined by:      Take $ A\subset \mathbb N$; define the sequence $x_n= \dfrac{|A\cap[1,n]|}{n}$, and then if $\lim\limits_{n\to\infty} x_n$ exists, call it $d(A)$, the density of $A$ over $\mathbb N$.   My teacher said that the collection of sets that have a natural density is not an algebra, but I don't know why. I can't even find a set that does not have a natural density.  Please help me )= What is the accepted/most commonly used way to manipulate dynamic (with all dimensions not known until runtime) multi-dimensional arrays in C and/or C++.  I'm trying to find the cleanest way to accomplish what this Java code does:  public static void main(String[] args){  Scanner sc=new Scanner(System.in);  int rows=sc.nextInt();  int cols=sc.nextInt();  int[][] data=new int[rows][cols];  manipulate(data); }  public static void manipulate(int[][] data){    for(int i=0;i&lt;data.length;i++)    for(int j=0;j&lt;data[0].length.j++){          System.out.print(data[i][j]);           }     }   (reads from std_in just to clarify that dimensions aren't known until runtime).  Edit:I noticed that this question is pretty popular even though it's pretty old.  I don't actually agree with the top voted answer.   I think the best choice for C is to use a single-dimensional array as Guge said below "You can alloc rowscolssizeof(int) and access it by table[row*cols+col].".  There is a number of choices with C++, if you really like boost or stl then the answers below might be preferable, but the simplest and probably fastest choice is to use a single dimensional array as in C.  Another viable choice in C and C++ if you want the [][] syntax is lillq's answer down at the bottom is manually building the array with lots of malloc's. so someone tells me i need to call a few people.  they send me a vCard called contacts.vcf.  i import it.  i open my phone app and start to dial, but wait...i don't know their names.  How do i look up a recent vCard on my phone?  How do i know who's contact i've been sent?  when i navigate to a .vcf file, i can't open it.  all i can do is import it.  polaris office won't import/open it.  is there an android txt editor i can use to peruse a vCard?  yours truly, Confused by vCards Note 3, kit kat When I search for my address on Google Maps it cannot be found which means I can't order takeaway etc.  Is there a way of adding my address to Google Maps or even add a street address?  I want the address to be publicly available so others can search it. Change citation conjunction from "and" to "i" How can I change the citation conjunction from english "and" to catalan "i"?  Otherwise  Author = {Kirk, D. and MacPhail, A.},   would get cited as (Kirk and MacPhail, 2002) when it should be (Kirk i MacPhail, 2002).  When there are more than 2 authors I get et al. which is fine.  I've seen  and  which do not work with apalike style.  Also, I'd rather not use biblatex if possible. Submitting ACM Conference papers to ArXiv I'm a little confused. The  states:     ACM authors hold the right to post copies of their own peer-reviewed accepted ACM works on any non-commercial repository or aggregation that does not duplicate ACM tables of contents, i.e., whose patterns of links do not substantially duplicate an ACM-copyrighted volume or issue. Non-commercial repositories are here understood as repositories owned by non-profit organizations that do not charge a fee for accessing deposited articles and that do not sell advertising or otherwise profit from serving articles.   However, the  site states:     Can I publish the published version of my publication on arXiv?       No. An ACM author cannot grant arXiv.org or any other publisher rights to distribute their works that have been published by ACM.   SHERPA/Romeo shows ACM as being a "Green Publisher", which would support the case that I can upload to ArXiv.   states that I can upload pre- or postprints under certain circumstances, but does not explicitly mention Arxiv, positively or negatively.  So, what is it? Can I submit a paper I published with an ACM Conference (ACM WiSec, if that makes a difference) to ArXiv or not? As I understand it, ArXiv is a non-profit, so it would fit the terms of the publishing policy. Or is this related to the rights you have to grant ArXiv upon submission?  If I can only publish a specific version of the paper, which one? How can I get file extensions with JavaScript? Keep old kernels The X button stopped working on one of my PS3 controllers. It's hardly through abuse, the controller isn't a year old and I don't play a lot.  The button doesn't stick, it presses like the others, only the system isn't aware that I'm using it. I tried resetting it with the tiny reset button in the back, to no avail.  What can I do? Using OPENQUERY to execute a script I have a SQL Server 2008 instance which I want to use to import data from an Oracle server.  I have set up a linked server that works correctly when running simple queries like SELECT * FROM table. However, if I declare a variable or loop through the rows in a table or anything else inside the OPENQUERY, I get errors.  Is it possible to do this using OPENQUERY? Do I need additional permissions? I had this problem a week or two ago and I posted here but nothing from the suggested solutions seemed to work. I have managed to get some more details on it, in case anyone can help me, because this issue is causing me huge productivity problems and I really want it solved.  So I'm using Linux mint distribution, and I've installed Lyx via the software manager. Every time that I open a new document, I get an error claiming that some files are missing, and until they are installed, compiling the files or exporting them as pdfs is not possible. The file in question is called "extarticle.cls". Additionally, under Document->Settings->Document Class, every document class is marked as unavailable.  Here is the thing though.. this file is not missing... I have located it inside a folder associated with Lyx. It's definitely not missing.  I really need help with this one guys... It's been weeks since the problem came up and I really just want to be rid of it.. Why does this thing not work? Any help? Proving that if $A$ is a $8\times 8$ matrix over $\mathbb{R}$ and $A^3=A$, then $A$ is diagonalizable. If $A$ is a $8\times 8$ matrix over $\mathbb{R}$ and $A^3=A$ then prove that $A$ is diagonalizable.   I have got that the minimal polynomial of $A$ may be $x^3-x$ or $x$ or $x(x+1)$ or $x(x-1)$ in the 2nd case it is not possible in the 3rd and 4th cases the matrix will be the identity matrix or identity matrix multiplied by a scalar!  But I cannot reach any further. Why is Python 2.7 still the default Python version in Ubuntu? According to official documentation of Python, Python2.7 support will end near in future.     DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at    Why is Ubuntu not using Python3 as default in their upcoming version?  $ cat /etc/os-release  NAME="Ubuntu" VERSION="19.04 (Disco Dingo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 19.04" VERSION_ID="19.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=disco UBUNTU_CODENAME=disco     $ python Python 2.7.16 (default, Apr  6 2019, 01:42:57)  [GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. Is it possible to tell when statistics were last accessed by a query using T-SQL? I'm trying to ascertain what statistics are involved in a query, I know I can check the visual query plan but I wondered whether there was a table (or tables) with this information. Can I change my itinerary and hotel reservation after getting a Schengen visa? Questions link almost unreadable when active on meta If you click on  the font color is almost unreadable on the main site here.  Is it possible to make it a slightly different color? (I cannot say if darker or lighter is better) What is the string concatenation operator in Oracle? What is the string concatenation operator in Oracle SQL?    Are there any "interesting" features I should be careful of?    (This seems obvious, but I couldn't find a previous question asking it). divisor of a product of integers is a product of divisors I read this recently on the web and can't manage to understand it. Not homework -- I haven't done math homework for years.  If $d\mid ab$ then $d=d_1 d_2$, that $d_1|a$, that $d_2|b$ and, further, if $(a,b)=1$ then $(d_1,d_2)=1$.  I know it's the same question... if $a = a_1 a_2 ... a_n$, why can't $d$ divide some $a_i$ and only $a_i$?